{"slug": "the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window", "title": "The MCP context tax: I measured what tool definitions cost your context window (21,328 MCP servers)", "summary": "A developer measured the context-window cost of MCP tool definitions by calling tools/list on every public MCP server that answers without credentials, finding 13,716 responding servers out of 21,328. The median server's tool definitions consume roughly 4,800 tokens before any prompt is read, while the top 10% reach about 40,000 tokens — an 8× jump — with the longest lists topping out at 1,932 tools (minia2a), 1,040 (Novarithm Agent Hub) and 922 (DelegAIze). The author recommends trimming tool lists via the tools field and per-server toggles in clients like Cursor and Cline, noting that disabling 20 unused tools on a 30-tool server reclaims most of its cost.", "body_md": "*Originally published on [Serverdex](https://serverdex.io/articles/mcp-context-tax), where the numbers update live.*\n\nHere's a cost most people never see: **every MCP tool definition is loaded into your model's context *before* it does any work.** Connect a server, and its tools' names, descriptions and full argument schemas are sent to the model on every single turn — before it reads your prompt.\n\nTen lean tools are cheap. One server with two hundred verbose tools is a standing bill you pay on every message. Nobody had measured that bill across the ecosystem, so I did.\n\nI called `tools/list` on every public MCP server that answers — no API key, no OAuth — and measured the tool and token footprint. From the live run on **20 Nov 2026** (13,716 answering servers):\n\nThat bill isn't just tokens. It's:\n\nMost answering servers sit in the 6–50 tool range, but the tail is heavy:\n\n| Tools exposed | Servers | \n|---|---|\n| none listed | 67 | \n| 1–5 | 2,890 | \n| 6–20 | 4,904 | \n| 21–50 | 5,282 | \n| 51+ | 573 | \n\nThe jump from the median (~4.8k tokens) to the top 10% (~40k) is roughly **8×**. A small number of servers carry most of the weight. The longest tool lists I found: minia2a (1,932 tools), Novarithm Agent Hub (1,040), DelegAIze (922).\n\nSet against a 200K-token window (Claude's, used here only for scale):\n\nYou rarely need every tool of every server in one task. From biggest effect to smallest:\n\n`tools` field, Cursor's per-server enable switch, Cline's per-server toggles. Turning off the 20 tools you never call on a 30-tool server reclaims most of its bill.\nServerdex calls every listed server with a streamable-HTTP remote about once a day with a credential-free `initialize` + `tools/list`, and records the tool list. Token cost is an estimate: characters of the raw definitions ÷ 4 (the floor — a real client frames each one with more). Percentiles are over answering servers.\n\nIf you maintain MCP servers: your tool list is a budget. Spend it like one.", "url": "https://wpnews.pro/news/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window", "canonical_source": "https://dev.to/serverdex/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window-21328-mcp-servers-26jn", "published_at": "2026-11-20 18:10:15+00:00", "updated_at": "2026-11-20 18:14:06.812386+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "large-language-models", "mlops"], "entities": ["Serverdex", "minia2a", "Novarithm Agent Hub", "DelegAIze", "Cursor", "Cline", "Claude"], "also_reported_by": [], "takeaway": "Each connected MCP server's tool definitions load into context every turn, with the median server costing ~4.8k tokens and the top 10% ~40k, so disabling unused tools via the tools field or per-server toggles reclaims most of that budget.", "recommendation": {"advice": "Audit your MCP servers' tool lists and disable tools you never call using the tools field or per-server toggles; the median server costs ~4.8k tokens per turn and the top 10% ~40k.", "playbook": "llm-cost", "playbook_url": "https://wpnews.pro/playbooks/llm-cost"}, "alternates": {"html": "https://wpnews.pro/news/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window", "markdown": "https://wpnews.pro/news/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window.md", "text": "https://wpnews.pro/news/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window.txt", "jsonld": "https://wpnews.pro/news/the-mcp-context-tax-i-measured-what-tool-definitions-cost-your-context-window.jsonld"}}