MCP Token Cost Calculator
Every MCP server you connect sends its tool definitions to the model on every turn. Estimate how much of your context window that's actually costing you.
1 Your tools
Paste the raw tools/list response from your server (or a bare array of tool schemas). The example below is a small GitHub-style server.
2 Context cost
- 128K GPT-4 class0.12%
- 200K Claude0.08%
- 1M Claude long context0.02%
Per tool (2)
Counts use a GPT-4-class tokenizer as an approximation — exact counts vary by model.
Why MCP servers have a token cost
When an MCP client connects to a server, it asks for that server's list of tools — each with a name, a description, and a JSON Schema describing its parameters — and includes all of that in every request sent to the model, whether or not the model ends up calling any of those tools that turn. Connect enough servers, especially ones with many tools or verbose parameter schemas, and you can burn a meaningful slice of your context window before you've typed a single message.