MCP server for agentic interaction with the Lean theorem prover via LSP, providing tools for understanding, analyzing, and interacting with Lean projects.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.LEAN_LSP_TEST_MODELEAN_LOG_LEVEL— Log level for the server. Options are "INFO", "WARNING", "ERROR", "NONE". Defaults to "INFO".LEAN_PROJECT_PATH— Path to your Lean project root. Set this if the server cannot automatically detect your project.LEAN_LSP_MCP_TOKEN— Secret token for bearer authentication when using streamable-http or sse transport.LEAN_STATE_SEARCH_URL— URL for a self-hosted [premise-search.com](https://premise-search.com) instance.LEAN_HAMMER_URL— URL for a self-hosted [Lean Hammer Premise Search](https://github.com/hanwenzhu/lean-premise-server) instance.GEMINI_API_KEYMCP_LOG_DIROPENAI_API_KEY[](https://m8ven.ai/mcp/project-numina-lean-lsp-mcp-wy7hgl)