What problem does it solve?
MCP analytics data can silently look wrong ā events missing, intent clusters empty, sessions fragmented, per-tool numbers off ā and each symptom has a specific, non-obvious cause spread across SDKs, the dashboard query runners, and PostHog's own dogfood server. This Skill maps the entire pipeline so you can find and fix the actual break instead of guessing.
Core Features & Use Cases
- Repo and pipeline map: Identifies which repository owns each concern (TypeScript SDK in posthog-js, Python SDK in posthog-python, product in the monorepo, wizard install flow) and where each pipeline stage breaks.
- Hard rules for correct queries: Encodes the failure modes that produce plausible-but-wrong numbers, such as resolving tool names through EFFECTIVE_TOOL_SQL, reading failures from $mcp_is_error rather than $exception, and dashing in-progress time buckets.
- Event vocabulary reference: Documents every $mcp_* event and property by provenance (SDK-emitted, server-stamped, exec-mode) with per-version SDK behavior for both TypeScript and Python.
- Use Case: A customer reports their intent clusters are empty. Use this Skill to learn that empty clusters almost always mean no $mcp_intent values in the lookback window, then check the corpus before chasing summary generation or the Temporal schedule.
Quick Start
Ask the agent to debug why MCP analytics sessions appear fragmented for a stateless MCP server using this Skill.