Skip to content

Add context-cost badge to docs-ai-search (422 tokens — among the leanest we measured) - #451

Open
athakur3 wants to merge 1 commit into
cloudflare:mainfrom
athakur3:context-cost-badge
Open

athakur3 wants to merge 1 commit into
cloudflare:mainfrom
athakur3:context-cost-badge

Conversation

@athakur3

Copy link
Copy Markdown

One line in the docs-ai-search README: a shields.io badge showing what the public docs MCP server's tool schemas cost in context tokens — currently 422 tokens across 2 tools (measured 2026-08-16 over https://docs.mcp.cloudflare.com/sse via the mcp-remote bridge). That's among the leanest of the 57 popular MCP servers we measured (median: 2,636) — worth letting the README say.

The badge JSON lives in our repo and refreshes weekly; the number links to a reproducible methodology — raw tools/list capture + pinned o200k_base tokenizer, re-derivable in five lines from results/cloudflare-docs/measurement.json.

If you'd rather not carry this, close freely — no hard feelings. To own the number in your own CI instead: sd2k/mcp-tokens-action (badge support proposed in sd2k/mcp-tokens-action#5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant