Skip to content
VS Code

posthog mcp for VS Code

io.github.mrfentmen/posthog-mcp

Query PostHog: profile, projects, insights.

client:VS Code transport:stdio runtime:npm

Install posthog mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "posthog-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "posthog-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

posthog mcp in other clients