Lean4 Theorem Proving
MCP Serverby majiayu000 · Added 5mo ago
Claude
76
Install
git clone https://github.com/majiayu000/claude-skill-registryAdd to Claude
claude mcp add lean4-theorem-provingQuick Setup Config
Copy & paste ready~/Library/Application Support/Claude/claude_desktop_config.json (macOS) %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"lean4-theorem-proving": {
"command": "npx",
"args": [
"@modelcontextprotocol/lean4-theorem-proving"
]
}
}
}Paste into your Claude Desktop config file, then restart Claude.
About
Use when working with Lean 4 (.lean files), writing mathematical proofs, seeing "failed to synthesize instance" errors, managing sorry/axiom elimination, or searching mathlib for lemmas - provides build-first workflow, haveI/letI patterns, compiler-guided repair, and LSP integration
Tags
developmentrustgotestingdebuggingskill