MCP, MCP server
Lean Mathlib Docs Mcp
A machine-first MCP server for structured, low-ambiguity search over the Lean Mathlib 4 knowledge base (definitions, theorems, lemmas, notations, modules, instances, typeclasses, axioms).
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_UNPINNED OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 2
mcp>=2.1.0 - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
data/sample_index.json, line 1
{"meta":{"source":"sample","built_from":"declaration-data.bmp","mathlib_version":"4.latest","declaration_count":3449,"module_count":115,"enriched_count":15},"declarations":{"Absolu
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 2
mcp>=2.1.0
Network
Pass
No network call found.
Secrets
Pass
No read of a credential file or secret environment variable found.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
data/sample_index.json, line 1
{"meta":{"source":"sample","built_from":"declaration-data.bmp","mathlib_version":"4.latest","declaration_count":3449,"module_count":115,"enriched_count":15},"declarations":{"Absolu
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 313e56f327c5. dependencies are not pinned. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 313e56f327c50716ca2dd24978abf1a2d3f624d7
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.