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
- HeyGen adds a media-sourcing skill for coding agents with 75k images and 10k tracks — HeyGen · 2026-07-22
- Agent search bottlenecks are now about variance, not raw latency — rohanpaul_ai · 2026-07-22
- LangSmith adds tracing for Pipecat, LiveKit, OpenAI Realtime, and Gemini Live — LangChain · 2026-07-22
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Annotated transcript of a Claude Code team interview is now available — trq212 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22