Lean Mathlib 4 Documentation
БесплатноНе проверенProvides search capabilities for Lean Mathlib 4 documentation by downloading and parsing declaration data to find theorems, definitions, and mathematical constr
Описание
Provides search capabilities for Lean Mathlib 4 documentation by downloading and parsing declaration data to find theorems, definitions, and mathematical constructs with regex-based search functionality.
README
This project provides a Minimal MCP (Model Context Protocol) Server for searching Lean Mathlib 4 documentation. It allows LLMs to query Lean Mathlib 4 declarations and retrieve relevant documentation links and details. The MCP server is only available for VSCode at the moment.
Features
- Search Lean Mathlib 4 Documentation: Query the documentation for declarations, modules, and instances.
- MCP Server Integration: Implements the MCP protocol for seamless integration with tools.
- Local Data Handling: Downloads and processes Lean Mathlib 4 documentation data locally after the first run.
Prerequisites
- Python 3.11 or higher
requestslibrarymcpMCP Server library
Installation
Clone the repository:
git clone https://github.com/CriticalLine/lean-mathlib-docs-mcp.git cd lean-mathlib-docs-mcpInstall the required Python dependencies:
conda env create -f environment.yml conda activate lean-mathlib-docs-envEnsure the
mcp.jsonfile is correctly configured in the.vscodefolder or the project root.
Usage
- VSCode will automatically start the MCP server when you launch it with the appropriate configuration.
- Query the server by explicitly using
#search_lean_doc <query>or tell the LLM to use the search function.
Project Structure
lean-mathlib-docs-mcp/
├── LICENSE
├── README.md
├── src/
│ ├── lean_docs_server.py
│ └── mcp.json
Development
- test the mcp server
- add check the original code
License
This project is licensed under the GPLv3 License. See the LICENSE file for details.
Prohibits all commercial use.
Acknowledgments
- Lean Mathlib 4 for the documentation data.
- The MCP Server library for providing the protocol implementation.
Установка Lean Mathlib 4 Documentation
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/criticalline/lean-mathlib-docs-mcpFAQ
Lean Mathlib 4 Documentation MCP бесплатный?
Да, Lean Mathlib 4 Documentation MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Lean Mathlib 4 Documentation?
Нет, Lean Mathlib 4 Documentation работает без API-ключей и переменных окружения.
Lean Mathlib 4 Documentation — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Lean Mathlib 4 Documentation в Claude Desktop, Claude Code или Cursor?
Открой Lean Mathlib 4 Documentation на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Lean Mathlib 4 Documentation with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
