📊
Tools/MCP Context Budget Calculator

MCP Context Budget Calculator

See how much of a model's context window your MCP servers consume — and which server to cut first when they no longer fit.

55 TOOLS
A calculadoraPage 1
name · tool count
Description + inputSchema. Verbose schemas push this well past 550.
Total tools
55
Tool tokens
30,250
Worst verdict
Severe
Context windowUsable for toolsTool tokensShareHeadroomVerdict
128,000
GPT-4o, GPT-4o Mini, DeepSeek Chat +1
88,00030,25024%57,750Severe
tokens: Moderate · count: Severe
200,000
o3, o4-mini, Claude 4 Sonnet +3
142,00030,25015%111,750Severe
tokens: Moderate · count: Severe
1,000,000
GPT-4.1, GPT-4.1 Mini, GPT-4.1 Nano
742,00030,2503%711,750Severe
tokens: Healthy · count: Severe
1,048,576
Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash +1
778,43230,2503%748,182Severe
tokens: Healthy · count: Severe
10,485,760
Llama 4 Scout
7,856,32030,2500%7,826,070Severe
tokens: Healthy · count: Severe
You expose 55 tools. Practitioners recommend no more than 10–15 at once — selection accuracy has been measured collapsing from 43% to under 14% on bloated tool sets, independently of token usage.
Which server to cut first
Nothing needs cutting on the smallest window — there is already enough headroom.
Then collapse overlapping tools into action-parameterised ones, or route them behind a single router tool.
Per-server breakdown
github35 tools, ~19,250 tokens (550/tool)
slack12 tools, ~6,600 tokens (550/tool)
filesystem8 tools, ~4,400 tokens (550/tool)
Data Source & Legal Disclaimer
Effective: Tool-definition cost model: description at 4.0 chars/token, inputSchema at 3.6 chars/token
Sources: Model context windows from the site LLM pricing dataset (public/data/llm-pricing.json)

Tool token counts are estimates from a character-based cost model, not measured tokenizer output. Real counts vary by provider tokenizer and by how verbose your tool descriptions are — treat the percentages as a sizing guide, not a billing figure.

See all data sources & update policy →
Como funcionaPage 2

Two things break your agent — and only one of them is about tokens

Attaching MCP servers has a cost you pay on every single request: each server's tool definitions are injected into the context window before your actual question. A tool definition is mostly its description plus its inputSchema, which is why verbose schemas are expensive — the calculator prices the description at roughly 4 characters per token (prose) and the schema at 3.6 (JSON, denser). Your usable budget is the window minus what you reserve for the model's reply and for the conversation itself. But there is a second, independent failure mode: too many tools. Practitioners recommend no more than 10–15 tools exposed at once, because tool-selection accuracy has been measured collapsing from 43% to under 14% on bloated tool sets — and that happens regardless of how few tokens they consume. A set of 30 terse tools can look perfectly healthy by token share and still wreck your agent. So this calculator grades both dimensions separately and reports the worse of the two.

One context window, four competing claims on it
ONE CONTEXT WINDOWtool definitionscharged every requestoutputconversationfreeverdict A · by tokensshare of window15% / 30% / 50%verdict B · by tool countselection collapse15 / 25 / 40 toolsthe worse one winsCOST MODELdesc 4.0 c/tschema 3.6 c/t≈550 tokper tool43% → 14%selectionaccuracy

Tool definitions are charged on every request. The two failure modes — window pressure (by tokens) and selection collapse (by tool count) — are graded independently, and the worse verdict wins.

A three-server setup that looks fine and is not

A developer attaches github (35 tools), slack (12) and filesystem (8) — 55 tools totalling roughly 30,250 tokens at the 550-token default.

  1. Token share:On a 200K window that is ~15% — borderline, and it fits with room to spare
  2. Tool count:55 tools is far past the 10–15 guideline, so the tool-count verdict is severe
  3. Combined verdict:Severe — the worse of the two dimensions, not the average
  4. First fix:Drop the biggest server, or collapse overlapping tools behind a router tool
Joke of the Day
Sep 15

Why did the cow cross the road?

Free core, forever

Keep the Free Edition Free

No signups, no data sold. The core of every tool is free forever — the optional Pro plan adds batch processing, unlimited downloads, white-label exports and an ad-free experience.

Support me on Ko-fi— keep tools free

100% of proceeds go towards hosting & building more free tools.