Skip to content
Claude Code

PostHog for Claude Code

com.posthog/mcp

Query analytics, manage feature flags and experiments, and investigate errors in PostHog.

client:Claude Code transport:streamable-http

Install PostHog in Claude Code

run in your project directory

claude mcp add --transport http mcp https://mcp.posthog.com/mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

PostHog in other clients