{"slug": "i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes", "title": "I Audited 25 Official MCP Servers: 688 Tools, 311,658 Tokens, and Where 417,621 Bytes Hide", "summary": "A developer audited all 25 official and reference MCP servers using two open-source tools, ctxvitals and canimcp, finding they expose 688 tools totaling 1,246,594 schema bytes, or roughly 311,658 estimated tokens loaded before any user message. Two servers account for 42.6% of the footprint, and outputSchema definitions across 330 tools in 7 servers add 417,621 bytes (33.5% of the corpus). The audit also surfaced client-breaking schema bugs, including GitLab MCP omitting a root \"type\": \"object\" across all 9 tools, which caused claude-code 2.1.295 to drop the entire server tool list.", "body_md": "Most developers judge coding agents by the model name while ignoring how much context the tool layer consumes before prompt zero.\n\nAcross November, I probed all 25 official and reference MCP servers in our public ledger over default stdio startup profiles using [`ctxvitals`](https://github.com/princejain756/ctxvitals) and [` canimcp`](https://github.com/princejain756/canimcp). Together, those 25 servers expose 688 tools totaling 1,246,594 schema bytes, or 311,658 estimated tokens (`ceil(schema_bytes / 4)` per server; dividing the aggregate byte total once yields 311,648.5).\n\nThis tutorial walks through how to reproduce those measurements locally, where the biggest bloat hides, and which schema bugs actually break clients.\n\nRequires Node.js 18+.\n\n```\n# Audit every MCP server and always-loaded skill file in your local agent configs\nnpx ctxvitals\n\n# Run static config checks only without spawning stdio server processes\nnpx ctxvitals --no-probe\n\n# Export JSON or an HTML scorecard\nnpx ctxvitals --json\nnpx ctxvitals --html report.html\n```\n\nTo check JSON schemas directly for client compatibility bugs (such as missing root `\"type\": \"object\"`, `enum` inside `anyOf`/` oneOf`, and oversized `outputSchema` payloads):\n\n```\nnpx canimcp\n```\n\nTwo servers generate 42.6% of the entire 25-server footprint before a single user message enters context:\n\n`@sentry/mcp-server@0.51.0`)` get_issue_details` alone costs 17,194 bytes (4,299 tokens).`@tacticlaunch/mcp-linear@1.4.6`)` firecrawl-mcp@3.41.0`)` github/github-mcp-server`)`--toolsets=all` expands GitHub to 94 tools and 67,910 estimated tokens (271,637 bytes).`@brave/brave-search-mcp-server@2.2.0`)`@notionhq/notion-mcp-server@2.6.1`)\nTool count alone gives a false signal. Cloudflare (`@cloudflare/mcp-server-cloudflare@0.2.0`) ships 89 tools in 7,838 tokens (31,349 bytes), nearly four times smaller than Brave Search's 9 tools. Five servers stay under 650 tokens total: Postgres (`@modelcontextprotocol/server-postgres@0.6.2`, 1 tool, 33 tokens), SQLite (` mcp-server-sqlite@2025.4.25`, 6 tools, 321 tokens), GitLab (`@modelcontextprotocol/server-gitlab@2025.4.25`, 9 tools, 356 tokens), Fetch Reference (` mcp-server-fetch@2026.11.18`, 1 tool, 363 tokens), and Puppeteer (`@modelcontextprotocol/server-puppeteer@2025.5.12`, 7 tools, 612 tokens).\n\nInput parameters were not the biggest driver of schema weight. Across 7 servers, 330 of 688 tools declare `outputSchema` definitions totaling 417,621 bytes (33.50% of the entire 25-server corpus):\n\n`outputSchema` (150,839 bytes, 52.13% of server schema).`brave_place_search` at 86,181 total bytes where 80,058 bytes are Every `outputSchema` declaration inflates startup context and requires the server to return matching `structuredContent` alongside text at runtime.\n\n`$defs` duplication (`src/openapi-mcp-server/openapi/parser.ts`. Only 6 tools (` API-patch-block-children`, `API-post-page`, `API-query-data-source`, `API-update-a-data-source`, `API-create-a-data-source`, and `API-move-page`) contain a `$ref` pointing to `canimcp 0.1.0` corpus `2026.10.16`)` oneOf` checks, yet GitLab MCP (`@modelcontextprotocol/server-gitlab@2025.4.25`) omitted `\"type\": \"object\"` at the input schema root across all 9 tools, causing `claude-code 2.1.295` to drop the entire server tool list. Four tools across Notion (`API-post-search`, `API-update-page-markdown`), Brave Search (` brave_llm_context`), and Firecrawl (` firecrawl_search`) also triggered Codex `0.162.0` `enum-in-composition` warnings.`mcp-server-sqlite@2025.4.25` crashed on bare startup under `mcp 2.x` (`AttributeError` on missing `list_resources`) until pinned to `mcp>=1.6.0,<2.0.0`.`@stripe/agent-toolkit@0.9.x` / `@stripe/mcp@0.3.4`) and Vercel (` mcp.vercel.com`) now proxy remote OAuth endpoints that return `HTTP 401` unauthenticated, so the corpus measures `@stripe/agent-toolkit@0.7.12` (22 tools, 5,403 tokens) and `next-devtools-mcp@0.4.2` (4 tools, 1,744 tokens).`ceil(schema_bytes / 4)` over default stdio lists rather than a model-specific BPE tokenizer, and `canimcp` findings reflect static schema checks.\nSource code and full notes live at [github.com/princejain756/ctxvitals](https://github.com/princejain756/ctxvitals), [github.com/princejain756/canimcp](https://github.com/princejain756/canimcp), and [the canonical essay on Medium](https://medium.com/@prince.sh/i-audited-25-official-mcp-servers-their-tool-schemas-burn-311-658-tokens-before-prompt-zero-1e2f16e129e4).", "url": "https://wpnews.pro/news/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes", "canonical_source": "https://dev.to/princejain756/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes-hide-2nh0", "published_at": "2026-12-02 04:07:32+00:00", "updated_at": "2026-12-02 04:13:06.203222+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "large-language-models"], "entities": ["ctxvitals", "canimcp", "GitHub", "Cloudflare", "Brave Search", "Notion", "GitLab", "Stripe"], "also_reported_by": [], "takeaway": "MCP tool schemas can consume over 300,000 tokens before any user message, with outputSchema definitions alone adding 417,621 bytes across 330 tools, so audit schema weight and validate root \"type\": \"object\" to avoid clients dropping a server's tool list.", "recommendation": {"advice": "Audit your MCP servers' schema token cost with ctxvitals and validate schemas with canimcp before shipping, since oversized outputSchema and missing root type fields silently break agent clients.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes", "markdown": "https://wpnews.pro/news/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes.md", "text": "https://wpnews.pro/news/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes.txt", "jsonld": "https://wpnews.pro/news/i-audited-25-official-mcp-servers-688-tools-311658-tokens-and-where-417621-bytes.jsonld"}}