Home › Development › PostHog MCP Server

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

Official TypeScript Cloud Remote
★ 40,741 stars Last pushed 2026-11-11 License: NOASSERTION

Topics: Developer Tools

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Remote (streamable-http)

https://mcp.posthog.com/mcp Requires auth (checked 2026-11-09)

Claude Code:

claude mcp add --transport http posthog https://mcp.posthog.com/mcp --header "Authorization: <YOUR_VALUE>"

Or add to your MCP client config:

{
  "mcpServers": {
    "posthog": {
      "url": "https://mcp.posthog.com/mcp",
      "headers": {
        "Authorization": "<YOUR_VALUE>"
      }
    }
  }
}
  • Authorization required secret — Bearer token with your PostHog personal API key. Create one at https://us.posthog.com/settings/user-api-keys with the 'MCP Server' preset.

Remote (sse)

https://mcp.posthog.com/sse Requires auth (checked 2026-11-09)

Claude Code:

claude mcp add --transport sse posthog https://mcp.posthog.com/sse --header "Authorization: <YOUR_VALUE>"

Or add to your MCP client config:

{
  "mcpServers": {
    "posthog": {
      "url": "https://mcp.posthog.com/sse",
      "headers": {
        "Authorization": "<YOUR_VALUE>"
      }
    }
  }
}
  • Authorization required secret — Bearer token with your PostHog personal API key. Create one at https://us.posthog.com/settings/user-api-keys with the 'MCP Server' preset.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry