mcp-top: Track the Real Cost of Your MCPs
ziwi_wiwi · reddit · 2026-07-19
mcp-top is a local analytics tool for agent platforms like Claude Code / Codex / Cursor, designed to identify:
- Which MCP servers are configured;
- How many tools they define and how much context they consume;
- Whether these tools were actually invoked in past sessions.
Its core value is cross-referencing two types of data:
- MCP configurations: Available servers and tools;
- Session transcripts: Actually called tools.
This allows you to rank MCP servers by "context cost vs. actual usage," helping you remove services that consume tokens but are never called.
The post also highlights key design principles:
- Read-only by default; it doesn't modify configs or upload data;
- Uses interval estimation for Claude Code's Tool Search, avoiding the illusion of a fixed token tax;
- Clear visibility into coverage and skip reasons;
- Built purely with Python standard libraries, MIT-licensed, and includes 190 tests.
This is a classic infrastructure and efficiency tool for coding agents.
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11