PRODUCT ANALYTICS / PostHog
PostHog MCP
Query product data, investigate errors, and manage feature flags or experiments in a PostHog project.
“Once connected, your agent can read and write across PostHog's products.”
01 / THE REASONING
Why this made the selection.
- Links analytics and error investigation with feature-flag and experiment workflows.
- Documented project scoping, read-only mode and tool filters support narrower client access.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- PostHog MCP overview, FAQ/advanced setup and tool reference.
- Pinned services/mcp README, package manifest, architecture and root licence.
Our findings
- OAuth routes the account to its US or EU region. A project-scoped API key is another documented option.
- The readonly query parameter or x-posthog-read-only header excludes write tools; project headers or key scope are separate controls.
Not established by this review
- Server launch, authenticated tool calls, and release-to-source parity were not tested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Connect a server deliberately.
DOCUMENTED COMMAND
npx @posthog/wizard mcp add Copying does not execute this command. It may retrieve a newer version than the reviewed source.
- Run the PostHog Wizard command below and select the intended client.
- Authenticate to the intended PostHog account and project.
- For an investigation-only session, use the documented readonly=true endpoint option; review flag or experiment writes separately.
Before you start
- PostHog account/project access.
- Node.js/npx for the wizard, or manual remote-client setup.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://posthog.com/docs/model-context-protocol
Supports: summary, upstreamDescription, whySelected, bestFor, limitations, install, access, compatibility, transports, review
https://posthog.com/docs/model-context-protocol/faq
Supports: install, access, limitations, review
- PostHog MCP tool inventory ↗Checked
https://posthog.com/docs/model-context-protocol/tools
Supports: summary, whySelected, bestFor, access
https://raw.githubusercontent.com/PostHog/posthog/dac21711924ee4e8762c201906252eae0c8dbd4c/services/mcp/package.json
Supports: language, review
- PostHog MCP architecture ↗Checked
https://raw.githubusercontent.com/PostHog/posthog/dac21711924ee4e8762c201906252eae0c8dbd4c/services/mcp/ARCHITECTURE.md
Supports: review, transports
- PostHog licence scope ↗Checked
https://raw.githubusercontent.com/PostHog/posthog/dac21711924ee4e8762c201906252eae0c8dbd4c/LICENSE
Supports: license