MCP analytics, from the log you already have.
See who calls your MCP server, what their agents do once they connect, which tools work and which fail. Directory crawlers and probes are kept apart from real use. It runs on your own server, and you pay once.
You shipped an MCP server. Who is using it?
An MCP server is an API whose callers are agents. Your web analytics never sees them: no page, no script, no browser. Your access log sees every request, and every request looks the same: POST /mcp 200.
StatsRaven turns those lines into sessions you can read. An agent connects, lists your tools, calls two of them and leaves, or lists them and calls nothing. You see which happened, how often, and where it went wrong.
- Calls, callers, sessions, error rate and p95, each against the previous period.
- Every tool with its calls, errors, p95 and callers, and the ones nobody calls.
- Clients, servers and protocol versions. Click any name to filter the page.
Most calls to /mcp are not use.
List an MCP server anywhere and the crawlers arrive. On a public server, most requests to /mcp can come from directory indexers and liveness probes that never sign in.
They call every few minutes, and counted as users they make a server nobody uses look busy. StatsRaven sorts every caller into AI apps, SDKs and scripts, directories and probes, and callers that never got past sign-in. The page opens on real use. The Probes tab shows who is indexing you.
Two more fields in the access log.
Since the MCP revision of 28 July 2026, every request over Streamable HTTP names its method and tool in two headers, Mcp-Method and Mcp-Name, so proxies can see what a request does without reading its body. Log them and every line is a tool call. No SDK, no change to your server's code.
- nginx, Apache, Caddy and Traefik: a few lines of config.
- Cloudflare Workers: nothing to change. The tail Worker already sees the headers.
- Any language or host: one JSON event per call, or the OpenTelemetry spans you already make.
- stdio servers: a short wrapper around your tools.
Clients on older revisions do not send the headers. Their calls still count, without a tool name, and the page shows what share of calls carry one. Every setup, step by step
From first visit to first tool call.
Send the signed-in user's id with each call, and the call lands on the same person as their website visits and their sign-up.
Their card lists each session with the app they used and any error, next to the pages they read and the plan they bought. So "who signed up last week and has called a tool since" is one question, not an export and a join.
Ask which tool fails.
In StatsRaven's chat, or from Claude, Claude Code, Cursor or VS Code. StatsRaven is an MCP server too, the other kind of MCP analytics: add its address and ask about your MCP servers, visits, logs and events from the conversation you already have open.
There is no AI key in StatsRaven. The client does the thinking, your server runs the queries, and every answer comes with its numbers, the query behind it and a button to pin the chart to a sheet.
- Which clients call search, and how slow is it for each?
- Who made their first tool call this month?
- How much of the traffic to /mcp is probes?
Alerts can watch any of these counts, such as errors of one tool in an hour, with the Alerts add-on. Connect Claude and other MCP clients
No meter on sessions.
MCP analytics comes with StatsRaven, not as an add-on. Core is $49 once for three projects and a year of updates, with no meter on sessions, tool calls or events.
It runs on your server, so your disk is the only limit. Tool arguments and results are never needed, the setups do not send them, and nothing leaves your machine. Pricing
Questions
What is MCP analytics?
It means two things, and StatsRaven does both. Analytics of your own MCP servers: which tools are called, by which clients and people, how fast and with what errors. And analytics you reach over MCP: asking your data from Claude, Cursor or another MCP client.
Do I need an SDK in my MCP server?
No. Since the MCP revision 2026-07-28, every Streamable HTTP request carries Mcp-Method and Mcp-Name headers, so adding them to the access log is enough. For exact client names, tool errors returned with isError and the signed-in user, send one JSON event per call or OpenTelemetry spans; the docs have short wrappers for TypeScript and Python.
Does it work with stdio MCP servers?
Yes. A stdio server has no HTTP request to log, so it sends one JSON event per call to StatsRaven itself, with the same wrapper as an HTTP server.
Why do so many calls to my MCP server get a 401?
Directory crawlers and liveness probes call public MCP servers without signing in. StatsRaven files them under directories and probes, and the MCP page leaves them out of real use.
Which clients send the tool name?
Clients on the 2026-07-28 revision or newer, which must send the headers. Calls from older clients still count by their path, without a tool name. The MCP page shows the share of calls that carry one.
Does StatsRaven see my tool arguments or results?
No. It needs only the method, the tool name, the status, the duration and, if you send them, the client and the user id. Everything stays on your server.
How is it different from AgentCat or PostHog MCP Analytics?
AgentCat, formerly MCPcat, and PostHog's MCP Analytics are hosted by default and record calls through an SDK in your server. AgentCat bills by session. StatsRaven reads your access log, runs on your own server next to your web analytics and is paid once.
Ask your own data.
Free for one project, with no account. Or try everything for 30 days, no card.
Or install now
curl -fsSL https://statsraven.com/install.sh | sh