Who it fits
For teams that already collect data in PostHog and want an assistant to investigate it. Connecting MCP does not install analytics instrumentation or create trustworthy measurements automatically.
Actual MCP tools
The official reference documents insight-query for saved insight results, feature-flag-get-all for listing flags and create-feature-flag for a write operation. Enabled tools and project permissions constrain availability. A hypothetical task is to inspect an existing insight before deciding whether to change a flag; no real project was queried here.
Remote setup and authentication
The hosted endpoint is https://mcp.posthog.com/mcp. The documented Codex setup uses a remote URL and OAuth; Claude and Cursor also have setup guides. A project-scoped personal API key is an alternative for clients without OAuth. The authentication flow routes the account to its US or EU region. Native stdio hosting is not verified by these sources.
Read-only mode and project boundaries
readonly=true or x-posthog-read-only: true filters write tools. Limit the login’s project access as well. Setting project_id only chooses starting context; it is not an authorization boundary. Tool-name and feature-category filters narrow the available operations.
Costs and limits
The MCP connection and tool interface are free, while underlying PostHog usage remains billable. Some tools also incur PostHog AI spend and require organization AI data processing to be enabled. The FAQ lists 480 requests per minute and 4,800 per hour per credential, including session setup and tool discovery. Underlying API and AI-tool limits may also apply. Exact product charges, currency, taxes and contractual trial terms are not verified here.
Questions before use
Need a report only? Start with read-only tools and the intended project permissions. Need to change a flag? Review the proposed write and its target before execution. This is a documentation guide, not a connected installation, security audit or outcome guarantee.