# Leghis-smart-thinking [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Leghis/Smart-Thinking  
**GitHub Stars:** 33  
**npm Downloads (last month):** 380  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/leghis-smart-thinking

## Description
Find relevant Smart‑Thinking memories fast. Fetch full entries by ID to get complete context. Spee…

## Tools
Capabilities this server exposes over MCP:

- **capabilities** — Describe configured capabilities and explicit limits, including dossier capacity, scientific worker bounds, build metadata, the software supervisor (rubrics, review policy, approved recipes and execution) and the published catalogue fingerprint.
- **run_create** — Create an owned dossier when you need tracked claims, evidence with sources, coverage or audit. For a single exact check prefer calculate/solve_math/solve_logic instead. Restricted runs stay within server storage. profile picks an operator-approved budget envelope (standard by default; larger envelopes are bounded by the operator policy). For anonymous access the reply embeds a one-time dossier capability in the returned identifier: keep it exactly as returned — it authorizes every later operation on this dossier and is never re-issued.
- **run_get** — Read a compact owned dossier. Explicit detail=full returns the complete document with its published bounds (mutation receipts omitted; use run_export when a bound is reached), never keys or server policies. presentation=detailed returns unprojected output; the opaque `cursor` continues claim pagination.
- **run_list** — List owned run summaries with pagination.
- **calculate** — Exact arithmetic without floating-point truth claims. Grammar: rationals, factorial(n), binomial(n,k), gcd, lcm, mod(a,m), powmod(a,e,m), n!, `a mod b`, and ONE top-level comparison (=, !=, <, <=, >, >=). Pure operation: no dossier, no audit record. Supply expected to compare and get matchesExpected.
- **calculate_batch** — Evaluate independent exact expressions in one call (same kernel and domains as calculate). Partial mode keeps valid items when others fail; atomic mode refuses the whole batch. References between items are not accepted in this version.
- **check** — One-shot structured check without a dossier. Accepts a deterministic ClaimSpec (arithmetic, linear, ordering, boolean) and returns the shared verifier status. Kinds needing artifacts or the symbolic worker are refused with a hint. Exact inputs never call Jev.
- **finite_compute** — Bounded declarative computation: range_reduce (sum/product/count over an inclusive integer range; optional modulus), linear_recurrence (a_n = c0*a_(n-1) + c1*a_(n-2) + ..., coefficients listed most recent first; optional modulus), bounded_search (exhaustive enumeration of a bounded integer space against one comparison predicate). Declarative only: no clock, network, files or dynamic code; a reached limit returns a partial result, never a fake maximum or absence.
- **cas** — Isolated symbolic recipes: identity (expression equal to rhs?), simplify, solve (ONE symbol, univariate polynomial, rational coefficients, degree <= 8, exact roots including multiplicities). Runs only in the separate IAM-protected worker with pinned image; no arbitrary Python and no local fallback. A library result is not proof-kernel certification. assumptions is optional, e.g. "t=real, u=positive". Domain assumptions are applied: roots excluded by the declared domain are reported in excludedRoots and never counted as solutions. The worker bounds are published in capabilities.scientific (expression <= 2000 bytes, <= 8 symbols).
- **solve_math** — Exact rational linear system solver. Unique, inconsistent and underdetermined are distinct. Pure operation: no dossier required.
- **solve_logic** — Solve explicitly supplied ordering constraints, without guessing a prose translation. Pure operation: no dossier required.
- **claim** — Register an explicit structured claim inside a dossier. The host formalizes text; Jev cannot invent proof inputs.
- **claim_revise** — Revise a claim with optimistic revision control; dependent checks become invalid.
- **requirement_add** — Bind a declared obligation to exact claim IDs and accepted evidence levels.
- **artifact_import** — Import untrusted text/data. Client imports never become server-fetched sources.
- **artifact_get** — Read an immutable owned artifact.
- **analyze** — Ask Jev to classify the goal, ambiguity and suggested effort. Scores are advisory.
- **plan** — Build the dependency-ready frontier from declared claims and dependencies; does not authorize execution. Jev ordering is advisory and used only when external processing is allowed for the run — a restricted dossier is planned without any provider call (semanticSkippedReason).
- **verify** — Check one scoped claim; use exact code for formal inputs and Jev for source passages. A contradicted arithmetic check returns the computed value, so you can correct yourself.
- **reason** — Bounded planning followed by up to eight checks of already-declared claims (deterministic claims first; Jev ordering only when external processing is allowed).
- **semantic_segment** — Classify literal spans, retaining offsets. granularity: coarse (size-bounded blocks), sentence (mechanical sentence split) or atomic (sentences then clauses on ; : , and et/ou/mais/and/or); every span keeps start/end/literal text/type/confidence and atomic spans link to their parent sentence. The host must formalize claims afterward.
- **semantic_relation** — Compare two existing statements; no automatic proof edge is created.
- **critique** — Jev reviews a supplied draft against the dossier. It cannot override the deterministic audit.
- **next_step** — Ask Jev whether to gather, revise or review. Finalization still requires deterministic coverage.
- **web_search** — Search Tavily with optional depth, domain and date filters. Domain restrictions are enforced on returned URLs. Jev is not itself a search engine. runId is optional: without it the server uses a principal-bound spot context (returned in the reply).
- **fetch** — Retrieve a bounded public text URL using SSRF-protected egress. runId is optional: without it the server uses a principal-bound spot context (returned in the reply).
- **research** — Search Tavily with depth/domain/date filters, require Jev-specific relevance and first-party ranking, then fetch pages. A Tavily or Jev outage is a typed UNAVAILABLE failure: no candidates or pages are returned. A valid Jev abstention is reported separately and may use explicit preferences and topical documentation hints. This selects evidence candidates, not verified facts. runId is optional: without it the server uses a principal-bound spot context (returned in the reply). Usage counts every fetch attempt (succeeded/failed), real network dispatches and cache hits separately.
- **audit** — Audit explicit coverage and stale checks. No probabilistic override. staleEvidence lists stored verdicts produced by an earlier checker version: they no longer count as positive evidence until re-verified.
- **run_finalize** — Close only covered declared obligations with no pending reservations.
- **run_cancel** — Durable cancellation: prevents new dispatches across instances. In-flight API calls may be billed.
- **budget_status** — Inspect durable consumed and held budgets. baseLimits (aliases limits, baseRunBudget) = operator base envelope; effectiveLimits (aliases budgetLimit, effectiveRunBudget) = this run envelope after the profile multiplier; consumed/held mirror used/held; remaining = limit - used - held per dimension. usageBasis flags observed (provider-reported dispatch usage) versus estimated (configured cost) values. Held amounts are conservative reservations, not billed usage.
- **run_export** — Export the complete dossier (document, artifacts and audit) as a portable copy when a published bound (claims<=100, requirements<=100, verifications<=400) is reached or for archival; optionally includes the latest events. Read-only.
- **operation_get** — Inspect a provider receipt by its full operation key; cannot release or reset quota.
- **events** — Read your event journal with pagination.
- **code_bind** — Bind an exact instruction contract, a versioned plan and the supplied workspace snapshot to an owned dossier (immutable, content-addressed). V16 software-supervision tools never execute the tested code on this server: the contract, plan, snapshot and judgments stay server-side, and only a signed receipt from a trusted runner covers an execution check.
- **code_index** — Index JavaScript and TypeScript symbols, imports, exports and line ranges in the bound snapshot using a pinned syntax parser. No code is executed and no dependency is loaded. Coverage limits and parse errors are explicit; manual code_context selections remain supported.
- **code_context** — Build a bounded review context from the current snapshot: line-range spans with their own digests, explicit unseen paths and no silent truncation. A context that exceeds its byte budget is refused, never cut.
- **code_review** — Run one review phase with Jev on the declared targets. A judgment is advisory: it can block, it can never prove that a test ran. Phases: requirements, plan, patch, tests, repair, report.
- **code_check_start** — Create durable attempts for pre-authorized checks and dispatch them to the trusted execution runner. The runner returns a raw report; this server validates it and signs the receipt itself — the signing key never enters the tested code. Without a configured runner the call honestly reports execution_unavailable and nothing is fabricated.
- **code_job_get** — Read a durable software job: state, tickets, receipt summaries and the reconciliation note for an unresolved dispatch.
- **code_job_cancel** — Durable cancellation of a pending or unresolved job: no new dispatch under its tickets, and late results can no longer be stored. Effects already sent stay traced.
- **code_checkpoint** — Publish a new snapshot or a new plan for this dossier, then invalidate dependent judgments and withdraw tickets bound to the previous snapshot. The previous evidence stays readable for audit but no longer covers the current version.
- **code_gate** — Evaluate bounded closure for this software dossier: which declared obligations are covered by current, signed execution receipts and which judgments remain pending. Blockers are never averaged away, semantic judgments are never execution proof, and the result never authorizes a deployment. Re-run it after the last change: a stored evaluation only covers the revision it was computed on.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "leghis-smart-thinking": {
    "command": "npx",
    "args": ["-y","smart-thinking-mcp@16.3.1"]
  }
}
```

## Documentation & README

# Smart-Thinking

**Help your AI check its work.**

Smart-Thinking connects your usual AI assistant to tools for checking calculations, finding supporting passages and testing code. Ask in ordinary language; your assistant prepares the check and explains the result.

This package is the small MCP client. MCP is the protocol assistants use to connect to tools. The checking engine runs on the hosted service. You do not need to install a database, run the engine or supply a personal token for public access.

## What can you do?

- **Check a number.** Recalculate a discount, scale a recipe or compare complete quotes using exact arithmetic.
- **Check a source.** Find the passage behind a statement and inspect its date, context and origin.
- **Check a code change.** Run approved tests in an isolated environment and see which files were actually tested. A later change needs a new check.

## Connect your assistant

You need **Node.js 22.16 or newer** and Internet access. For an assistant that accepts a `mcpServers` configuration, add:

```json
{
  "mcpServers": {
    "smart-thinking": {
      "command": "npx",
      "args": ["-y", "smart-thinking-mcp@16.3.1"]
    }
  }
}
```

Save the configuration and reload the MCP connection in your assistant. **VS Code uses a different format.** Follow the application-specific [connection guides](https://smart-thinking-site-923774092927.northamerica-northeast1.run.app/en/docs/connect/) for Codex, Claude, Cursor, VS Code or direct HTTP access.

To diagnose a connection from your terminal:

```bash
npx -y smart-thinking-mcp@16.3.1 --doctor --allow-network
```

The diagnostic checks connectivity and tool discovery. Provider availability is reported separately.

## Try these three requests

1. “Use Smart-Thinking to check €80 minus 20%, then add a 15% fee on the discounted price. Explain the steps.” Expected total: **€73.60**.
2. “Use Smart-Thinking to scale 250 g of flour for four people to ten people.” Expected quantity: **625 g**.
3. “Use Smart-Thinking to order these steps: draft before review, review before publish.” Expected order: **draft → review → publish**.

See [eighteen explained examples](https://smart-thinking-site-923774092927.northamerica-northeast1.run.app/en/use-cases/) for sources and code, too.

## Data and limits

Requests go to the hosted service. Search and semantic checks can use external providers; submitted code files run in a separate sandbox. The client does not scan your disk. Dossiers and results are stored server-side. Keep anonymous dossier identifiers private: they include access capabilities.

Public access has shared quotas. An exact calculation checks the supplied expression; passing tests cover the executed suite. Model reviews remain fallible. Code review has an internal qualification for bounded, explicit requirements. It can cover the declared semantic review when its evidence and qualification remain valid. This is not external accreditation or a correctness guarantee.

Read the [data and trust guide](https://smart-thinking-site-923774092927.northamerica-northeast1.run.app/en/trust/), [documentation](https://smart-thinking-site-923774092927.northamerica-northeast1.run.app/en/docs/) and [evaluations](https://smart-thinking-site-923774092927.northamerica-northeast1.run.app/en/benchmarks/). The website is available in French and English.

MIT license. [Source and issues](https://github.com/Leghis/Smart-Thinking).

