Minimalist SaaS illustration for Lean LSP MCP integration

AI Agent for Lean LSP MCP

PostAffiliatePro
KPMG
LiveAgent
HZ-Containers
VGD
Lean LSP MCP automated proof and diagnostics illustration

Automated Proof Analysis & Code Insights

Lean File Diagnostics.
Proof Goal Extraction.
Code Hover & Documentation.
Code Completion Support.
Lean LSP MCP theorem search and discovery illustration

Integrated Search & Discovery Tools

Theorem & Definition Search.
Automated Proof Assistance.
Easy Tool Integration.
Setup and secure connectivity for Lean LSP MCP illustration

Flexible Setup & Secure Connectivity

Multi-Client Support.
Bearer Token Authentication.
Environment Variable Config.

MCP INTEGRATION

Available Lean LSP MCP Integration Tools

lean_file_contents
lean_diagnostic_messages
lean_goal
lean_term_goal
lean_hover_info
lean_declaration_file
lean_completions
lean_run_code
lean_multi_attempt

Supercharge Lean Projects with Agentic LLM Tools

Unlock powerful, automated interaction with Lean theorem proving in your IDE or agent platform. Diagnose, search, and solve proofs with easy setup and advanced integrations—perfect for research, education, and AI workflows.

LeanMCP landing page

What is LeanMCP

Capabilities

What we can do with LeanMCP

LeanMCP allows users to leverage a rich set of features for interacting with Lean theorem prover projects. You can access deep diagnostic information, hover documentation, and goal states, as well as use external tools for searching and proving theorems. The platform supports easy integration with various IDEs and is optimized for use by both developers and AI agents.

Rich Lean Interaction
Access diagnostics, goal states, term information, and hover documentation from Lean projects.
Advanced Theorem Search
Utilize tools like leansearch, loogle, lean_hammer, and lean_state_search to find relevant theorems and definitions.
Agentic Automation
Enable LLM agents to analyze, understand, and interact with Lean code automatically.
Easy Integration
Simple setup for various clients including VSCode, Cursor, and Claude Code.
Serverless Hosting
Deploy and manage MCPs in a scalable, serverless environment without manual server management.
vectorized server and ai agent

What is LeanMCP