HomeOther › PostHog MCP Server

PostHog MCP Server

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

Python Remote
★ 39,910 stars Last pushed 2026-09-24 License: NOASSERTION

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-09-24)

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-09-24)

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

Data from the Official MCP Registry