Gatehouse Submit a tool
posthog-mcp logo

posthog-mcp

✓ Vetted

Query and manage PostHog from an agent: run analytics SQL, read errors and events, and CRUD feature flags, insights, dashboards, experiments, and surveys.

Installed, run, and audited by hand on Jul 16, 2026.

by PostHog MCP server AnalyticsDevOps
Quiet for 6 months failing liveness · checked Jul 28, 2026

Commit activity · last 52 weeks

Stars151
LanguageTypeScript
LicenseMIT
Open issues16
Pricingfree
ListedJul 16, 2026

Facts pulled from the source repo and refreshed nightly. Stars are a data point, not our ranking. We don't order by popularity.

Install npx @posthog/wizard@latest mcp add

Runs in

HarnessSupportNotes
Claude Code full npx @posthog/wizard@latest mcp add
Any MCP client full

Support levels reflect what we actually ran, not what the README claims. untested means exactly that.

What it is

The official PostHog MCP server: a Cloudflare Workers bridge that gives an agent type-safe access to a PostHog project. It runs analytics SQL through the query endpoint, reads event and property definitions, lists and inspects errors, and performs full CRUD on feature flags, insights, dashboards, experiments, and surveys. It is the tool behind the weekly /traffic-monday pull on this repo.

How it was vetted

Read at commit 13aaf2c and exercised live over the connected MCP against a real PostHog project (509256), using the read and query tools that back the traffic pull. The trust question for an analytics tool that can also write is one thing. Can the agent change or delete production objects when you only meant to let it read? So the audit centered on the write surface and the key that gates it.