lean 4 mcp for Claude Desktop
io.github.mrfentmen/lean-4-mcp
Lean 4 MCP: 20 real tools to read, check, lint, scaffold, build and run Lean 4 code.
client:Claude Desktop
transport:stdio
runtime:npm
Install lean 4 mcp in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"lean-4-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/lean-4-mcp"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs