PostHog MCP

Official

PostHog's hosted MCP server at https://mcp.posthog.com/mcp. You sign in with OAuth in the browser, or send a personal API key made with the MCP Server preset, which is scoped to one project.

Docs reviewed Sep 15, 2026Is this your server?

At a glance

Publisher
Official
Connects to
PostHog
Runs
Hosted (remote URL)
Sign-in
OAuth
Access
Read and write
Availability
Available
Endpoint
https://mcp.posthog.com/mcp
Setup docs

What it can do

  • Run trends, funnels, retention, lifecycle, stickiness and paths queries, and list the people behind each result
  • Run HogQL/SQL against your project data
  • Read web analytics overviews, stats, web vitals and heatmaps
  • Audit UTMs and manage marketing analytics conversion goals
  • Create, update and delete insights, dashboards and cohorts
  • Create, roll out and disable feature flags; create, launch and end experiments
  • Create, launch and stop surveys and read their responses

It has write and delete tools by default. Add readonly=true (or the x-posthog-read-only header) to keep only read tools, or features= or tools= to expose a subset. Some AI-powered tools are billed as PostHog AI spend and only appear when AI data processing is on in your organization.

Notes from our review

The former PostHog/mcp repository is archived after a move. An archived predecessor does not imply the hosted server is discontinued.

Other PostHog options

We compare 2 PostHog MCP servers side by side, with setup steps.

Compare PostHog MCP servers