PostHog MCP Server
remote (hosted) MCP serverPostHog MCP Server is a remote (hosted) MCP server: Official PostHog MCP Server for product analytics, feature flags, experiments, and more. Connect any MCP client to https://mcp.posthog.com/mcp.
Installation
Terminal
claude mcp add --transport http posthog-github-io https://mcp.posthog.com/mcp --header "Authorization: Bearer $TOKEN"
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop
Open Settings → Connectors → Add custom connector, then paste https://mcp.posthog.com/mcp.
Cursor & other clients
Add to .cursor/mcp.json or your client's MCP config.
{
"mcpServers": {
"posthog-github-io": {
"type": "http",
"url": "https://mcp.posthog.com/mcp"
}
}
}Needs an API key or token in the request headers. Get one from the vendor first.
What you need
- Runtime: Nothing, it's hosted.
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over streamable HTTP.
- Credentials: a bearer token or API key from the vendor, sent in the Authorization header.
Summary
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
PostHog MCP Server vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| PostHog MCP Server | 40K | Hosted | Yes | None |
| Usertour MCP Server | 2,312 | Hosted | No | None |
| CCXT | 44K | Local | No | npm |
| kaneo | 9,252 | Local | Yes | npm |
| MCP Registry Server | 7,291 | Hosted | No | None |
Questions
Yes. The hosted endpoint expects a token in the Authorization header.
Only an MCP client such as Claude Code, Codex, Claude Desktop or Cursor. PostHog MCP Server is hosted, so there is nothing to install.
PostHog MCP Server is a remote (hosted) MCP server served at https://mcp.posthog.com/mcp.
Run: claude mcp add --transport http posthog-github-io https://mcp.posthog.com/mcp --header "Authorization: Bearer $TOKEN"
Run: codex mcp add posthog-github-io --url https://mcp.posthog.com/mcp --bearer-token-env-var TOKEN
Similar MCP servers
NameStars
- Usertour MCP Serverio.github.usertour/mcp2,312
- CCXTio.github.ccxt/ccxt-mcp44K
- kaneoio.github.usekaneo/kaneo9,252
- MCP Registry Serverai.com.mcp/registry7,291
- DBHubio.github.bytebase/dbhub3,574
- RevoGrid DataGrid MCP Proio.github.revolist/revogrid-mcp-pro3,446
- Microsoft Learn MCPcom.microsoft/microsoft-learn-mcp1,916
- loki-modeio.github.asklokesh/loki-mode1,072