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 GitNexus
Chromium base/ (C++, 4,243 files, commit d8ebdd2): 8 tasks, 3 runs each, Claude Code 2.1.280, Claude Sonnet, headless (claude -p), 2026-11-04. 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 |
|---|---|---|---|---|---|---|
| Grep and Read | built-in tools | 62,450 | $0.057 | $1.58 | 5 | 24 of 24 |
| Nexus-MCP | 2.2.0 with the C++ parser fixes of 2.2.1 | 82,900 | $0.062 | $1.64 | 6 | 24 of 24 |
| GitNexus | 1.6.12 | 164,192 | $0.085 | $2.13 | 6 | 24 of 24 |
| Task | Category | Grep and Read | Nexus-MCP | GitNexus |
|---|---|---|---|---|
cr-concept-weakptr-invalidate | conceptual | 50,057, $0.077 | 82,568, $0.069 | 110,006, $0.088 |
cr-impact-atexit-registercallback | impact | 58,666, $0.040 | 72,676, $0.046 | 212,910, $0.090 |
cr-impact-histogram-bucket-ranges | impact | 256,305, $0.164 | 267,985, $0.175 | 374,064, $0.173 |
cr-concept-json-reader-backend | conceptual | 56,211, $0.037 | 109,361, $0.055 | 180,053, $0.076 |
cr-needle-json-max-depth | needle | 66,234, $0.029 | 49,847, $0.022 | 97,562, $0.028 |
cr-needle-utf8-to-utf16 | needle | 52,976, $0.028 | 32,710, $0.018 | 103,939, $0.045 |
cr-arch-task-scheduling | architecture | 132,197, $0.083 | 111,439, $0.090 | 191,516, $0.099 |
cr-concept-timer-hierarchy | conceptual | 71,500, $0.074 | 83,231, $0.082 | 148,332, $0.082 |
- All three conditions answered all 24 runs correctly.
- Nexus-MCP used fewer tokens than GitNexus on 8 of 8 tasks and cost less on 6; GitNexus cost $0.002 less on one task, and one task was a tie.
- Grep and Read cost less than both on this C++ code. Nexus-MCP cost less than Grep and Read on 3 of 8 tasks (the two needle tasks and WeakPtr).
- GitNexus sends about 17.9k tokens of tool schema on each turn (17 tools); Nexus-MCP sends about 2.3k (8 tools).
- The GitNexus condition gets its MCP server and the CLAUDE.md block that gitnexus analyze writes; its on-demand skills are not given.
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/chromium-base.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.