Labsco
yifanyifan897645 logo

mcp-checkup

from yifanyifan897645

Analyze your MCP setup: measure token cost per tool, find bloated schemas, detect duplicates, and get optimization tips to reclaim your context window.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

mcp-checkup

npm downloads

Your MCP servers are eating your context window. Find out how much.

mcp-checkup is an MCP server that analyzes your MCP setup โ€” measuring the token cost of every installed server and tool, finding duplicates, grading efficiency, and generating optimization reports.

Why?

Every MCP tool costs 550โ€“1,400 tokens just for its schema. A server with 50 tools can eat 30,000+ tokens before you type anything. Most developers have no idea how much context window their MCP servers are consuming.

Real examples from the community:

  • Adding GitHub MCP increased one user's token usage from 34K to 80K (source)
  • One developer found 67,000 tokens consumed by just 4 servers before any conversation (source)
  • Context7 (240K weekly downloads) has tool descriptions costing 3x more tokens than necessary (source)

Tools

analyze_servers

Scan your MCP config and measure the token cost of every installed server. Auto-detects config files.

"Which of my MCP servers costs the most tokens?"

analyze_tools

Deep-dive into a specific server โ€” per-tool token costs, grades, bloated descriptions, and optimization suggestions.

"Break down the token cost of my GitHub MCP server"

find_duplicates

Find duplicate tool names across your installed servers. Redundant tools waste context for no benefit.

"Do any of my MCP servers have overlapping tools?"

count_tokens

Count tokens in any text. Useful for estimating context usage.

"How many tokens is this prompt?"

generate_report

Full markdown health report: server grades (A-F), token costs, duplicates, and actionable recommendations.

"Generate a full MCP health report"

Grading System

Per-Tool Grades

GradeTokensMeaning
Aโ‰ค100Excellent โ€” minimal context cost
Bโ‰ค300Good โ€” reasonable schema size
Cโ‰ค600Fair โ€” could be optimized
Dโ‰ค1000Poor โ€” bloated schema
F>1000Failing โ€” severely impacts context window

Per-Server Grades

GradeTotal TokensMeaning
Aโ‰ค500Lean and efficient
Bโ‰ค1500Reasonable
Cโ‰ค3000Getting heavy
Dโ‰ค6000Significant context cost
F>6000Major context window drain

Auto-Detection

mcp-checkup automatically finds your MCP config in these locations:

  • .mcp.json (current directory)
  • Claude Desktop config (Windows/macOS/Linux)
  • .cursor/mcp.json

Or pass a custom path to any tool.

How It Compares

ToolPurposeApproach
mcp-checkupDiagnose token costsAnalyze & report โ€” see exactly what each tool costs
lean-ctxReduce token usageCompress context at runtime
MCP InspectorDebug MCP serversTest connections and tool calls

Use mcp-checkup first to find the problem, then decide how to fix it.

Part of the MCP Toolkit

View all servers โ†’