PostHog MCP Server (Official)
Official PostHog MCP server enabling AI agents to interact with PostHog's product analytics platform — querying events, trends, funnels, cohorts, feature flags, and experiments from an open-source analytics stack.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
HTTPS enforced. No scope granularity on API keys. Self-hosted option provides strong data privacy. SOC 2, GDPR, HIPAA. Open source codebase improves trust.
⚡ Reliability
Best When
An agent needs product analytics insights, feature flag state, or experiment results from a PostHog-instrumented product — especially in open-source/self-hosted scenarios.
Avoid When
You're using Amplitude or Mixpanel without PostHog — use their native integrations.
Use Cases
- • Querying product analytics events and user behaviors from agents
- • Checking feature flag status and rollout percentages via agents
- • Analyzing funnel conversion data for product decision agents
- • Reading A/B experiment results from agents for automated analysis
- • User cohort queries for personalization and targeting agents
Not For
- • Infrastructure monitoring (PostHog is product analytics, not infra metrics)
- • Teams using Amplitude, Mixpanel without PostHog
- • Real-time event processing at high scale
Interface
Authentication
Personal API keys via POSTHOG_API_KEY. Project API key vs personal API key — personal key needed for management operations. No fine-grained scopes.
Pricing
PostHog OSS is free and self-hostable. Cloud is usage-based with very generous free tier. Open source with enterprise support available.
Agent Metadata
Known Gotchas
- ⚠ Project ID vs organization required for most queries — discover these first
- ⚠ HogQL (PostHog's SQL dialect) required for advanced analytics queries
- ⚠ Personal API key vs project API key — use personal for management API calls
- ⚠ Self-hosted PostHog has different base URLs — configure endpoint correctly
- ⚠ Rate limit (240/min) easily hit by analytics agents running many queries
- ⚠ Feature flag evaluation at API level — does not support local evaluation for agents
Alternatives
Full Evaluation Report
Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for PostHog MCP Server (Official).
AI-powered analysis · PDF + markdown · Delivered within 30 minutes
Package Brief
Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.
Delivered within 10 minutes
Score Monitoring
Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.
Continuous monitoring
Scores are editorial opinions as of 2026-03-07.