GrapeRoot: Open-source tool reduces Claude Code token usage by 40-80%

GrapeRoot is a free, open-source tool that reduces Claude Code token usage by 40-80% by acting as a local MCP server between your codebase and the AI model. Instead of sending full files repeatedly, it builds a structured understanding of your repository and tracks what the model has already seen during each session.
How it works
The tool builds a graph of your codebase (files, functions, dependencies) and tracks what the AI has already read or edited. It then sends only delta changes and relevant context instead of entire files, which stops repeated context loading and makes LLM responses more consistent across turns.
Performance results
- 40-80% token reduction depending on workflow
- Refactoring workflows show the biggest savings
- Greenfield development shows smaller gains
- 500+ users with ~200 daily active users
- ~4.5/5★ average rating
The developers found that pushing for 80-90% reduction caused quality to drop. The sweet spot is around 40-60% reduction where outputs actually improve rather than degrade. Benchmarks showing quality improvements are available at graperoot.dev/benchmarks.
Technical details
- Runs 100% locally
- No account or API key needed
- No data leaves your machine
Installation and resources
- Open source repository: github.com/kunal12203/Codex-CLI-Compact
- Better installation steps: graperoot.dev/#install
- Discord for debugging/feedback: discord.gg/YwKdQATY2d
According to the source, this approach means early-stage developers can get away with almost no cost, while serious builders don't need $200/month subscriptions anymore. A basic subscription combined with better context handling is sufficient.
📖 Read the full source: r/ClaudeAI
👀 See Also

git-courer: An MCP Server That Forces AI Agents to Write Proper Git Commit Messages
git-courer is a local MCP server in Go that intercepts diffs from AI coding agents and translates them into structured, human-readable commit messages with WHY and WHAT sections.

Open Source Second Brain System Built on Claude Code for Task Management
An open source system called Kipi System uses Claude Code to track open threads, draft follow-ups, and manage tasks by pulling from calendar, email, CRM, and social feeds. It generates a daily HTML file with pre-written actions sorted by friction.

Throttle Meter: Open-Source Claude Code Usage Meter for macOS
Open-source macOS menu bar app that reads local Claude Code logs to show real-time 5-hour and weekly usage, with threshold notifications and token-saving hooks. Also has a €19 commercial sibling with Exact mode (reads claude.ai's internal API via Safari).

OpenEvol: Offline Self-Improvement Pipeline for LLMs Using Conversation History
OpenEvol v0.1.1 is an offline pipeline that automatically mines AI conversation history to create fine-tuning datasets without manual labeling. It runs on CPU initially and supports five teacher backends including OpenAI-compatible APIs and HuggingFace Transformers.