Delv
Official (Vendor)Abandoned· 5mo4.3by PostHog

PostHog

PostHog analytics MCP — query events, funnels, cohorts, feature flags. PMs love this for ad-hoc product analytics.

A
Safety & Trust

Delv Safety Grade: A

Score 84/100 · assessed 2026-04-28

Maintainer92
Permissions85
Supply chain75
Transparency88
Incidents100

PostHog's official MCP server provides read-only analytics queries against your PostHog instance. The maintainer score is excellent as PostHog is a well-established, venture-backed product analytics company with strong open-source credentials and active development. Permissions are reasonably scoped to API reads (events, funnels, cohorts, feature flags) requiring only an API key and host URL. The supply chain score is moderate because installation uses a custom wizard rather than a standard npm package, though PostHog is a legitimate vendor. Transparency is strong with open-source code, comprehensive documentation, and clear API boundaries. No security incidents are known. The main risk is that your PostHog API key grants access to potentially sensitive product and user analytics data, so key management is critical. Overall this is a trustworthy integration from a reputable vendor for teams already using PostHog.

Lethal Trifecta (prompt-injection exposure)

TRIFECTA RISK
All three axes present. This server can read private data, ingest attacker-controlled content, and send data outbound. A poisoned input (a GitHub issue, an email, a webpage) can exfiltrate secrets via this chain. Only install with auditing; avoid on shared or cloud agents.
Private dataYes
Reads secrets, credentials, private files
Untrusted inputYes
Ingests web pages, PRs, issues, emails
External commsYes
Can send data outbound

Event payloads are user-generated. Person properties hold private data. Webhook destinations and exports go outbound.

Green flags

  • Official vendor integration from established analytics company
  • Read-only API access, no write or delete operations
  • Open source with active GitHub repository
  • Well-documented with clear API boundaries
  • PostHog has strong security and compliance track record

Red flags

  • Custom wizard install rather than standard npm package
  • API key grants access to potentially sensitive user analytics data
  • No package versioning visible in install command

Permissions requested

Outbound networkRead envAccess secrets
Assessed by Delv Editorial using public metadata. Grades are advisory and update as the ecosystem changes. They do not replace your own review of permissions and code before granting an agent access to sensitive systems.

Install

npx @posthog/wizard@latest mcp add
Env vars needed: POSTHOG_API_KEYPOSTHOG_HOST

Review

PostHog's MCP server brings product analytics straight into your AI workflow. If you're a PM, growth engineer, or anyone who spends time in PostHog's dashboard answering questions about user behaviour, this is worth the five-minute setup. What it does: you can query events, build funnels, check cohort membership, and read feature flag states without leaving your editor or Claude conversation. Ask "how many users completed checkout in the last week" and get a real answer from your production data. The server talks to PostHog's API, so you need a project key and host URL, but once that's in place, it's just natural language queries. I've used this for ad-hoc retention analysis when a stakeholder pings Slack with "did that new onboarding flow actually work?" Instead of context-switching to PostHog, opening the right dashboard, tweaking date ranges, I just ask Claude. It pulls the funnel data, compares cohorts, and I can paste a summary back in under a minute. The time savings compound when you're doing this five times a day. Quirks: you're limited by what PostHog's API exposes, which is most things but not everything. Complex insights with custom breakdowns might need manual dashboard work. The server doesn't cache responses, so repeated queries hit the API each time. Not a problem for most workflows, but worth knowing if you're on a tight rate limit. Who shouldn't bother: if you're not already using PostHog, this obviously does nothing for you. If you only check analytics once a week in a scheduled review, the convenience gain is marginal. But if you're the person fielding product questions in real time, or you're prototyping a feature and want to check flag rollout percentages on the fly, this is exactly the kind of integration that justifies the whole MCP ecosystem. It's a narrow tool that does one thing well, and that thing happens to be extremely useful for a specific type of work.
Verdict

Install this if you use PostHog daily and answer product questions in real time. The ability to query events and funnels from Claude saves enough context-switching to justify the setup. Skip it if you only check analytics occasionally or don't use PostHog at all.

Good at

  • Answers product analytics questions without leaving your editor or chat window.
  • Supports the queries PMs actually need: funnels, cohorts, event counts, feature flag states.
  • Official vendor support means it tracks PostHog's API changes.
  • Works across multiple hosts including Claude Desktop, Cursor, and Windsurf.

Watch out

  • No response caching, so repeated queries hit the API every time.
  • Complex insights with custom breakdowns may still need the PostHog dashboard.
  • Requires manual setup beyond Claude Desktop for some hosts.
  • Only useful if you already have a PostHog account with meaningful data.

Getting started

1. Grab your PostHog project API key from your project settings and note your instance URL (usually app.posthog.com or your self-hosted domain). 2. Clone the repo and follow the installation steps in the README to set up the MCP server locally. 3. Add the server to your Claude Desktop config with POSTHOG_API_KEY and POSTHOG_HOST environment variables. 4. Restart Claude Desktop and verify by asking "what events did we track yesterday" or similar. 5. Watch out for API rate limits if you're on a free tier and running lots of queries in quick succession.

Works with

Claude DesktopClaude CodeCursorWindsurfClineZed

Similar MCPs