TokenMS open-source local MCP server cuts coding-agent token burn by ~40-50%
nexxismyname · reddit · 2026-12-04
TokenMS is an open-source local MCP server that filters codebase noise before it hits the LLM, targeting 5-hour/weekly quota drain on Antigravity, Cursor, and Claude Desktop. Key mechanisms: prefix-stable context assembly (deterministic static prefix + append-only suffix to keep provider KV/prompt caches warm), a minimal 7-tool surface with on-demand discovertools/dispatch routing to cut the tools-schema tax, a SQLite delta ledger that avoids resending unchanged symbols and detects agent loops, TOON compact wire format, an async job runner that distills test logs to <400-token failure summaries, and multi-project isolation. Author reports 40-50% quota savings with no accuracy loss.
Related event: Open-source MCP server TokenMS cuts coding agent token use by ~half(3 posts)→
More from coding & agent
- Qwen4 35B runs browser agents locally: 18GB RAM, ~90 tok/s on M5 Mac, scores 63.1 — alexcovo_eth · 2026-12-05
- Adapting the free web to AI: a BYO-model API scheme so users fund their own inference — simplext · 2026-12-05
- A developer's 2025 terminal stack: Rex shines, OpenCode still tops terminal agents — intellectronica · 2026-12-05
- Herdr turns any coding agent into a hosted desktop app you control from your phone — rudrank · 2026-12-05
- 5 lesser-known Claude skills under 600 stars that make video, 3D games and sound — VridhiMehta · 2026-12-05
- TokenMS v2: open-source local MCP server claims 40-50% token savings for coding agents — nexxismyname · 2026-12-05