Overview
PostHog's official hosted MCP server gives an assistant access to your PostHog product analytics, feature flags, experiments and more. It authenticates with a PostHog personal API key created with the 'MCP Server' preset, sent as a Bearer token. The code lives in the PostHog monorepo under services/mcp.
Quick summary. This page gives a short overview of this mcp server. For installation steps, full documentation and the latest changes, read the official source; details such as features and versions can change there first.
Example prompts example
Illustrative examples written by FoxaMind's AI Trends Scout — not quoted from the source.
- Transport: streamable-http (SSE also at https://mcp.posthog.com/sse). Create the key at your PostHog user API keys page with the MCP Server preset.