Skip to content

Add context-cost badge (transparency for the stdio server's schema size) - #344

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

Add context-cost badge (transparency for the stdio server's schema size)#344
athakur3 wants to merge 1 commit into
makenotion:mainfrom
athakur3:context-cost-badge

Conversation

@athakur3

Copy link
Copy Markdown

One line: a shields.io badge showing what the stdio notion-mcp-server's tool schemas cost in context tokens — currently 17,500 tokens across 24 tools (measured 2026-08-16). This is neutral transparency users ask for when budgeting context windows — not a judgment; a full-API server naturally carries more schema than a single-purpose one, and your README already points users to the leaner remote Notion MCP.

The per-tool breakdown may be independently useful: API-update-page-markdown (1,282), API-post-search (1,097), and API-patch-page (889) lead, mostly via inputSchema depth — full capture in results/notion/measurement.json. Median across the 57 popular servers we measured: 2,636.

The badge JSON refreshes weekly and 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).

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