Pre-computed atlas of your codebase for Claude Code: LSP + ADRs + git. 45-72% token reduction.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Stop watching Claude burn tokens grepping for context it can't possibly find.
ContextAtlas turns your codebase into a single-call context bundle for Claude Code β fusing LSP-grade structure, architectural intent from your Architectural Decision Records (ADRs), git history, and test associations. Measured 45-72% token reduction with zero quality regression across benchmark axes on architectural prompts across the hono / httpx / cobra benchmark suite.
Quick start β Β· Benchmark results β Β· Why not graph-based? β Β· Architecture β Β· ADRs β
ContextAtlas ships two equivalent paths β CLI and Claude Code Skills β
both producing the same atlas.json. See Quick Start
for setup.
Claude Code currently learns your codebase by brute force. Every session starts fresh. Every "where is X?" triggers multiple grep calls. Every "what depends on Y?" is another flurry of file reads. On a mid-sized codebase, answering a single architectural question can consume 40+ tool calls and 100,000+ tokens before Claude has enough context to reason well.
Worse: the architectural intent that governs your code β the ADRs, the
design decisions, the "we did it this way because" β is invisible to
Claude. The rule that OrderProcessor must be idempotent lives in
docs/adr/. When Claude proposes a change, it has no way to know that
constraint exists.
Yesterday's understanding doesn't carry to today. Every conversation starts from zero. Your ADRs, your commit history, your test coverage β none of it is on the agent's table.
What if expensive understanding happened once, at index time, and every query became a dictionary lookup?
That's ContextAtlas.
ContextAtlas is an MCP server that gives Claude Code a curated atlas of your codebase β fusing LSP-grade structural precision with architectural intent extracted from your ADRs, docs, and git history, delivered to Claude in single-call context bundles.
Every bundle Claude receives combines four independent signals about a symbol:
One MCP call returns all four, fused. No ADRs in your repo yet? You still get LSP + git + tests in one call instead of fifteen β a meaningful baseline improvement. Add ADRs and the bundles get richer. The architecture is designed so any subset of signals produces value.
Given an ADR stating that OrderProcessor must be idempotent, a call
to get_symbol_context("OrderProcessor") returns:
When Claude is asked to modify OrderProcessor, it sees the
idempotency constraint before proposing changes β not after a user
review catches the violation.
Who this is for. ContextAtlas is built for the average developer using Claude Code on real codebases β not just engineers at large orgs working on 500,000-file monorepos. Token-burn reduction scales with codebase size β dramatic on a 200-file framework, modest on a 30-file library. But architectural intent capture is size-invariant. A 30-file library can have meaningful architectural decisions worth surfacing, and Claude respecting them matters just as much as on a larger codebase.
Efficiency and quality are necessary but not sufficient. The substantive value of context-grounding shows up in design choices on non-trivial code-change tasks.
A/B trial during v0.3 development. Identical 3-paragraph prompt across two ContextAtlas clones: implement a known bug fix β locate the bug, design and implement the fix, write tests, document via ADR. The only setup difference: MCP availability.
| Arm | MCP | Approach selected |
|---|---|---|
| A (vanilla) | none | Recall-first approach (broader matching; fought the project's precision-thesis with noise) |
| B (CA-aided) | ContextAtlas | Precision-optimization approach (aligned with the project's pre-extracted-claims-with-structural-attribution thesis) |
Arm B's approach landed in main. Both arms functionally fixed the bug at similar wall-clock and token cost. The substantive difference was alignment with project design thesis β the CA-aided arm could read the relevant ADR + prior architectural work from the atlas, and made a choice that fit. The vanilla arm couldn't see that context and chose an approach that worked but fought the architecture.
Arm A's substantive consideration wasn't lost β captured as future-work investigation trigger. The recall-vs-precision tradeoff is preserved.
Full synthesis at v0.3 Round 3 dogfood evidence.
N=1 trial; this is anecdote, not benchmark. The systematic benchmark suite (hono / httpx / cobra) measures efficiency and quality (see Β§The Numbers below). This A/B trial measures the substantively-distinct design-alignment axis β which doesn't fit benchmark-suite methodology (every code-change task is repo- specific) but is the substantive value proposition for cohort developers building on real codebases.
We benchmark ContextAtlas against baseline Claude Code on three repositories chosen to reflect realistic developer workloads:
| Repo | Language | Source files | Role |
|---|---|---|---|
| honojs/hono | TypeScript | 186 | Mid-sized framework |
| encode/httpx | Python | 23 | Focused production library |
| spf13/cobra | Go | 19 | CLI framework |
Methodology. 24 prompts per repo, 6 task buckets, blind manual grading, pre-registered rubric, no cherry-picking. Full methodology in RUBRIC.md.
Phase 5 reference run on hono, six pre-registered prompts:
| Prompt | Bucket | Alpha calls | CA calls | Ξ | Alpha $ | CA $ |
|---|---|---|---|---|---|---|
| h1-context-runtime | win | 18 | 9 | β50% | $2.36 | $1.52 |
| h2-router-contract | win | 11 | 5 | β55% | $0.60 | $0.53 |
| h3-middleware-onion | win | 5 | 5 | 0% | $0.38 | $0.47 |
| h4-validator-typeflow | win | 21 | 6 | β71% | $2.95 | $0.52 |
| h5-hono-generics | tie | 11 | 13 | +18% | $0.79 | $1.17 |
| h6-fetch-signature | trick | 3 | 4 | +33% | $0.17 | $0.29 |
| aggregate | 69 | 42 | β39% | $7.25 | $4.50 (β38%) |
The headline case: h4-validator-typeflow ran 7.3Γ cheaper ($2.95 β $0.52) at equivalent answer depth. CA opens with the governing ADR by number; the baseline reconstructs the architecture from source. Tie and trick buckets (h5, h6) show CA net-negative as the rubric predicted β CA over-engineers on questions where architectural intent doesn't carry load. Bucket-aware methodology surfaces these expected cases rather than burying them.
Cross-language replication: the same architectural-intent win mechanism holds on Python (Phase 6 β httpx) and Go (Phase 7 β cobra). Phase 8 re-ran the locked prompt sets against v0.3-sharpened atlases at the same pinned target SHAs: 45-72% token reduction on architectural-intent prompts across all three target languages. Full synthesis at phase-8-v0.3-reference-run.md.
v0.5 shipped the LLM-judge methodology under paired-mode anonymization (per ADR-19). Cross-cell rollup paired-t at N=27 differences per axis (5 anchor cells Γ n=5 trials Γ 2 conditions; hono h1 auto-stretch to n=8):
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/contextatlas)<a href="https://allmcps.com/mcp/contextatlas"><img src="https://allmcps.com/api/badge/contextatlas?style=directory" alt="Contextatlas on AllMCPs" /></a>