Most developers judge coding agents by the model name while ignoring how much context the tool layer consumes before prompt zero.
Across November, I probed all 25 official and reference MCP servers in our public ledger over default stdio startup profiles using ctxvitals and 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).
This tutorial walks through how to reproduce those measurements locally, where the biggest bloat hides, and which schema bugs actually break clients.
1. Run the local audit in one command
Requires Node.js 18+.
# Audit every MCP server and always-loaded skill file in your local agent configs npx ctxvitals # Run static config checks only without spawning stdio server processes npx ctxvitals --no-probe # Export JSON or an HTML scorecard npx ctxvitals --json npx ctxvitals --html report.html To check JSON schemas directly for client compatibility bugs (such as missing root "type": "object", enum inside anyOf/oneOf, and oversized outputSchema payloads):
npx canimcp 2. Tool count does not predict token cost
Two servers generate 42.6% of the entire 25-server footprint before a single user message enters context:
- Sentry MCP (
@sentry/mcp-server@0.51.0): 72,333 estimated tokens across 76 tools (289,330 bytes).get_issue_detailsalone costs 17,194 bytes (4,299 tokens). - Linear MCP (
@tacticlaunch/mcp-linear@1.4.6): 60,582 estimated tokens across 198 tools (242,328 bytes). - Firecrawl MCP (
firecrawl-mcp@3.41.0): 35,416 estimated tokens across 34 tools (141,662 bytes). - GitHub MCP (
github/github-mcp-server): 31,697 estimated tokens across 46 tools on default startup (126,788 bytes). Enabling--toolsets=allexpands GitHub to 94 tools and 67,910 estimated tokens (271,637 bytes). - Brave Search MCP (
@brave/brave-search-mcp-server@2.2.0): 31,231 estimated tokens across 9 tools (124,923 bytes). - Notion MCP (
@notionhq/notion-mcp-server@2.6.1): 19,054 estimated tokens across 24 tools (76,215 bytes).
Tool 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).
3. Where 417,621 bytes hid: outputSchema payloads
Input 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):
- Sentry MCP: 69 of 76 tools declare
outputSchema(150,839 bytes, 52.13% of server schema). - Linear MCP: all 198 tools declare
outputSchema(115,763 bytes, 47.77% of server schema). - Brave Search MCP: 3 of 9 tools declare
outputSchema(85,091 bytes, 68.11% of server schema), led bybrave_place_searchat 86,181 total bytes where 80,058 bytes areoutputSchema. - Firecrawl MCP: all 34 tools declare
outputSchema(56,077 bytes, 39.59% of server schema). - Memory Reference, Filesystem Reference, and Sequential Thinking: 9 tools (5,961 bytes), 16 tools (3,471 bytes), and 1 tool (419 bytes).
Every outputSchema declaration inflates startup context and requires the server to return matching structuredContent alongside text at runtime.
4. Two parser bugs caught by inspecting raw tool lists
- Notion's unreferenced
$defsduplication (@notionhq/notion-mcp-server@2.6.1): Every single one of Notion's 24 tool definitions embeds the shared$defsblock emitted bysrc/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, andAPI-move-page) contain a$refpointing to$defs. The other 18 tools carry zero$refreferences inside their operation schemas yet still ship the$defsobject (2,326 bytes per tool counting key and value, or 2,317 bytes value-only). Stripping the unreferenced property saves 41,868 bytes, roughly 10,467 tokens or 54.9% of Notion's total schema cost. - Client-breaking schema drift (
canimcp 0.1.0corpus2026.10.16): All 25 audited servers passed rootoneOfchecks, yet GitLab MCP (@modelcontextprotocol/server-gitlab@2025.4.25) omitted"type": "object"at the input schema root across all 9 tools, causingclaude-code 2.1.295to 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 Codex0.162.0enum-in-compositionwarnings.
5. Setup caveats and limits
-
mcp-server-sqlite@2025.4.25crashed on bare startup undermcp 2.x(AttributeErroron missinglist_resources) until pinned tomcp>=1.6.0,<2.0.0. - Stripe (
@stripe/agent-toolkit@0.9.x/@stripe/mcp@0.3.4) and Vercel (mcp.vercel.com) now proxy remote OAuth endpoints that returnHTTP 401unauthenticated, so the corpus measures@stripe/agent-toolkit@0.7.12(22 tools, 5,403 tokens) andnext-devtools-mcp@0.4.2(4 tools, 1,744 tokens). - Token counts reflect
ceil(schema_bytes / 4)over default stdio lists rather than a model-specific BPE tokenizer, andcanimcpfindings reflect static schema checks.
Source code and full notes live at github.com/princejain756/ctxvitals, github.com/princejain756/canimcp, and the canonical essay on Medium.
