Skip to content

Add context-cost badge (5,013 tokens, reproducibly measured) - #365

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

Add context-cost badge (5,013 tokens, reproducibly measured)#365
athakur3 wants to merge 1 commit into
supabase:mainfrom
athakur3:context-cost-badge

Conversation

@athakur3

Copy link
Copy Markdown

One line: a shields.io badge showing what the Supabase MCP server's tool schemas cost in context tokens — currently 5,013 tokens across 29 tools (largest: query_logs at 800), measured 2026-08-16 at default configuration. Median across the 57 popular MCP servers we measured: 2,636.

Neutral transparency, not a judgment — 29 tools covering a full platform lands where you'd expect, and the per-tool breakdown in results/supabase/measurement.json makes trimming actionable if you ever want it. The badge JSON refreshes weekly; the number links to a reproducible methodology (raw tools/list capture + pinned o200k_base tokenizer, re-derivable in five lines).

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).

@athakur3
athakur3 requested a review from a team as a code owner August 16, 2026 14:30
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