beaconlight-math
Official# `beaconlight-math-mcp`
Read-only [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server indexing the open-access mathematical research corpus of **BeaconLight Research** (Drew Garman, `dru@drewgarman.dev`).
Runs natively over **both** local `stdio` (`npx -y @beaconlight-research/math-mcp`) and remote **Cloudflare Workers `Streamable HTTP`** (`/mcp`, `/health`, `/llms.txt`) from a single TypeScript codebase.
## Indexed Mathematical Corpus
- **8 arXiv-ready 2027 Preprints** (`main.pdf` + `main.tex`) across general relativity, extremal combinatorics, algebraic geometry, spectral graph theory, and discrete geometry ([`BeaconLight-Research/beaconlight-lean4-preprints-2027`](https://github.com/BeaconLight-Research/beaconlight-lean4-preprints-2027)).
- **9 Standalone Lean 4.33.1 Modules (`107` public theorems)** verified with `0 sorry`, `0 admit`, `0 native_decide`, and standard Lean 4 kernel axioms only (`propext`, `Classical.choice`, `Quot.sound`).
- **51 Solved Conjecture & Archive Bundles** (`18` unconditionally closed open conjectures/questions, `9` verified disproofs with explicit counterexamples, and `42` Zenodo-archived manuscripts across 7 public repositories including [`idirectships/solved-conjectures`](https://github.com/idirectships/solved-conjectures)).
Every entry explicitly separates **unconditional theorems** from **conditional hypotheses** and computational certificate layers.
## MCP Tools (Read-Only)
| Tool | Arguments | Purpose |
|---|---|---|
| `search_papers` | `query`, `msc_code?`, `status?` | Search 2027 preprints, solved conjectures, disproofs, and archive bundles by keyword, MSC2020 code, or resolution status. |
| `get_paper` | `slug` | Retrieve exact theorem statements, new bounds, prior benchmark comparisons, unconditional vs. conditional scope, Lean 4 modules, and PDF/TeX/GitHub URLs. |
| `search_lean_theorems` | `query`, `module?` | Search all `107` public Lean 4.33.1 theorems with exact file path, line number, signature, and `0 sorry` / standard-axioms metadata. |
| `list_disproofs` | *(none)* | List all verified disproofs and falsified conjectures with exact counterexamples and verification receipts. |
| `get_bibtex` | `slug` | Generate clean BibTeX and Citation File Format (`CFF 1.2.0`) citations for any paper, bundle, or repository. |
| `get_verification_guide` | `slug?` | Return 30-second Lean 4.33.1 independent verification commands, axiom audit command, and peer-review contact (`dru@drewgarman.dev`). |
## Installation & Client Configuration
### Claude Code
```bash
claude mcp add beaconlight-math -- npx -y @beaconlight-research/math-mcp
```
### Codex CLI
```bash
codex mcp add beaconlight-math -- npx -y @beaconlight-research/math-mcp
```
### Antigravity / Cursor / Windsurf / Claude Desktop (`mcp_config.json` / `claude_desktop_config.json`)
```json
{
"mcpServers": {
"beaconlight-math": {
"command": "npx",
"args": ["-y", "@beaconlight-research/math-mcp"]
}
}
}
```
### VS Code (`.vscode/mcp.json`)
```json
{
"servers": {
"beaconlight-math": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@beaconlight-research/math-mcp"]
}
}
}
```
### Remote Streamable HTTP (Claude Web / ChatGPT Connectors / Remote Agents)
Deploy to Cloudflare Workers (`npm run deploy:worker`) and connect any Streamable HTTP MCP client to:
```text
https://beaconlight-math-mcp.<your-subdomain>.workers.dev/mcp
```
Companion discovery endpoints:
- `GET /health` — JSON server status and corpus statistics
- `GET /llms.txt` — Plain-text corpus and tool summary for LLMs and crawlers
## Local Development & Verification
```bash
# Regenerate static index from sibling public repositories
npm run build:index
# Compile TypeScript
npm run build
# Run unit and integration tests (InMemory MCP + Worker Streamable HTTP)
npm test
# Run public-safety / OPSEC hygiene check
npm run check:opsec
```
## Peer Review & Contact
Independent verification reports, counterexamples, referee critiques, and arXiv endorsement inquiries are welcomed:
- **Author:** Drew Garman — BeaconLight Research (`dru@drewgarman.dev`)
- **MCP Server Repository:** [`BeaconLight-Research/beaconlight-math-mcp`](https://github.com/BeaconLight-Research/beaconlight-math-mcp)
- **Primary Archive:** [`BeaconLight-Research/beaconlight-lean4-preprints-2027`](https://github.com/BeaconLight-Research/beaconlight-lean4-preprints-2027)
- **Solved Conjectures Monorepo:** [`idirectships/solved-conjectures`](https://github.com/idirectships/solved-conjectures)
## License
MIT License (see [`LICENSE`](LICENSE)). Indexed manuscripts carry Creative Commons Attribution 4.0 International (CC-BY-4.0).
TDQS
Scored across 6 tools
Most tools have clearly distinct roles: paper search, paper retrieval, Lean theorem search, disproof listing, citation generation, and verification guidance. The only mild overlap is that search_papers covers disproofs and resolution status while list_disproofs separately enumerates disproofs, but the listing-vs-search distinction is understandable.
All tool names use consistent snake_case with a predictable verb_noun structure: search_papers, get_paper, search_lean_theorems, list_disproofs, get_bibtex, get_verification_guide. Minor variation in noun specificity does not break the pattern.
Six tools is well-scoped for a research archive covering papers, Lean formalizations, disproofs, citations, and verification. Each tool appears to serve a distinct workflow and none feels redundant.
The surface covers the core research-archive workflows: discovery, retrieval, formal-theorem search, disproof enumeration, citation export, and independent verification guidance. Minor gaps exist, such as no explicit list-all-papers or direct get-lean-theorem-by-identifier tool, but search tools likely allow agents to work around these.