Skip to content
VS Code

PostHog for VS Code

com.posthog/mcp

Query analytics, manage feature flags and experiments, and investigate errors in PostHog.

client:VS Code transport:streamable-http

Install PostHog in VS Code

.vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.posthog.com/mcp"
    }
  }
}

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

PostHog in other clients