PostHog

Query PostHog analytics, replays, errors and product data from MCP clients

Remote

Install

Streamable HTTP

claude mcp add --transport http mcp-1675 https://mcp.posthog.com/mcp

What it does

The PostHog MCP server exposes a PostHog project's product data to MCP-compatible agents. PostHog stores analytics events, web traffic, session recordings, error tracking and logs, traces, feature flag and experiment configuration, survey responses, and warehouse data, and this server lets a client query and act on that context from inside an editor or agent rather than the PostHog web app.

It is aimed at developers and product teams who want an assistant to inspect usage, diagnose errors, explore recordings, or draft insights while they work. The remote server is hosted at mcp.posthog.com/mcp and selects the US or EU data region after the user logs in. Setup is available through the @posthog/wizard CLI, and the documentation names Claude Code, Cursor, Codex, VS Code, Zed, and PostHog Desktop as supported clients.

Limitations: MCP analytics and early access features are marked beta, and the hosted server depends on a PostHog account and sign-in. Self-hosted setups are limited to the open-source hobby deployment, which is not supported for customer support and is sized for roughly 100k events per month, with cloud recommended beyond that.

Compatibility and authentication

Connection
Remote
Transports
streamable-http
Authentication
Unknown

Security and permissions

  • When you use a remote server, data sent to it leaves your machine.
  • Authentication type: Unknown.

Repository data

Stars
41,048
Last push
Nov 23, 2026
License
—
Archived
No

FAQ

How do I install PostHog in Claude Code?
claude mcp add --transport http mcp-1675 https://mcp.posthog.com/mcp
Does PostHog run locally or remotely?
It supports remote connections.
Is PostHog an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/mcp-1675"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options