Sample queries
Contents
A starter set of HogQL queries for the most common MCP analytics questions. All of them assume the SDK is installed and at least a few $mcp_tool_call events have landed. See the event reference for the full property list.
{/ TODO: ProductScreenshot of the SQL editor showing one of these queries running with real MCP data /}
Top tools per server
Error rate per tool
P95 latency per tool
Intent samples split by source
How much of your traffic is supplying explicit context vs falling back to your intentFallback callback?
Active sessions per client
Advertised tools that never get called
Tools listed in tools/list responses but never invoked. Useful to find dead surface area.
Unmet user requests (requires reportMissing: true)
What were users trying to do that your tools couldn't satisfy?
Tool call volume by client and tool, daily
Good as a baseline trend for a dashboard.