SkillAgentSearch skills...

lean-mathlib-docs-mcp

A minimal MCP local server for Lean Mathlib 4 Documentation Search Implemented using Python

Install / Use

claude mcp add CriticalLine -- npx -y github:CriticalLine/lean-mathlib-docs-mcp

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

66/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of lean-mathlib-docs-mcp

lean-mathlib-docs-mcp scores 66/100 on our quality scale, 1052nd of 1,144 Content & Media skills we index.

Its MCP Server is 1.9 KB long, well organised into 9 sections with 1 code example: moderately detailed.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
20/30
Structure
17/20
Description
12/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 14 days ago, so lean-mathlib-docs-mcp is actively maintained.
  • Our last check on 2026-09-12 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

lean-mathlib-docs-mcp compared with similar skills

All 4 of these similar skills score higher than lean-mathlib-docs-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
lean-mathlib-docs-mcp (this skill)by CriticalLine66314d agoMCP Server
Agent-Reachby Panniantong10088.6k17d agoCLAUDE.md
headroomby headroomlabs-ai10074.3ktodayCLAUDE.md
rufloby ruvnet10073.7ktodayCLAUDE.md
CowAgentby zhayujie10047.2ktodayCLAUDE.md

Frequently asked questions

How do I install lean-mathlib-docs-mcp?
Run claude mcp add CriticalLine -- npx -y github:CriticalLine/lean-mathlib-docs-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does lean-mathlib-docs-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is lean-mathlib-docs-mcp safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is lean-mathlib-docs-mcp still maintained?
The repository was last updated 14 days ago, so lean-mathlib-docs-mcp is actively maintained.

Lean Mathlib 4 Documentation Search MCP Server

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
  • requests library
  • mcp MCP Server library

Installation

  1. Clone the repository:

    git clone https://github.com/CriticalLine/lean-mathlib-docs-mcp.git
    cd lean-mathlib-docs-mcp
    
  2. Install the required Python dependencies:

    conda env create -f environment.yml
    conda activate lean-mathlib-docs-env
    
  3. Ensure the mcp.json file is correctly configured in the .vscode folder or the project root.

Usage

  1. VSCode will automatically start the MCP server when you launch it with the appropriate configuration.
  2. 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.

Related Skills

View on GitHub
GitHub Stars3
CategoryContent
Updated14d ago
Forks0

Languages

Python

Trust signals

87/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 low