Records MCP tool calls and itemises the token cost each server adds to your context.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Every MCP server you've installed is charging you tokens on every single session. See the bill β then cut it.
mcpwatch records the real traffic between your coding agent (Claude Code, Codex, Cursor, Claude Desktop) and your MCP servers, then itemises what that setup actually costs you in context β and tells you exactly what to delete.
One command. All local. Zero config. No account, ever.
Here's what nobody tells you when you install an MCP server: its tool definitions get injected into your agent's context at the start of every single session, whether you use that server or not. A big vendor integration with 50 tools can cost you 15,000+ tokens before you type a word. You pay it again on the next session, and the next.
On top of that you're paying for tool responses that return 200 kB when you needed one row, calls that fail and get retried, and agents re-fetching things they already had.
None of it shows up anywhere. mcpwatch records the actual bytes on the wire and turns them into an itemised bill.
No setup, no restart, no waiting. This starts each MCP server you already have configured, asks it for its tool list the way your client does, measures it, and shuts it down:
That's the fixed cost, and it's knowable without recording anything.
Which of those tools you call does need real traffic. Instrument once, work normally for a day, and ask:
Look at those first two numbers together: $21.81 of that $24.70 monthly bill is tool definitions β the cost of merely having servers configured, before your agent does a single useful thing. And the largest one has never been called.
That's the point of the whole tool. Not "here is a dashboard, go find something," but delete this one line from your config and stop paying 10,762 tokens every session for a server you have never once used.
The projection uses your observed startup rate from your recording β it isn't a guess, and it doesn't appear at all until there's enough history to be honest about.
(Install once with npm i -g @sreelal727/mcpwatch and every command is just mcpwatch β¦.)
init also registers mcpwatch as an MCP server, so your agent gets these tools with no
extra setup:
| Tool | The question it answers |
|---|---|
token_costs | "What is my MCP setup costing me, and what should I remove?" |
recent_failures | "What just broke, with what arguments, and what did the server say?" |
server_health | "Is that server crashing, slow, hanging, or corrupting the protocol?" |
find_calls | "Has this tool ever worked? What arguments did I use last time?" |
get_call | "Show me the exact request and response JSON for call #412." |
So you can just ask, in the client you already use:
You: my context keeps filling up, what's eating it?
Agent: (calls
token_costs) Yourgithubserver loads 46 tool definitions β 10,762 tokens β into every session, and you haven't called it once in the last 30 days. That's about 1.4M tokens over the window. Your filesystem server also re-read identical files 132 times. Want me to take github out of your config?
The descriptions are written as trigger conditions, so the agent reaches for them on its
own β recent_failures after a failed tool call, token_costs when you mention context
or cost β instead of waiting to be told they exist.
The same recording answers the reliability questions, in one command:
mcpwatch tail streams calls live, one line each. Everything takes --json, so agents
with only shell access (Codex in a VS Code terminal, hooks, CI) can read it too. And
mcpwatch ui opens a local dashboard on 127.0.0.1 when you'd rather look yourself.
mcpwatch audit prices your configured servers with no
instrumentation, no client restart, and no waiting for traffic.mcpwatch cost prices every server's per-session tax,
projects it forward from your own usage, and ranks what to remove: unused servers,
bloated tool lists, oversized responses, repeated calls, failed calls.token_costs, recent_failures, server_health,
find_calls, get_call as MCP tools, plus --json on everything for agents that
only have a shell. Your agent stops guessing about its own tool calls.ok / rpc_error / tool_error), including in-band tool failures that clients
often swallow silently.--no-redact to disable, MCPWATCH_REDACT_EXTRA to add patterns.mcpwatch export <id> produces one self-contained HTML file:
a shareable, scriptless bug report of exactly what happened.mcpwatch http <url> is a recording reverse proxy for
Streamable HTTP servers (SSE responses included).mcpwatch gc for retention; delete ~/.mcpwatch and
it's gone. No SaaS, no accounts, no telemetry, ever.mcpwatch init rewrites each stdio server entry in your client's config to route
through mcpwatch run. The proxy pipes bytes through untouched and parses a copy of
the stream β capture is wired independently of passthrough, so even if recording fails,
your agent keeps working. Passthrough is sacred is design principle #1, enforced in
code and covered by end-to-end tests that drive a real MCP client through the proxy.
init also adds mcpwatch itself to your client as an MCP server, which closes the loop:
the recorder becomes a tool the agent can call. It is never wrapped by its own proxy β
otherwise every question the agent asked about the traffic would become more traffic.
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/mcpwatch-2)<a href="https://allmcps.com/mcp/mcpwatch-2"><img src="https://allmcps.com/api/badge/mcpwatch-2?style=directory" alt="Mcpwatch on AllMCPs" /></a>