{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/3"}],"enrichment":{"capability":"Provides an MCP server that exposes the Lean theorem prover to LLM agents via the Language Server Protocol, enabling programmatic access to proof states, diagnostics, and theorem search tools.","skillfed_tags":["theorem-proving","language-server","lean4"],"use_cases":["Enable Claude Code or other agentic IDEs to assist with Lean 4 theorem proving by providing real-time proof state and diagnostic information.","Automate theorem discovery and proof search by querying external databases like Loogle and Lean Hammer through a unified interface.","Build custom agents that analyze Lean projects, extract goal states, and suggest relevant theorems or lemmas for proof completion.","Integrate Lean proof verification into LLM-based code generation workflows where formal correctness is required.","Provide local search capabilities for Lean definitions and theorems using ripgrep for faster development iteration."],"what_it_does":"lean-lsp-mcp is an MCP (Model Context Protocol) server that bridges the Lean theorem prover and LLM agents by exposing Lean's language server capabilities as a set of tools. It runs as a stdio-based service that agents can invoke to inspect proof states, retrieve diagnostics, search for theorems and definitions, and interact with Lean projects programmatically.\n\nThe package wraps leanclient to communicate with Lean's LSP, and provides tools for goal inspection, term information, hover documentation, and external theorem search via services like Loogle and Lean Hammer. It integrates with IDEs (VSCode, Cursor, Claude Code, Mistral Vibe) and supports optional features like REPL-based code execution and ripgrep-powered local search. Configuration is minimal\u2014the server works out-of-the-box but allows customization via environment variables for logging, tool disabling, and performance tuning.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is purpose-built for integrating Lean with LLM agents and IDEs\u2014if you are working with Lean 4 projects and want agentic proof assistance, this is the standard tool. Install it if you use Cursor, Claude Code, or similar platforms with Lean projects."},"id":"lean-lsp-mcp","links":{"html":"https://skillfed.io/packages/lean-lsp-mcp","md":"https://skillfed.io/packages/lean-lsp-mcp.md","pypi":"https://pypi.org/project/lean-lsp-mcp/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":"MIT","license_treatment":"permissive","name":"lean-lsp-mcp","python_support":"supports_current","summary":"Lean Theorem Prover MCP"},"popularity":{"monthly_downloads":2386931,"position":3093,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.29.0"}
