Amplitude's official hosted MCP server with 50+ tools over analytics, cohorts, experiments, feature flags, taxonomy and session replay, secured by OAuth and existing RBAC roles.
PostHogMCP Server
Summary
PostHog's official remote MCP server — query product analytics with HogQL, manage feature flags, and triage errors from your editor.
Features
- Run HogQL queries against your product analytics data
- Create, read, and update insights and dashboards
- Create and manage feature flags
- Launch and analyze experiments
- Inspect error-tracking issues and stack traces
- Hosted remote server — no local install to maintain
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
The official PostHog MCP server connects an AI agent directly to your PostHog project, turning product analytics into something you can interrogate in plain language. An agent can run HogQL queries against your event data, build and read insights and dashboards, inspect trends and funnels, create and toggle feature flags, launch and analyze experiments, and pull error-tracking stack traces without leaving the editor.
It is a hosted remote server rather than a local process, so there is nothing to run or keep updated: authenticate with a PostHog personal API key and connect from Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, or any other MCP client. The fastest setup is PostHog's own installer, npx @posthog/wizard mcp add, which detects supported clients and writes the config for you across 25+ environments.
Connecting to the server and calling its tools is free. A handful of tools use LLMs internally and are billed as PostHog AI spend; those are only available when AI data processing is enabled in your organization settings.
Related MCP Servers
MCP: Statsig
by Statsig
Statsig's official remote MCP server: 80+ tools for feature gates, experiments, dynamic configs, metrics and audit logs, with reads open and writes gated on key permissions.
MCP: Unleash
by Unleash
Unleash's official MCP server for feature flags — and unusually, it first judges whether a change needs a flag at all before creating one.
MCP: LaunchDarkly MCP Server
by LaunchDarkly
Local MCP server for LaunchDarkly — manage feature flags, AI Configs, environments, audit logs and code references from an agent.