Skip to content
skillsaggregatorskillsaggregator
Major-vendorstdio● online

PostHog MCP

by PostHog · Analytics

Source

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