Official PostHog MCP Server 🦔
Created 5/14/2025
Updated about 1 year ago
README
Repository documentation and setup instructions
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
Quick Setup
Installation guide for this server
Install Package (if required)
npx mcp
Cursor configuration (mcp.json)
{
"mcpServers": {
"posthog-mcp": {
"command": "npx",
"args": [
"mcp"
]
}
}
}