Lean Mathlib Docs
Verified IntegrationClient Configuration
— Connect Lean Mathlib Docs to Claude Desktop or Cursor in seconds{
"mcpServers": {
"lean-mathlib-docs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-lean-mathlib-docs"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Enables large language models to search Lean Mathlib 4 documentation locally via a minimal server.
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Lean Mathlib Docs
It integrates seamlessly with VSCode. Once installed and configured, VSCode automatically starts the MCP server. You can then query it using `#search_lean_doc <query>` or by instructing your LLM to use the search function.
Related MCP Servers
Browse all servers →Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.