The token economy of AI coding agents just got a serious efficiency upgrade. DevProjex, a new local Model Context Protocol (MCP) server, is generating buzz on Hacker News for its claim to reduce context token usage by up to 40% compared to the popular packing tool Repomix. Developed by Avazbek22, the tool targets the growing pain point of coding agents like Claude Code, Codex, and Cursor drowning in unnecessary repository data. By sitting between the code and the model, DevProjex provides targeted code search, dependency graphs, and Git diffs without ever modifying the source files.
The Benchmark Breakdown
The core value proposition rests on head-to-head benchmarks conducted in November 2026. In two blind runs using Claude Haiku 4.5, DevProjex consumed 8.7 million and 8.9 million context tokens, respectively, while Repomix 1.19.0 required 14.8 million and 12.5 million. The judge preferred DevProjex's answers in 15 out of 18 tasks. The tool also outperformed Claude Code's native file tools, using 16.5% fewer tokens and 27% fewer tool calls while finding 14 more required files in the same test environment. This isn't just about saving money; it's about staying within context windows without hitting turn limits.
Security and Control
A standout feature for the security-conscious developer is the mandatory secret masking. DevProjex replaces detected credentials in place for every MCP response, with no option for the agent to disable this feature. In testing with seven planted credentials, neither tool leaked a secret, but DevProjex kept all seven files readable by masking values, whereas Repomix dropped one file entirely upon finding a secret. The server operates on a strict 'root jail' principle, reading only within specified folders and rejecting symlinks that lead outside the allowed scope. It also marks file contents as untrusted data to mitigate prompt injection risks.
Architecture and Integration
DevProjex offers a unified engine accessible via a desktop app, a keyboard-first Terminal Workspace, a CLI, and the MCP server. Installation is straightforward, supporting npx devprojex for Node.js 20+ or dnx devprojex for .NET SDK 10. The MCP server exposes six default toolsβsuch as search_project, related_files, and get_diffβexpanding to nine with the --tool-set full flag. The related_files tool builds a dependency graph from real imports, allowing agents to understand code relationships without pre-built embeddings or vector databases. This 'codebase RAG' approach is entirely local, ensuring privacy and reducing infrastructure overhead.
Key Takeaways
- DevProjex claims up to 40% fewer context tokens than Repomix in blind benchmarks.
- Secret masking is always on and cannot be disabled by the agent or configuration.
- The tool is read-only for the source project, ensuring no accidental file modifications.
- Supports multiple interfaces including CLI, desktop app, and MCP server for various clients.
The Bottom Line
For developers tired of watching their token budgets evaporate on redundant file reads, DevProjex looks like a necessary evolution in agent tooling. It respects the agent's need for context without sacrificing security or efficiency. The 'Live Context' feature, where ticking files in the desktop app instantly updates the agent's focus, is a clever UX touch that bridges the gap between manual curation and automated exploration.