MCP server library

PostHog

PostHog MCP server

Official hosted PostHog MCP for product analytics, feature flags, experiments, errors, HogQL, and session context.

AnalyticsHTTPEasy: personal API keyAvailable

What agents can do

  • Run product analytics queries
  • Inspect feature flags
  • Analyze error groups
  • Query HogQL

Best use cases

  • Product analytics
  • Activation funnels
  • Feature rollout
  • Error triage

Safety posture

Can read and write across enabled PostHog products based on the API key scope. Use the least privileged MCP Server key available.