Back to Data
PostHog
Interact with PostHog analytics, feature flags, error tracking and more with the official PostHog MCP server.
Last updated: 1/27/2026
README
# PostHog MCP The MCP server has been moved into the PostHog Monorepo - you can find it [here](https://github.com/PostHog/posthog/tree/master/services/mcp). 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 ```
Installation
Add this MCP to your configuration:
{
"mcpServers": {
"posthog-1": {
// See GitHub repository for configuration
}
}
}See the GitHub repository for full installation instructions.