MCP Server

PostHog MCP Server (Official)

Official PostHog MCP server for product analytics, feature flags, session replays, and error tracking.

9

Installation

npx @posthog/wizard mcp add
Platform
Claude Code, Claude Desktop, Cursor, VS Code, Codex
Pricing
free
Author
PostHog
Last Tested
2026-04-01

About this Tool

Official PostHog MCP server providing full access to PostHog's product analytics suite. Query analytics, manage feature flags, create insights, debug errors, and access session replays. Installs via PostHog's wizard command that auto-configures for Claude Code, Claude Desktop, Cursor, VS Code, Zed, and Codex. 143 stars on GitHub. The most mature official analytics MCP server available.

Use Case Examples

  • Create a funnel insight to track how many blog visitors convert to email subscribers after a content campaign
  • Check feature flag rollout status for a new pricing page before launching an ad campaign

MarketCore Editorial Review

MarketCore Editorial Review

The easiest official analytics MCP to set up — the wizard command auto-configures for six different AI clients in one step. For growth-stage product marketing teams, PostHog's combination of product analytics, feature flags, and session replay in a single MCP is uniquely valuable. The open-source pricing also makes it accessible where Amplitude and Mixpanel are not.

Best For

  • Track marketing funnel from ad click to activation with PostHog funnel insights
  • Check feature flag rollout before launching a campaign to avoid promoting unavailable features
  • Session replay correlation: identify which marketing-driven visitors experience friction during onboarding

Code Quality

Exceptional setup experience (10/10 installation) and high code quality from the PostHog team. The wizard auto-configuration pattern should be the standard for all MCP servers — it eliminates the most common setup failure point.

Limitations

PostHog is primarily product analytics rather than traditional web analytics — less useful for teams focused on pageview-based marketing metrics. Feature flags and session replay require PostHog SDKs to be implemented on the product.

Reviewed 2026-04-01

Score Breakdown

9

Overall Score

Based on 5 dimensions

Installation
10/10
Documentation
9/10
Relevance
8/10
Quality
9/10
Maintenance
9/10

Get weekly updates on new marketing AI tools

New tools reviewed every week. No spam.