MCP servers eat 29k tokens before you type a word — dev ships mcp-tax CLI to measure the tax
princejain756 · reddit · 2026-10-12
The author connected to all 9 MCP servers in his configs as a plain client and counted the tokens their tool/prompt/resource schemas inject into context: claude-code 14.3k (Bash schema alone 2.5k), chrome-devtools 5.3k, blender 3.5k—29k total, or 90% of a 32k window, explaining why local models feel lobotomized with many MCP servers. Official reference servers are lean (fetch is just 235 tokens); description verbosity drives the cost. He packaged the measurement as a CLI that auto-discovers configs, spawns servers over stdio, counts with o200k, and reports per-server totals as % of 200k/128k/32k windows: npx github:princejain756/mcp-tax.
More from coding & agent
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29