Analyze your MCP setup: token costs, grades, duplicates, and optimization tips
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Then ask your AI assistant:
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:
analyze_serversScan your MCP config and measure the token cost of every installed server. Auto-detects config files.
analyze_toolsDeep-dive into a specific server โ per-tool token costs, grades, bloated descriptions, and optimization suggestions.
find_duplicatesFind duplicate tool names across your installed servers. Redundant tools waste context for no benefit.
count_tokensCount tokens in any text. Useful for estimating context usage.
generate_reportFull markdown health report: server grades (A-F), token costs, duplicates, and actionable recommendations.
| Grade | Tokens | Meaning |
|---|---|---|
| A | โค100 | Excellent โ minimal context cost |
| B | โค300 | Good โ reasonable schema size |
| C | โค600 | Fair โ could be optimized |
| D | โค1000 | Poor โ bloated schema |
| F | >1000 | Failing โ severely impacts context window |
| Grade | Total Tokens | Meaning |
|---|---|---|
| A | โค500 | Lean and efficient |
| B | โค1500 | Reasonable |
| C | โค3000 | Getting heavy |
| D | โค6000 | Significant context cost |
| F | >6000 | Major context window drain |
Add to .cursor/mcp.json with the same format.
mcp-checkup automatically finds your MCP config in these locations:
.mcp.json (current directory).cursor/mcp.jsonOr pass a custom path to any tool.
| Tool | Purpose | Approach |
|---|---|---|
| mcp-checkup | Diagnose token costs | Analyze & report โ see exactly what each tool costs |
| lean-ctx | Reduce token usage | Compress context at runtime |
| MCP Inspector | Debug MCP servers | Test connections and tool calls |
Use mcp-checkup first to find the problem, then decide how to fix it.
MIT
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-checkup)<a href="https://allmcps.com/mcp/mcp-checkup"><img src="https://allmcps.com/api/badge/mcp-checkup?style=directory" alt="MCP Checkup on AllMCPs" /></a>