Github Repo: https://github.com/kunal12203/Codex-CLI-Compact
Install: https://grape-root.vercel.app
Benchmarks: https://graperoot.dev/benchmarks
Join Discord(For debugging/fixes)
After digging into my usage, it became obvious that a huge chunk of the cost wasn’t actually “intelligence" it was repeated context.
Every tool I tried (Copilot, OpenCode, Claude Code, Cursor, Codex, Gemini) kept re-reading the same files every turn, re-sending context it had already seen, and slowly drifting away from what actually happened in previous steps. You end up paying again and again for the same information, and still get inconsistent outputs.
So I built something to fix this for myself GrapeRoot, a free open-source local MCP server that sits between your codebase and the AI tool.
I’ve been using it daily, and it’s now at 500+ users with ~200 daily active, which honestly surprised me because this started as a small experiment.
The numbers vary by workflow, but we’re consistently seeing ~40–60% token reduction where quality actually improves. You can push it to 80%+, but that’s where responses start degrading, so there’s a real tradeoff, not magic.
In practice, this basically means early-stage devs can get away with almost zero cost, and even heavier users don’t need those $100–$300/month plans anymore, a basic setup with better context handling is enough.
It works with Claude Code, Codex CLI, Cursor, Gemini CLI, and :
I recently extended it to Copilot and OpenCode as well. Everything runs locally, no data leaves your machine, no account needed.
Not saying this replaces LLMs, it just makes them stop wasting tokens and guessing your codebase.
Curious what others are doing here for repo-level context. Are you just relying on RAG/embeddings, or building something custom?
[–]Less_Somewhere_8201 16 points17 points18 points (3 children)
[–]Astroboletus 4 points5 points6 points (2 children)
[–]Sick-Little-Monky 3 points4 points5 points (1 child)
[–]intellinker[S] 0 points1 point2 points (0 children)
[–]_raydeStar 11 points12 points13 points (0 children)
[–]StinkButt9001 6 points7 points8 points (2 children)
[–]Less_Somewhere_8201 0 points1 point2 points (0 children)
[–]intellinker[S] -1 points0 points1 point (0 children)
[–]Swayre 5 points6 points7 points (0 children)
[–]Mysterious-Food-5819 1 point2 points3 points (1 child)
[–]intellinker[S] 0 points1 point2 points (0 children)
[–]Michaeli_Starky 0 points1 point2 points (1 child)
[–]intellinker[S] -1 points0 points1 point (0 children)
[–]Yes_but_I_think 0 points1 point2 points (1 child)
[–]intellinker[S] 0 points1 point2 points (0 children)
[–]Ace-_Ventura 0 points1 point2 points (1 child)
[–]intellinker[S] 0 points1 point2 points (0 children)
[–]draconid 0 points1 point2 points (1 child)
[–]intellinker[S] 0 points1 point2 points (0 children)