Back to MCP ToolsAnalyticsOfficial
PostHog logo

PostHog

Official

Query analytics, errors and manage feature flags.

Provider:PostHog
Category:Analytics

Installation

Command Line
npx create-posthog-app

Configuration

Add this configuration to your MCP settings file (usually mcp.json or your IDE's MCP configuration):

JSON Configuration
{
  "mcpServers": {
    "posthog": {
      "command": "npx",
      "args": [
        "-y",
        "posthog-mcp"
      ],
      "env": {
        "POSTHOG_API_KEY": "<your-posthog-api-key>",
        "POSTHOG_HOST": "https://app.posthog.com"
      }
    }
  }
}