mcp
by PostHog·★ 142·Score 44
Official PostHog MCP server for integrating analytics data with AI applications.
Overview
The PostHog MCP server allows AI applications to access PostHog analytics data through the Model Context Protocol. It provides seamless integration with popular AI development environments like Cursor, Claude Code, VS Code, and Zed. The server enables AI assistants to leverage user behavior data, events, and analytics insights for enhanced contextual responses.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you already use PostHog for analytics and want to query your product data directly from AI assistants.
When NOT to choose this
Avoid this if you don't use PostHog or need write access to your analytics data (this server provides read-only access).
Comparable tools
Installation
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 addManual installation
Add to your Claude Desktop configuration:
{
"mcpServers": {
"posthog": {
"command": "npx",
"args": ["@posthog/mcp-server", "start"]
}
}
}FAQ
- What data can be accessed through the PostHog MCP server?
- The server provides access to PostHog analytics data including events, user properties, funnels, cohorts, and other metrics available through the PostHog API.
- Which AI platforms are supported by this MCP server?
- The PostHog MCP server supports integration with Cursor, Claude, Claude Code, VS Code, and Zed. It follows the standard MCP protocol for compatibility with other platforms.
Compare mcp with
Last updated · Auto-generated from public README + GitHub signals.