Skip to content
MCP server

Lingshu Solver

Certified real-root solver for equation systems up to six variables, with proof fields

Pricing
Free
Platforms
CLI, Web, API
Runs
Locally or Remotely
Version
1.0.23
Listing updated
1 day ago

About Lingshu Solver

Lingshu Solver is a free MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Lingshu Solver (灵数求解器) is a deterministic numerical engine that an agent can call instead of guessing arithmetic. It uses interval arithmetic with Krawczyk certification, so every solution it reports is certified within a stated radius, and the same problem always gives the same answer. The page lists a range of plus or minus one million and up to six variables, with derivatives, integrals, ODEs and limits mentioned too.

Results are built for agents to branch on. Each carries a conclusion of all, partial, none or budget-exhausted solutions, a canAssert flag, and an eight-level trust block with counts of proven and candidate solutions. Completeness is compared with a theoretical upper bound, an empty result says whether emptiness was proven, and inequality constraints are enforced. A verify tool returns a corrected certified value, and a geometry tool covers 130 closed-form operations.

The terms say it runs offline, collects no data, is provided as-is and is free for non-commercial evaluation only. Commercial use needs separate licensing, and safety-critical use is prohibited.

Install

Run in a terminal

claude mcp add --transport http lingshu-solver https://hongchenlingjing.com/mcp

Add to Settings → Connectors → Add custom connector

https://hongchenlingjing.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lingshu-solver": {
      "url": "https://hongchenlingjing.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "lingshu-solver": {
      "type": "http",
      "url": "https://hongchenlingjing.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lingshu-solver": {
      "serverUrl": "https://hongchenlingjing.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lingshu-solver": {
      "type": "http",
      "url": "https://hongchenlingjing.com/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

poly_roots
Return certified real roots of a polynomial system.
verify
Judge a candidate value and return a certified corrected value.
geometry
Closed-form 1D, 2D and 3D geometry operations.

What it does

Certified roots
Interval arithmetic with Krawczyk certification for real equation systems.
Agent-readable verdicts
Every result states whether the solution set is complete, partial, empty or budget-limited.
Trust block
An eight-level trust field with proven and candidate counts.
Enforced inequalities
Candidates are substituted back and violators are dropped.
Verify and repair
Returns a certified corrected value and the error of the original.
Geometry tool
130 closed-form operations in 1D, 2D and 3D.

Good for

  • Solve a nonlinear system and know whether all roots were found
  • Check an agent's computed value against a certified result
  • Find real roots of a polynomial with inequality constraints
  • Compute geometric quantities such as hulls, areas and angles

Pricing

Free

Free evaluation version for non-commercial use; commercial licence separate

Prices change. Check hongchenlingjing.com before you buy.

Lingshu Solver FAQ

How many variables are supported?

Up to six, in a range of about plus or minus one million.

Is it free?

The evaluation version is free for non-commercial use; commercial use needs separate authorisation.

Can I use it for safety-critical work?

No. The terms prohibit safety-critical and life-critical uses.

Does it send data anywhere?

The site says it runs offline and collects or stores nothing.

Is Lingshu Solver free?

Yes. Lingshu Solver is free to use.

How do I add Lingshu Solver to Claude Code?

Run this command in your terminal: claude mcp add --transport http lingshu-solver https://hongchenlingjing.com/mcp

What are the best alternatives to Lingshu Solver?

The closest alternatives to Lingshu Solver are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Lingshu Solver

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools