Benchmarks
On 10 open-source repos in 10 languages, Nexus-MCP reached the right file with 95% fewer tokens (median) and searched 9× faster than Grep and Read. In live Claude Code runs on 11 repos, cost per task was lower on 8 of 11, with 64 of 66 tasks correct against 61 of 66.
Updated 2026-11-08, Nexus-MCP 2.4.5. Each row is the latest run of that repo. Grep and Read is the baseline: the agent's own search and file reads.
95% fewer tokens to reach the right file, median of 10 repos (89% to 97%).
9× faster search than Grep and Read, median (5× to 25×).
8 of 11 repos cost less per task in live Claude Code runs, with 64 of 66 tasks correct against 61.
Find the right file offline check, no LLM
| Language | Repo | Right file first | Tokens to the right file | Search time | |||
|---|---|---|---|---|---|---|---|
| Grep | Nexus | Grep | Nexus | Grep | Nexus | ||
| Python | pallets/ | 20% | 93% | 26,720 | 1,388 | 108 ms | 23 ms |
| TypeScript | vitejs/ | 43% | 83% | 16,520 | 1,286 | 159 ms | 25 ms |
| JavaScript | webpack/ | 37% | 67% | 25,634 | 1,251 | 564 ms | 34 ms |
| Java | apache/ | 23% | 87% | 48,176 | 1,241 | 201 ms | 31 ms |
| C# | JamesNK/ | 23% | 73% | 14,004 | 1,547 | 154 ms | 25 ms |
| PHP | laravel/ | 50% | 83% | 13,479 | 1,086 | 712 ms | 39 ms |
| C++ | chromium/ | 43% | 80% | 19,768 | 1,243 | 1,851 ms | 88 ms |
| Go | prometheus/ | 40% | 83% | 41,034 | 1,195 | 600 ms | 24 ms |
| C | redis/ | 40% | 87% | 37,139 | 988 | 331 ms | 34 ms |
| Rust | tokio-rs/ | 33% | 93% | 21,138 | 830 | 215 ms | 27 ms |
Answer the question live Claude Code runs, 6 tasks × 3 runs, median per task
| Language | Repo | Tokens per task | Cost per task | Turns | Correct | ||||
|---|---|---|---|---|---|---|---|---|---|
| Grep | Nexus | Grep | Nexus | Grep | Nexus | Grep | Nexus | ||
| Python | home-assistant/ | 65,990 | 42,458−36% | $0.050 | $0.037−27% | 7 | 3 | 6/6 | 6/6 |
| Python | django/ | 45,102 | 41,916−7% | $0.048 | $0.035−26% | 5.5 | 2.5 | 5/6 | 6/6 |
| TypeScript | vitejs/ | 69,790 | 52,411−25% | $0.059 | $0.046−22% | 5.5 | 4 | 6/6 | 6/6 |
| JavaScript | webpack/ | 100,320 | 74,638−26% | $0.077 | $0.068−11% | 6 | 4.5 | 6/6 | 6/6 |
| Java | apache/ | 50,448 | 32,862−35% | $0.044 | $0.022−49% | 4.5 | 2 | 6/6 | 6/6 |
| C# | JamesNK/ | 41,929 | 42,139+1% | $0.030 | $0.030+1% | 3 | 2.5 | 6/6 | 6/6 |
| PHP | laravel/ | 52,919 | 51,994−2% | $0.051 | $0.039−24% | 5 | 3 | 5/6 | 5/6 |
| C++ | chromium/ | 70,495 | 60,622−14% | $0.065 | $0.055−16% | 6.5 | 4.5 | 6/6 | 6/6 |
| Go | prometheus/ | 52,014 | 45,214−13% | $0.047 | $0.037−22% | 4.5 | 2.5 | 5/6 | 6/6 |
| C | redis/ | 41,752 | 50,578+21% | $0.031 | $0.030−3% | 3.5 | 3 | 6/6 | 6/6 |
| Rust | tokio-rs/ | 41,188 | 61,816+50% | $0.029 | $0.041+42% | 3.5 | 4.5 | 4/6 | 5/6 |
Not there yet: C (redis/redis, +21% tokens, build 2.2.2+e5a9d9a) and Rust (tokio-rs/tokio, +50% tokens, build 2.2.2+0430f01). These runs are older; a rerun on the current build is pending. Each row is the latest run of that repo. The same code can vary by about 20% in cost with 3 runs per task (measured 2026-10-28). Every number, the build of each row and the method.
Every column
The build that made each row, the index time, the top 3 hit rate, the search accuracy, the call-graph density and the wall time. Wall time per task is about equal: Nexus-MCP saves turns, but each of its calls returns more code.
| Language | Repo, pin | Offline build | Date | Index time | Right file in top 3 (Grep / Nexus) | Verdict | Search hit@1 | Calls per function | Live build | Runs (Grep / Nexus) | Wall time per task (Grep / Nexus) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Python | home-assistant/5b0d396 | – | – | – | – | – | – | – | 2.4.1 | v2.4.1 / v2.4.1 | 22.7 / 29.3 s |
| Python | django/318a316 | – | – | – | – | – | – | – | 2.4.1 | v2.4.1 / v2.4.1 | 16.4 / 19.6 s |
| Python | pallets/d73fa1c | 2.4.0+53594ad | 2026-11-07 | 107 s | 43% / 93% | Strong fit | 0.59 | 0.52 | – | – | – |
| TypeScript | vitejs/4835128 | 2.4.0+53594ad | 2026-11-07 | 111 s | 63% / 93% | Strong fit | 0.47 | 1.40 | 2.4.0 | v2.4.0 / v2.4.0 | 24.6 / 23.7 s |
| JavaScript | webpack/f6366b0 | 2.4.0+53594ad | 2026-11-07 | 479 s | 57% / 83% | Strong fit | 0.20 | 1.38 | 2.4.0 | v2.4.0 / v2.4.0 | 29.7 / 25.1 s |
| Java | apache/e547d70 | 2.2.2+11cfccc | 2026-11-06 | 266 s | 70% / 100% | Strong fit | 0.73 | 0.75 | 2.2.2+11cfccc | final / final | 15.5 / 14.9 s |
| C# | JamesNK/52fa3ae | 2.2.2+11cfccc | 2026-11-06 | 175 s | 63% / 80% | Strong fit | 0.67 | 1.15 | 2.2.2+11cfccc | final / final | 14.4 / 15.7 s |
| PHP | laravel/7d6d8e8 | 2.2.2+11cfccc | 2026-11-06 | 880 s | 80% / 90% | Likely fit | 0.53 | 1.06 | 2.2.2+11cfccc | final / final | 19.6 / 20.1 s |
| C++ | chromium/d8ebdd2 | 2.2.2+11cfccc | 2026-11-06 | 2,606 s | 60% / 90% | Strong fit | 0.40 | 1.32 | 2.2.2+0430f01 | before / before | 22 / 25.3 s |
| Go | prometheus/4bfb6bb | 2.2.2+11cfccc | 2026-11-06 | 118 s | 63% / 97% | Strong fit | 0.40 | 1.83 | 2.2.2+e5a9d9a | before / live-opt2 | 18.5 / 21.7 s |
| C | redis/a05f30c | 2.2.2+11cfccc | 2026-11-06 | 508 s | 63% / 93% | Strong fit | 0.47 | 3.38 | 2.2.2+e5a9d9a | before / live-opt2 | 13.3 / 17.2 s |
| Rust | tokio-rs/695a07d | 2.2.2+11cfccc | 2026-11-06 | 257 s | 70% / 100% | Strong fit | 0.73 | 0.88 | 2.2.2+0430f01 | before / before | 13.2 / 16.6 s |
Other runs
These projects have one run each, so they keep it.
Live, 12 questions per project (version 2.1.0)
| Project | Files | Cost (Grep / Nexus) | Turns | Correct | Commit, date |
|---|---|---|---|---|---|
| Private Python project | 460 | $0.571 / $0.446 (−22%) | 55 / 35 | 36 / 35 of 36 | a67e5b4, 2026-10-28 |
Offline check on other projects
| Project | Files | Verdict | Tokens to the right file (Grep / Nexus) | Right file first | Date |
|---|---|---|---|---|---|
| pallets/click | 91 | Strong fit | 24,774 / 1,301 | 27% / 97% | 2026-11-03 |
| Nexus-MCP source | 59 | Likely fit | 5,385 / 1,234 | 70% / 93% | 2026-11-03 |
Search accuracy gate (hit@1)
A change ships only when these do not fall.
| Retrieval suite | hit@1 |
|---|---|
jobscout | 0.81 |
nexus_mcp | 0.80 |
shop_repo | 0.50 |
flask | 0.64 |
Head to head: Nexus-MCP and four other code tools
django/django (Python, 7,067 files, commit 318a316): 12 tasks, 3 runs each, Claude Code 2.1.319, Claude Sonnet 5.5 (claude-sonnet-5-5), medium effort, headless (claude -p), 2026-11-09. Each total is the median over tasks of each task's median of 3 runs.
| Condition | Version | Tokens (median) | Cost per task (median) | Cost of all runs | Turns | Correct | Tool called |
|---|---|---|---|---|---|---|---|
| Nexus-MCP | 2.4.6 | 21,660 | $0.037 | $1.27 | 2 | 36 of 36 | 32 of 36 |
| GitNexus | 1.6.12 | 59,224 | $0.029 | $1.16 | 2.5 | 36 of 36 | 8 of 36 |
| codebase-memory-mcp | 0.12.1 | 46,220 | $0.033 | $1.18 | 3 | 36 of 36 | 2 of 36 |
| Serena | 2.1.0 | 33,552 | $0.028 | $1.15 | 3 | 36 of 36 | 9 of 36 |
| Graphify | 0.9.104 | 24,168 | $0.026 | $1.07 | 3 | 36 of 36 | 3 of 36 |
| Task | Category | Nexus-MCP | GitNexus | codebase-memory-mcp | Serena | Graphify |
|---|---|---|---|---|---|---|
dj-arch-orm-layers | architecture | 24,208, $0.055 | 30,776, $0.029 | 32,339, $0.035 | 17,186, $0.028 | 10,697, $0.026 |
dj-arch-request-to-query | architecture | 21,805, $0.039 | 59,484, $0.028 | 16,177, $0.022 | 32,589, $0.028 | 19,581, $0.027 |
dj-arch-validators-vs-fields | architecture | 36,967, $0.051 | 93,489, $0.049 | 51,958, $0.050 | 52,064, $0.045 | 33,298, $0.043 |
dj-concept-field-validation | conceptual | 16,482, $0.010 | 58,899, $0.020 | 44,712, $0.017 | 31,556, $0.017 | 18,503, $0.015 |
dj-concept-middleware-chain | conceptual | 20,656, $0.033 | 121,594, $0.042 | 64,971, $0.039 | 48,094, $0.028 | 28,755, $0.025 |
dj-concept-signal-dispatch | conceptual | 21,514, $0.036 | 58,965, $0.022 | 47,728, $0.030 | 48,345, $0.029 | 29,446, $0.028 |
dj-impact-field-validate | impact | 33,019, $0.040 | 60,285, $0.031 | 50,705, $0.038 | 51,644, $0.042 | 31,537, $0.036 |
dj-impact-sqlcompiler-as-sql | impact | 43,051, $0.077 | 100,203, $0.075 | 85,179, $0.080 | 105,407, $0.090 | 64,885, $0.089 |
dj-impact-urls-resolver | impact | 22,338, $0.040 | 95,486, $0.048 | 54,551, $0.049 | 34,516, $0.033 | 33,324, $0.037 |
dj-needle-charfield-class | needle | 17,151, $0.013 | 57,440, $0.012 | 29,333, $0.010 | 30,176, $0.010 | 17,273, $0.009 |
dj-needle-max-length-validator-code | needle | 16,401, $0.010 | 57,593, $0.013 | 29,426, $0.010 | 30,235, $0.010 | 17,434, $0.009 |
dj-needle-signal-send-robust | needle | 17,409, $0.015 | 58,511, $0.018 | 30,238, $0.015 | 31,045, $0.014 | 18,234, $0.013 |
- All five conditions answered all 36 runs correctly.
- Nexus-MCP used the fewest tokens of the five tools on 8 of 12 tasks. It cost the least on 1 of 12: it sends more uncached tokens per run (6.4k on average, against 4.3k to 4.9k), and uncached tokens set most of the cost.
- Nexus-MCP was called in 32 of 36 runs, GitNexus in 8, Serena in 9, Graphify in 3 and codebase-memory-mcp in 2.
- Tool called: the number of runs in which the agent called that tool's own MCP server. Each server started and listed its tools in every run. In the other runs the agent used Read, Grep and Glob, so a row with few calls mostly measures the built-in tools.
- Grep and Read is not in this table, because the table compares tools with each other. In the same session it cost less than every tool: median 16,138 tokens and $0.025 per task. Its 36 runs are in benchmarks/runs/competitors-2026-11-09/.
- Serena runs with --agent-interface=tools (one tool per operation); its default is a 2-tool REPL. GitNexus gets the CLAUDE.md block that gitnexus analyze writes. The other tools have no always-loaded block and get the instructions of their MCP server.
How the comparison was kept fair
- Same agent, model, prompt, budget and timeout in each condition.
- Read, Grep and Glob in each condition; a tool server is added to them, not in place of them.
- Each tool gets what its real user always has loaded: its MCP server and its always-loaded instructions.
- Indexes built before the runs; a warm-up call so that each run starts with a warm prompt cache.
- Isolated config folder and --strict-mcp-config for each run.
- Pinned repo commit and tool versions; ground truth checked with grep against the commit.
- The same mechanical scoring (file recall and required facts) for each condition; every task is published.
The tasks are in benchmarks/tasks/django.yaml.
Head to head: Nexus-MCP and four other code tools
home-assistant/core (Python, 26,347 files, commit 5b0d396): 6 tasks, 3 runs each, Claude Code 2.1.319, Claude Sonnet 5.5 (claude-sonnet-5-5), medium effort, headless (claude -p), 2026-11-09. Each total is the median over tasks of each task's median of 3 runs.
| Condition | Version | Tokens (median) | Cost per task (median) | Cost of all runs | Turns | Correct | Tool called |
|---|---|---|---|---|---|---|---|
| Nexus-MCP | 2.4.1 | 18,826 | $0.020 | $0.46 | 2 | 18 of 18 | 18 of 18 |
| GitNexus | 1.6.12 | 64,503 | $0.030 | $0.62 | 3 | 18 of 18 | 7 of 18 |
| codebase-memory-mcp | 0.12.1 | 44,532 | $0.019 | $0.42 | 3 | 18 of 18 | 0 of 18 |
| Serena | 2.1.0 | 39,482 | $0.021 | $0.39 | 3 | 18 of 18 | 0 of 18 |
| Graphify | 0.9.104 | 20,101 | $0.018 | $0.36 | 2.5 | 18 of 18 | 0 of 18 |
| Task | Category | Nexus-MCP | GitNexus | codebase-memory-mcp | Serena | Graphify |
|---|---|---|---|---|---|---|
ha-arch-startup-flow | architecture | 27,108, $0.065 | 61,293, $0.040 | 32,315, $0.037 | 33,652, $0.035 | 20,705, $0.037 |
ha-concept-event-bus | conceptual | 18,673, $0.017 | 57,648, $0.011 | 29,393, $0.008 | 30,349, $0.009 | 17,471, $0.006 |
ha-concept-service-call | conceptual | 18,736, $0.018 | 87,517, $0.021 | 45,047, $0.016 | 47,142, $0.020 | 27,704, $0.017 |
ha-impact-async-setup-component | impact | 20,060, $0.027 | 67,924, $0.061 | 50,230, $0.040 | 32,560, $0.023 | 30,378, $0.028 |
ha-impact-entity-update-state | impact | 18,915, $0.022 | 67,713, $0.058 | 46,221, $0.023 | 47,661, $0.024 | 19,497, $0.019 |
ha-needle-eventbus-fire-line | needle | 16,436, $0.006 | 61,175, $0.019 | 44,018, $0.010 | 45,313, $0.011 | 17,191, $0.005 |
- All five conditions answered all 18 runs correctly.
- Nexus-MCP used the fewest tokens of the five tools on 4 of 6 tasks. It cost the least on none of them.
- Nexus-MCP was called in 18 of 18 runs and GitNexus in 7. Serena, Graphify and codebase-memory-mcp were not called in any run, so their rows measure Read, Grep and Glob.
- Tool called: the number of runs in which the agent called that tool's own MCP server. Each server started and listed its tools in every run. In the other runs the agent used Read, Grep and Glob, so a row with few calls mostly measures the built-in tools.
- Grep and Read is not in this table, because the table compares tools with each other. In the same session it cost less than every tool: median 15,270 tokens and $0.018 per task. Its 18 runs are in benchmarks/runs/competitors-2026-11-09/.
- The Nexus-MCP index was built by commit 195090c, which differs from the 2.4.1 tag only in the version string.
- Serena runs with --agent-interface=tools (one tool per operation); its default is a 2-tool REPL. GitNexus gets the CLAUDE.md block that gitnexus analyze writes. The other tools have no always-loaded block and get the instructions of their MCP server.
How the comparison was kept fair
- Same agent, model, prompt, budget and timeout in each condition.
- Read, Grep and Glob in each condition; a tool server is added to them, not in place of them.
- Each tool gets what its real user always has loaded: its MCP server and its always-loaded instructions.
- Indexes built before the runs; a warm-up call so that each run starts with a warm prompt cache.
- Isolated config folder and --strict-mcp-config for each run.
- Pinned repo commit and tool versions; ground truth checked with grep against the commit.
- The same mechanical scoring (file recall and required facts) for each condition; every task is published.
The tasks are in benchmarks/tasks/home-assistant.yaml.
Community results
Runs shared with nexus-mcp-ci eval share and accepted by a maintainer. Numbers only: no code and no private names.
None yet. Yours can be the first.
Method
- Live: Claude Code with Claude Sonnet, medium effort, headless. 6 tasks per repo, 3 runs each; each number is the median over tasks of each task's median of 3 runs.
- Baseline: Grep, Glob and Read only. Nexus-MCP: the same built-in tools plus the Nexus-MCP server and its instructions.
- Offline: nexus-mcp-ci eval: about 30 questions made from each repo, the right file from the parser, no LLM; tokens are characters divided by 4.
- One row per repo: the latest run of each tier. The Grep and Read side does not depend on the Nexus-MCP build, so it can come from an earlier run.
- The same code can vary by about 20% in cost with 3 runs per task (measured 2026-10-28).
Run it on your own code: uvx --python 3.12 nexus-mcp-ci eval (offline, free) or nexus-mcp-ci eval --agent claude (a paid A/B with your own Claude Code login; it shows the cost first). Full method, raw runs.
Data: benchmarks.json (source of truth) and benchmarks.csv.