{"repo":"oOo0oOo/lean-lsp-mcp","free":true,"listed":false,"github":"https://github.com/oOo0oOo/lean-lsp-mcp","clone":"git clone https://github.com/oOo0oOo/lean-lsp-mcp.git","description":"Lean Theorem Prover MCP","language":"Python","stars":477,"topics":["lean4","lsp","mcp"],"license":"MIT","category":"mcp-servers","readme_excerpt":"lean-lsp-mcp Lean Theorem Prover MCP MCP server that allows agentic interaction with the Lean theorem prover via the Language Server Protocol using leanclient. This server provides a range of tools for LLM agents to understand, analyze and interact with Lean projects. Key Features Rich Lean Interaction : Access diagnostics, goal states, term information, hover documentation and more. External Search Tools : Use LeanSearch , Loogle , Lean Finder , Lean Hammer and Lean State Search to find relevant theorems and definitions. Easy Setup : Simple configuration for various clients, including VSCode, Cursor and Claude Code. Setup Overview 1. Install uv, a Python package manager. 2. Make sure your Lean project builds quickly by running lake build manually. 3. Configure your IDE/Setup 4. (Optional, highly recommended) Install ripgrep ( rg ) for local search and source scanning ( lean verify warnings). 1. Install uv Install uv for your system. On Linux/MacOS: curl -LsSf https://astral.sh/uv/install.sh sh 1b. Alternative: Install with Nix If you use Nix, you can install the package directly from GitHub: Or run it without installing: nix run github:oOo0oOo/lean-lsp-mcp . This provides the MCP server only. You still need a Lean toolchain ( elan / lake ) for your project, same as the uv setup below. 2. Run lake build lean-lsp-mcp will run lake serve in the project root to use the language server (for most tools). Some clients (e.g. Cursor) might timeout during this process. Therefore, it i","default_branch":null,"files":null,"tree":[],"storefront":"/r/oOo0oOo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oOo0oOo/lean-lsp-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}