Leanforge MCP
Lean 4 theorem prover MCP: automated proof search, mathlib integration, job management
Connector by sandraschi · GitHub account verified by the MCP Registry
Install
Works with Claude Desktop. Read the repository before you give any tool access to your data.
MCP bundle (.mcpb): open it with Claude Desktop.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 6 read · 2 write · 2 delete
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Downloaded binary
Tools by what they do 10
Read from the source code; the running server may list different tools.
Read 6 · Look things up without changing anything.
get_mathlib_searchget_proof_statuslist_attemptslist_jobsvalidate_leanverify_proof
Write 2 · Create, change, send or run things.
submit_lean_filesubmit_theorem
Delete 2 · Delete, drop, revoke or wipe things.
cancel_jobleanforge_shutdown
Network hosts it talks to 8
api.deepseek.com· found in codearxiv.org· found in codebiomejs.dev· found in codebun.sh· found in codeelan.lean-lang.org· found in codegithub.com· found in install command, codeleansearch.net· found in codeschema.tauri.app· found in code
Files it touches
%APPDATA%\com.sandraschi.pywinauto-mcp\logs\backend-spawn.log- Your home directory (~)
Tools (10)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
cancel_jobcan change or delete dataCancel a running proof search job.
get_mathlib_searchread-onlySearch Mathlib4 for theorems matching a natural language query. Returns theorem names and type signatures useful for building proofs. Use this when stuck -- find the right Mathlib lemma name and pass it as a hint to submit_theorem.
get_proof_statusread-onlyGet the status of a proof search job. If complete, returns the proven Lean 4 file. If running, returns turn count and latest attempt. Poll every 10-30s.
leanforge_shutdowncan change or delete dataShut down the leanforge-mcp server gracefully. Cancels live proof jobs, then exits the process. Use before upgrades or restarts.
list_attemptsread-onlyList proof attempts for a job, with Lean source and compiler feedback per turn. Useful for understanding why a search is stuck or inspecting the trajectory.
list_jobsread-onlyList all jobs with status and summary.
submit_lean_fileSubmit a complete Lean 4 file with sorry placeholders directly. Ideal for MiniF2F or AlphaProof Nexus problem stubs that are already formalized.
submit_theoremSubmit a theorem for formal proof search. Returns a job_id immediately -- use get_proof_status to poll. The server runs parallel agents looping LLM-propose -> Lean-compile -> error-feedback until proven or budget exhausted.
validate_leanread-onlyRun the Lean 4 compiler on arbitrary source and return output. No job tracking, no LLM -- raw compile. Use to test a proof or debug Lean syntax before submitting.
verify_proofread-onlyRe-verify Lean 4 source with independent verified kernels (con-leche, con-ron). Compiles first: unproven input is rejected without touching the kernels. Proven input is exported via leanexport and replayed through each kernel; all must accept. Needs a workspace on Lean >= 4.35.0, otherwise returns supported=false with the upgrade path. Slow (minutes for Mathlib proofs) -- use for results that matter, not per-turn checking.
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit
- Oct 24, 2026 (5 days ago)
- Last release
- Oct 19, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.sandraschi/leanforge-mcp- Version
- 0.1.1
- Auth
- No auth
- Packages
- mcpb https://github.com/sandraschi/leanforge-mcp/releases/download/v0.1.1/leanforge-mcp-v0.1.1.mcpb
- License
- MIT
- Repository
- github.com/sandraschi/leanforge-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from sandraschi
- 0.643score
Qcad MCP
sandraschi
QCAD 2D CAD automation: DXF/DWG floor plans to SVG and STL, via MCP tools and REST
ConnectorAFreshness: ALocal★ 17Claude Desktop - 0.634score
Resonite MCP
sandraschi
Resonite social VR platform MCP server for natural language control of avatars, worlds, and Proto...
ConnectorAFreshness: ALocal★ 10Claude Desktop - 0.628score
Mixx Dj MCP
sandraschi
FastMCP server for Mixxx DJ software control via OSC protocol
ConnectorAFreshness: ALocal★ 7Claude Desktop - 0.626score
Godot MCP
sandraschi
Godot MCP server - Godot 4.x engine control via TCP bridge, STL/GLB/OBJ import, GPU particles, an...
ConnectorAFreshness: ALocal★ 6Claude Desktop - 0.619score
Grandorgue MCP
sandraschi
GrandOrgue pipe organ simulator MCP server - MIDI bridge, organ control, sample set management, m...
ConnectorAFreshness: ALocal★ 4Claude Desktop - 0.616score
Yahboom MCP
sandraschi
SOTA 2026 Yahboom Raspbot v2 ROS 2 MCP Server
ConnectorAFreshness: ALocal★ 4Claude Desktop
Cite this page
Leanforge MCP. Agent Mart. https://agentmart.dev/connectors/sandraschi-leanforge-mcp (last updated 2026-10-24)