58
/ 100
6 days ago
glama

lean-lsp-mcp

MCP server for agentic interaction with the Lean theorem prover via LSP, providing tools for understanding, analyzing, and interacting with Lean projects.

Is this your MCP?

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.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 3 credentials: LEAN_LSP_MCP_TOKEN, GEMINI_API_KEY, OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configLEAN_LSP_TEST_MODE
configLEAN_LOG_LEVELLog level for the server. Options are "INFO", "WARNING", "ERROR", "NONE". Defaults to "INFO".
configLEAN_PROJECT_PATHPath to your Lean project root. Set this if the server cannot automatically detect your project.
🔐 secretLEAN_LSP_MCP_TOKENSecret token for bearer authentication when using streamable-http or sse transport.
configLEAN_STATE_SEARCH_URLURL for a self-hosted [premise-search.com](https://premise-search.com) instance.
configLEAN_HAMMER_URLURL for a self-hosted [Lean Hammer Premise Search](https://github.com/hanwenzhu/lean-premise-server) instance.
🔐 secretGEMINI_API_KEY
configMCP_LOG_DIR
🔐 secretOPENAI_API_KEY
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/project-numina-lean-lsp-mcp-wy7hgl)](https://m8ven.ai/mcp/project-numina-lean-lsp-mcp-wy7hgl)
commit: 5c0eddf0a67881aae10589e9c399538f90f1eff6
code hash: 7e62367bd4347976fd32e4ab8fdad169cc69d14811376c11b7044a0042d14e3b
verified: 6/16/2026, 1:27:18 PM
view raw JSON →
lean-lsp-mcp · M8ven Trust Score | M8ven