MCP analytics helps teams see how agents and users actually use their MCP servers. It captures sessions, tool calls, errors, and intent, so you can debug, measure real usage, and understand what people are trying to do.
It answers the questions a team building MCP tools actually has:
- which tools get called, and which are slow or erroring?
- what are people trying to do, at the level of "find a churn cohort", not "ran query_run 14 times"?
- where do conversations stall or fall through to feedback?
Not a goal: replacing LLM analytics/AI o11y. Generation traces, prompt/response inspection, and cost belong there.
Want this for your MCP server?
If you're building an MCP server and want analytics on it, drop a comment here and we'll reach out. We're looking for teams to pilot with and build alongside.
A few things stay internal (a Slack canvas, PostHog only): mainly the list of folks we're talking to for pilots.
Current status
SDKs
Install & onboarding
npx -y @posthog/wizard@latest mcp-analytics instruments an existing TS/JS server automatically.
- In-app onboarding is event-gated: the product detects
$mcp_initialize / $mcp_tool_call and flips to the dashboard when data arrives.
Product
- Dashboard (KPIs, activity, per-tool usage/error charts, client harness breakdown), sessions with LLM intent summaries, tool quality (per-tool error rate, latency percentiles, failures, description drift), and intent clustering with per-cluster journeys.
- The whole product is queryable over MCP too (session list, tool stats, intent clusters, missing-capability reports).
- Known gap, explicit goal: robust session tracking for stateless, serverless, and multi-replica deployments — where in-process session state doesn't survive between tool calls, sessions today can degrade to one call each. Server-side stitching plus
$mcp_conversation_id is the direction.
Docs & landing page
Roadmap note: near-term priorities move through sprint planning rather than living in this issue; see the comments for research and findings that feed it.
Links
MCP analytics helps teams see how agents and users actually use their MCP servers. It captures sessions, tool calls, errors, and intent, so you can debug, measure real usage, and understand what people are trying to do.
It answers the questions a team building MCP tools actually has:
Not a goal: replacing LLM analytics/AI o11y. Generation traces, prompt/response inspection, and cost belong there.
Want this for your MCP server?
If you're building an MCP server and want analytics on it, drop a comment here and we'll reach out. We're looking for teams to pilot with and build alongside.
A few things stay internal (a Slack canvas, PostHog only): mainly the list of folks we're talking to for pilots.
Current status
SDKs
@posthog/mcpon npm at 0.4.x (alpha).instrument(server, posthog)wraps aServer/McpServer;PostHogMCPcovers custom dispatchers (hono, edge). Source: https://github.com/PostHog/posthog-js/tree/main/packages/mcppip install posthog, thenfrom posthog.mcp import instrument— themcpSDK is a peer dependency, so there's nothing extra to install. Wraps FastMCP and the low-level server with event parity with the TS SDK.Install & onboarding
npx -y @posthog/wizard@latest mcp-analyticsinstruments an existing TS/JS server automatically.$mcp_initialize/$mcp_tool_calland flips to the dashboard when data arrives.Product
$mcp_conversation_idis the direction.Docs & landing page
Roadmap note: near-term priorities move through sprint planning rather than living in this issue; see the comments for research and findings that feed it.
Links