Metadata-Version: 2.4
Name: cpp26-ref
Version: 0.0.1
Summary: MCP server providing canonical C++26 paper references and compiler-status lookup.
Author-email: Paris Moschovakos <parasxos@gmail.com>
License: MIT
Keywords: claude-code,cpp26,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.11
Requires-Dist: mcp>=1.0
Requires-Dist: pydantic>=2.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rapidfuzz>=3.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# cpp26-ref MCP server

Stdio MCP server that exposes three tools to Claude Code:

| Tool | Purpose |
|---|---|
| `lookup_paper(paper_id)` | Return the full markdown content of `corpus/references/<paper_id>.md`. |
| `search(query, top_k=5)`  | Fuzzy + keyword match over `corpus/index.yaml`. Returns `[{id, title, tier, score, path}]`. |
| `compiler_status(paper_id, compiler=None)` | Read `corpus/status.yaml`. **Informational only** — the skill must not gate on it. |

This package is part of the `cpp26-adapter` Claude Code plugin. See the repo root for the binding plan.

## Local dev

```bash
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest tests
```

## Wire-up

The plugin's `.mcp.json` registers this server as `cpp26-ref` and launches it via stdio. See Phase 3 of `PLAN.md`.
