PostHog MCP

Queries PostHog for events, funnels, and cohorts through a project-scoped API key. The useful pattern is a question translated into one existing query, not free exploration; the failure mode is an agent averaging across…

Official stdio Verified 2026-11-12 analyticsproductdataofficial

Use it for

Answering a product question with an existing event or funnel definition

Skip it if

Discovering what events exist — the taxonomy has to be documented somewhere

What it is

Queries PostHog for events, funnels, and cohorts through a project-scoped API key. The useful pattern is a question translated into one existing query, not free exploration; the failure mode is an agent averaging across events that mean different things because nobody wrote down the taxonomy.

Install

Terminal
npx -y @posthog/mcp

Client configuration

Paste this into your MCP client config, then restart the client.

MCP client config (JSON)
{
  "mcpServers": {
    "avbbc": {
      "command": "npx",
      "args": ["-y", "@posthog/mcp"]
    }
  }
}

Overlapping servers

All servers
  • 01
    Amplitude MCPCommunity

    Reads Amplitude charts and cohort data through the dashboard API: event segmentation, funnel results, and retention curves. It is a reporting interface rather than a…

    #analytics#product#retention
    TypeScriptstdio
  • 02
    ClickHouse MCPCommunity

    Runs SQL against a ClickHouse database with a read-only user: table listing, schema inspection, and query execution. The natural fit is event data where an agent can…

    #database#analytics#sql
    Pythonstdio
  • 03
    DuckDB MCPCommunity

    Opens a local DuckDB database and exposes SQL over it, including files as views. That makes it the cheapest way to let an agent analyse a data dump on a laptop: no w…

    #database#analytics#local
    Pythonstdio

Tools that use this server

All tools

Skills built around it

All skills