# Lingshu Solver

> Lingshu Solver is a free MCP server for developer tools. Certified real-root solver for equation systems up to six variables, with proof fields. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Web, API
- **Website:** https://hongchenlingjing.com
- **Repository:** https://github.com/genesis-plan/lingshu-solver
- **MCP Registry name:** io.github.genesis-plan/lingshu-solver
- **Categories:** developer tools, engineering simulation
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://hongchenlingjing.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lingshu-solver": {
      "url": "https://hongchenlingjing.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/lingshu-solver
