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.

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Other posthog analytics product-analytics mcp-server official feature-flags open-source self-hosted
⚙ Agent Friendliness
82
/ 100
Can an agent use this?
🔒 Security
78
/ 100
Is it safe for agents?
⚡ Reliability
81
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
80
Documentation
85
Error Messages
80
Auth Simplicity
85
Rate Limits
80

🔒 Security

TLS Enforcement
100
Auth Strength
75
Scope Granularity
55
Dep. Hygiene
85
Secret Handling
80

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

Uptime/SLA
85
Version Stability
82
Breaking Changes
80
Error Recovery
78
AF Security 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

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
Yes
Webhooks
No

Authentication

Methods: api_key personal_api_key
OAuth: No Scopes: No

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

Model: usage-based
Free tier: Yes
Requires CC: No

PostHog OSS is free and self-hostable. Cloud is usage-based with very generous free tier. Open source with enterprise support available.

Agent Metadata

Pagination
cursor
Idempotent
Full
Retry Guidance
Documented

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

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6470
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered