PostHog MCP

official

Integrates with PostHog for feature flag management and error tracking.

Hosted MCP Server

npx add-mcp 'https://mcp.posthog.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

PostHog MCP

The MCP server has been moved into the PostHog Monorepo - you can find it here.

Documentation: https://posthog.com/docs/model-context-protocol

Use the MCP Server

Quick install

You can install the MCP server automatically into Cursor, Claude, Claude Code, VS Code and Zed by running the following command:

npx @posthog/wizard@latest mcp add