cd /news/ai-agents/show-hn-devprojex-mcp-code-search-fo… · home › topics › ai-agents › article
[ARTICLE · art-179763] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: DevProjex – MCP code search for agents, 40% fewer tokens than Repomix

Developer DevProjex released a local MCP server that cuts coding-agent context tokens by 40.9% versus Repomix 1.19.0 in one blind run and 28.8% in a second, according to the author's own benchmark of 18 tasks on real open-source repositories using Claude Haiku 4.5 in Claude Code. The server returns declaration-level search results, single functions by name or line range, and an import-based dependency graph across 14 languages instead of packing whole repositories, and it also beat Claude Code's built-in Read/Grep/Glob by 16.5% fewer tokens and 27% fewer tool calls in run 2. The author states the benchmark is his own, with tasks, per-task tables and judge verdicts published under Docs/Benchmarks and the harness in tools/AgentBenchmark; DevProjex is Apache-2.0, built on C#/.NET 10 with an Avalonia desktop app, and runs locally with no telemetry or account.

key takeaway

Replacing whole-repo packing with declaration-level search, named-function retrieval and an import-based dependency graph cut context tokens 40.9% and 28.8% versus Repomix 1.19.0 across two 18-task runs, and 16.5% versus Claude Code's built-in tools.

read2 min views21 publishedDec 1, 2026

Hi HN, I'm the author. DevProjex is a local MCP server (plus a desktop app, a terminal UI and a CLI on the same engine) that gives coding agents such as Claude Code, Codex and Cursor a cheaper way to read a codebase.

The idea: packing a whole repository into one file made sense for chats, but an agent makes dozens of tool calls, and everything a tool returns is billed again on every later turn. So instead of packing, the server lets the agent read less:

  • search results name the declaration each match sits in, so the agent often doesn't need to open the file; - get_file returns one function by name, a line range, or up to 16 files in one call; a long file comes as an outline with line ranges first; - related_files is a dependency graph built from real imports and type references (14 languages), with no embeddings and no vector database; - get_diff returns staged files, current changes or a ref-to-ref diff as hunks; - secrets are masked in every response and the agent can't turn that off. The value is replaced, the file stays readable.

Numbers from two blind runs of 18 tasks on real open-source repositories (Claude Haiku 4.5 in Claude Code, Repomix 1.19.0, a judge that sees only "Answer A" and "Answer B"):

  • context tokens: 8.7M vs 14.8M for Repomix in run 1 (40.9% fewer), 8.9M vs 12.5M in run 2 (28.8% fewer); - against Claude Code's own Read/Grep/Glob in run 2: 16.5% fewer tokens, 27% fewer tool calls; - required files found, of 84: 78 with DevProjex, 66 with Repomix, 64 with the built-in tools; - the judge preferred the DevProjex answer in 15 of 18 tasks against Repomix.

The savings don't come from stripping code: in these runs the agent read original source, method bodies included. (There is a Tree-sitter based compression mode, but it's a separate option for pasting code into chats.)

The benchmark is mine, so treat it as such: the tasks, the per-task tables and the judge's verdicts are in the repo under Docs/Benchmarks, and the harness is in tools/AgentBenchmark if you want to run it on your own repositories.

One line to try it with Claude Code:

claude mcp add devprojex -- npx -y devprojex mcp --root /absolute/path/to/project It runs locally with no telemetry and no account. C#/.NET 10, Avalonia for the desktop app, Apache-2.0. I'd like to hear where it does worse than what you use now.

Comments URL: [https://news.ycombinator.com/item?id=50721020](https://news.ycombinator.com/item?id=50721020)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @devprojex 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-devprojex-mc…] indexed:0 read:2min 2026-12-01 · —