1. Methodology & Endpoint Reachability (n=100)
Every MCP server attached to an AI host injects its server.instructions and full tools/list schema payload on every turn before the user types a single word. To measure real-world production overhead rather than toy configs, we pulled the first 100 active (non-deleted, latest) concrete https:// endpoints from https://registry.modelcontextprotocol.io/v0/servers on 2026-11-26T02:30:33.419120+00:00.
| Cohort Segment | Count | Share | Details |
|---|---|---|---|
Reachable (ok) |
55 | 55.0% | 45 streamable-http-json (81.8%) · 10 streamable-http-sse (18.2%) |
Auth-Gated (401) |
40 | 40.0% | 39/40 (97.5%) serve RFC 9728 OAuth metadata |
| Unreachable / Protocol Error | 5 | 5.0% | 3 socket ConnectError · 1 HTTP 402 · 1 HTTP 404 non-MCP response |
| Protocol Versions (n=55) | 3 revs | 100.0% | 2025-03-26: 49 (89.1%) · 2025-06-18: 5 (9.1%) · 2024-11-05: 1 (1.8%) |
2. Pre-Prompt Context Tax & Power-Law Skew (n=55)
Across the 55 reachable servers, we cataloged 614 tools (median 6, mean 11.2, max 47) consuming 209,492 schema tokens (94.9% in tool schemas + 5.1% in server.instructions across 45 servers). Notably, one reachable endpoint exposed 0 tools while still injecting 988 tokens solely via server.instructions.
| Percentile | Schema Tokens / Turn | % of 128k Context | % of 200k Context | Sonnet Uncached (50/day, $3/1M) | 90% Prompt-Cached |
|---|---|---|---|---|---|
| Min | 204 | 0.2% | 0.1% | $0.92/mo | $0.09/mo |
| P25 | 976 | 0.8% | 0.5% | $4.39/mo | $0.44/mo |
| Median (P50) | 2,003 | 1.6% | 1.0% | $9.01/mo | $0.90/mo |
| Mean | 3,809 | 3.0% | 1.9% | $17.14/mo | $1.71/mo |
| P75 | 4,530 | 3.5% | 2.3% | $20.38/mo | $2.04/mo |
| P90 | 9,884 | 7.7% | 4.9% | $44.48/mo | $4.45/mo |
| Max | 16,424 | 12.8% | 8.2% | $73.91/mo | $7.39/mo |
Top 10 Heaviest Public Registry Endpoints (Interactive Profiles Linked)
| # | Server (Click for Calculator) | Tools | Schema Tokens | Direct Trim | Grade | 50/day Sonnet |
|---|---|---|---|---|---|---|
| 1 | a2uicatalog https://a2uicatalog.ai/mcp |
42 | 16,424 | −5,771 (−35.1%) | D (69) | $73.91/mo |
| 2 | Divisi https://divisi.africa/mcp |
47 | 15,947 | −1,922 (−12.1%) | B (80) | $71.76/mo |
| 3 | Acubic https://mcp.acubic.ai/mcp |
24 | 14,782 | −898 (−6.1%) | C (75) | $66.52/mo |
| 4 | Thesia https://mcp.aetherya.ai/mcp |
26 | 13,242 | −2,193 (−16.6%) | C (76) | $59.59/mo |
| 5 | zoll.agency: Regeln und Ratgeber zu Einfuhr und Ausfuhr https://zoll.agency/mcp |
8 | 11,988 | −1,373 (−11.5%) | A (91) | $53.95/mo |
| 6 | tide https://api.tide.ad/mcp |
38 | 10,042 | −833 (−8.3%) | C (76) | $45.19/mo |
| 7 | apex-ai-academy https://apexai.academy/mcp |
30 | 9,648 | −2,479 (−25.7%) | D (45) | $43.42/mo |
| 8 | Pantheon https://mcp.pantheon.ad/mcp |
38 | 9,514 | −1,167 (−12.3%) | A (90) | $42.81/mo |
| 9 | AFG: Agent Fulfillment Guarantee (sandbox, test money only) https://afg.ai/mcp |
18 | 8,210 | −717 (−8.7%) | F (18) | $36.95/mo |
| 10 | Getlead https://mcp.getle.ad/mcp |
35 | 7,781 | −159 (−2%) | A (90) | $35.01/mo |
3. Schema Hygiene & Security Findings
Tool count alone does not drive bloat: an 8-tool customs server uses 11,988 tokens (1,498.5 tok/tool) because a single tool embeds 4,849 tokens of nested parameter schema, whereas a clean 5-tool server uses just 417 tokens (83.4 tok/tool). Across all 55 reachable endpoints (and all 100 for auth headers), deterministic rules flagged these systemic defects:
| Rule ID | Severity | Defect | Prevalence | Share Bar |
|---|---|---|---|---|
MCP-LNT-003 |
low | Tool input schemas omit `additionalProperties: false` | 30 / 55 (54.5%) | |
MCP-LNT-007 |
low | One or more tool parameters lack `description` | 21 / 55 (38.2%) | |
MCP-LNT-006 |
medium | Context-bloating verbose tool descriptions (>120 tokens) | 19 / 55 (34.5%) | |
MCP-LNT-005 |
low | Unbounded array parameters missing `maxItems` or `items` | 11 / 55 (20%) | |
MCP-CAP-002 |
low | Tools omit MCP `ToolAnnotations` safety hints | 6 / 55 (10.9%) | |
MCP-LNT-004 |
medium | Overly broad untyped `type: "object"` parameter | 5 / 55 (9.1%) | |
MCP-PRO-002 |
medium | HTTP `401/403` omits RFC 6750/9728 `WWW-Authenticate` header | 2 / 100 (2%) | |
MCP-SEC-003 |
critical | Credential/secret keyword trigger in tool metadata | 1 / 55 (1.8%) | |
MCP-SEC-004 |
high | Cross-tool shadowing / coercive routing phrasing | 1 / 55 (1.8%) |
MCP-SEC-003 & MCP-SEC-004 Triggered: Inspecting the raw evidence on the two flagged endpoints (1.8% each) shows heuristic policy triggers rather than confirmed malware—one tool description asked for a "personal Premium API key" and another repeated coercive cross-tool routing language ("instead of calling the ..." across 9 tools). Enterprise MCP gateways rightly block both patterns. Keep auth in OAuth headers and describe only the tool's own contract.
4. Concrete Before/After Fix Patterns & CI Gate
Fix MCP-LNT-003, MCP-LNT-004, MCP-LNT-005, MCP-LNT-006, and MCP-CAP-002 in one pass by switching from unwrapped Zod .shape and untyped type: "object" params to strict schemas with concise descriptions and ToolAnnotations:
{
"name": "create_ranking_rule",
"description": "Creates a new custom ranking rule for candidate evaluation. You can pass asset_count_range as an object with min and max, plus optional filters. Always use this tool instead of calling legacy_rank. Example payload: { ... 140 tokens of prose ... }",
"inputSchema": {
"type": "object",
"properties": {
"asset_count_range": { "type": "object" },
"tags": { "type": "array" }
}
}
}
{
"name": "create_ranking_rule",
"description": "Create a candidate ranking rule within bounded asset-count and tag limits.",
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"additionalProperties": false,
"required": ["asset_count_range", "tags"],
"properties": {
"asset_count_range": {
"type": "object",
"additionalProperties": false,
"required": ["min", "max"],
"properties": {
"min": { "type": "integer", "minimum": 1, "description": "Minimum asset count." },
"max": { "type": "integer", "maximum": 100, "description": "Maximum asset count." }
}
},
"tags": {
"type": "array",
"items": { "type": "string", "maxLength": 40 },
"maxItems": 20,
"description": "Filter tags (max 20)."
}
}
}
}
name: MCP Token Budget & Security Gate
on: [pull_request]
jobs:
mcpdiet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Gong-shijie/mcpdiet@v1
with:
max-tokens: "15000"
calls-per-day: "150"
fail-on: "high"
sarif-file: "mcpdiet.sarif"
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: "mcpdiet.sarif"