sciver

MCPOfficialPostHog

PostHog MCP

Queries PostHog in HogQL, manages feature flags and experiments, and reviews errors.

The official hosted PostHog server lets the agent run analyses and SQL queries (HogQL), use semantic layer metrics, manage feature flags and experiments, and review error groups with stack traces. A wizard adds the server to Claude Code, Cursor, VS Code, Codex or Zed automatically.

Installation

Manual install

$npx @posthog/wizard@latest mcp add

Details

Works in
Claude Code, Claude, Cursor, VS Code, Windsurf, Codex, Zed
Transport
remote (HTTP)
License
MIT
Tasks
Data, Marketing, Code
Rating
Source
github.com/PostHog/posthog/tree/master/services/mcp (opens in a new tab)

Tags

  • posthog
  • product analytics
  • feature flags
  • experiments
  • hogql
  • errors

Log in to rate

A pack is your own set of skills and MCP servers. sciver loads it in your AI with one command.

View in the library