Skip to content

README: context-cost badge (1,052 tokens, measured) - #3146

Open
athakur3 wants to merge 1 commit into
upstash:masterfrom
athakur3:context-cost-badge
Open

README: context-cost badge (1,052 tokens, measured)#3146
athakur3 wants to merge 1 commit into
upstash:masterfrom
athakur3:context-cost-badge

Conversation

@athakur3

@athakur3 athakur3 commented Sep 5, 2026

Copy link
Copy Markdown

This adds one badge to the README: what Context7's MCP server (@upstash/context7-mcp)'s tool schemas cost in context tokens — 1,052 tokens across 2 tools (o200k_base over the canonical tools/list bytes), which is the "light" band, i.e. good news for your users.

Where it comes from: it is one of 106 MCP servers measured on a rotation in credential-free Docker. Every number is backed by the raw capture, its SHA-256 and the exact launch command; your page has the per-tool breakdown and the history line: https://athakur3.github.io/mcp-context-cost/servers/context7.html · method: https://github.com/athakur3/mcp-context-cost/blob/main/docs/METHODOLOGY.md

The badge JSON is regenerated each time the server is re-measured (about every six weeks), so it follows your releases, and it links to the measurement rather than to a landing page. Anyone can re-derive the number:

npx -y mcp-context-cost verify --remote https://raw.githubusercontent.com/athakur3/mcp-context-cost/main/results/context7/measurement.json

It is appended to the existing badge line. If you'd rather host the badge JSON yourselves, that's a one-line change here. Happy to adjust the placement or close this if it isn't wanted. Disclosure: I maintain mcp-context-cost.

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