Major-vendorstdio● online
PostHog MCP
by PostHog · Analytics
Query PostHog events, funnels, cohorts, feature flags, and session recordings.
Works with:Claude CodeCursorWindsurfOpenCode
eventsfunnelscohortsfeature-flagsreadsearch
Install
Run this command in your terminal:
claude mcp add --transport stdio mcp-posthog -- npx -y posthog-mcp
Before running, set: POSTHOG_API_KEYPOSTHOG_PROJECT_ID
Authentication
API key
Required environment variables:
- POSTHOG_API_KEY
- POSTHOG_PROJECT_ID
See the setup guide for step-by-step instructions on obtaining these credentials.
Official PostHog MCP.
Skills that use this MCP
product-tracking-skills
Product tracking events, funnels, and cohorts are pulled live from PostHog.
posthog-for-claude
This skill is purpose-built to query PostHog analytics via the PostHog MCP.
PostHog ai-plugin
AI plugin wraps PostHog MCP to provide natural-language analytics queries.
interactive-dashboard-builder
PostHog MCP can supply event data for dashboards built with this skill.

