lean-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
lean-mcp
MCP connector for the Lean theorem prover.
Tool | What it does |
| Checks a project, a file or one declaration against the pinned toolchain. Returns a proof receipt: |
| Lists the declarations (theorem, definition, structure, inductive, instance), their dependency edges and the module imports of a project, read by Lean itself. |
Settings
Variable | Meaning |
| Required. Every project path must resolve inside it. |
| Per-call time limit in seconds. Default 600. |
| The |
| Optional pinned Lean version. Default: the project's |
Install the Lean toolchain with elan on the host that runs the connector. Project code runs only inside the bounded subprocess.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
Manage SysML2 projects; check, evaluate, verify, query, document and diagram models.
Check npm/PyPI packages exist and that a function or method exists in an exact package version.
Check agent replies, lint policies, export regression tests and verify caller-trusted proof bundles.
Related MCP Servers
- AlicenseBqualityAmaintenanceEnables LLM agents to interact with the Lean theorem prover through the Language Server Protocol, providing tools for analyzing Lean projects, accessing diagnostics, goal states, documentation, and searching for theorems using both local and external search services.2281,428 PyPI559MIT
- AlicenseNot gradedqualityDmaintenanceEnables verification of Lean 4 mathematical proofs via MCP tools, allowing AI clients to compile and check theorems with Mathlib.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables auditing formal libraries (Lean 4/Mathlib and Metamath) to trace axiom dependencies, find theorems resting on sorry or compiler trust, and analyze the impact of changes.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables querying a Lean 4 proof corpus registry using tools for full-text/hash search, declaration lookup, dependency closure, similarity, and corpus statistics.MIT