Repository navigation
Why does an MCP server I never use still cost tokens, and how do I find which ones? #9
Unanswered
nemesisLLC
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Short answer: every connected MCP server sends its tool descriptions to the model with every request, so the model can choose a tool. If you never call the server, you still pay for those descriptions.
How much depends on the server. Two short tools add a few hundred tokens per request. A browser server with a dozen tools and long schemas can add several thousand. On one of our own development machines, 12 installed capabilities hadn't been used in 30 days and still added about 6,100 tokens to every request.
Measure one server by hand in Claude Code
/contextin a session and note the MCP tools figure.claude mcp remove <name>) or comment it out of~/.claude.json./contextagain.The difference is that server's cost per request.
What to do about it
enabled = falseinconfig.toml. Cursor: the switch in its MCP settings. Claude Code: remove it, or keep it project-scoped so it only loads where you need it.Doing it across agents
The
/contextmethod shows one session in one agent. Calyban 1.3's Capabilities page reads the session logs Claude Code, Codex, Copilot, Gemini CLI and Claude Desktop already keep on your PC and lists each server's uses and API-equivalent cost, including a "costing you while idle" list. Cursor isn't covered, because it keeps chats in a database rather than log files.Full write-up: https://calyban.com/blog/which-mcp-servers-use-your-tokens
All reactions