MCP server
PostHog MCP Server Official
io.github.PostHog/mcp
Checked 26 Oct 2026, 08:29 UTC · It answered and asked for a sign-in
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Needs an API keyOfficial: posthog.com's GitHub account (PostHog)
https://mcp.posthog.com/mcp
At a glance
- Type
- MCP server
- Publisher
- posthog.com (verified by the MCP Registry)
- Status
- Needs an API key
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http posthog https://mcp.posthog.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.posthog] url = "https://mcp.posthog.com/mcp"
Gemini CLI
{"mcpServers":{"posthog":{"httpUrl":"https://mcp.posthog.com/mcp"}}}
Cursor
{"mcpServers":{"posthog":{"url":"https://mcp.posthog.com/mcp"}}}
VS Code
{"servers":{"posthog":{"type":"http","url":"https://mcp.posthog.com/mcp"}}}
Antigravity
agy mcp add posthog https://mcp.posthog.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"posthog","server_url":"https://mcp.posthog.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"posthog","server_url":"https://mcp.posthog.com/mcp"}
Needs an API key or token from its maker, usually added as a header in the setup.
Browse
Related MCP servers
- Launchdarkly
LaunchDarkly MCP Pack — wraps the LaunchDarkly REST API v2 - Agent Analytics
Analytics your AI agent can actually use. Track, experiment, and optimize via MCP. - Posthog
PostHog MCP — wraps PostHog Analytics API (app.posthog.com/api) - AIOProductOS MCP
AIOProductOS: revenue, feedback, work and analytics on one customer record. 71 tools, 3 apps. - CorpusIQ
One governed MCP endpoint for 40+ business systems. Read-only, source-cited answers. - Luxembourg MCP
Keyless MCP access to official Luxembourg public data: laws, statistics, mobility, and more. - Hypertune MCP by usefulapi
Evaluate and inspect your Hypertune feature flags from your AI assistant. - 100Hires - AI ATS & Recruitment Software
Official 100Hires MCP: AI ATS & Recruitment Software for candidates, jobs, applications, interviews.
Badge for your README
[](https://aptlynx.net/servers/io.github.PostHog/mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents