PostHog MCP Server
Query product analytics, feature flags, experiments, and error tracking in PostHog.
Overview
PostHog's official hosted MCP server connects agents to your PostHog project for HogQL analytics queries, feature flags, experiments, error tracking, and docs search. PostHog also ships a CLI wizard to register the server across coding agents. Analytics data may contain user properties and events.
Capabilities
- HogQL queries
- Feature flags
- Error tracking
- Experiments
- Docs search
Connection profile
- Transports
- Streamable HTTP
- Authentication
- OAuth; PostHog personal API key
- License
- Not confirmed
- Vendor
- PostHog
- Repository
- Not listed
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
https://mcp.posthog.com/mcp
Security notes
- Feature flag and experiment tools can alter live user behavior. Restrict API key scopes in production.
- Analytics events can include personal data; review data handling before sharing outputs.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- posthog.com/docs/model-context-protocolOfficial documentation · checked Nov 27, 2026 · documented
PostHog documentation describes the hosted MCP endpoint at mcp.posthog.com and its setup wizard.