Analytics

PostHog MCP Server

Official hosted MCP or MCPBundles managed integration.

Product analytics and session replay platform. Provides event tracking, feature flags, A/B testing, error monitoring, and user behavior insights.

Two ways to connect

Official publisher listing or MCPBundles managed integration.

Official

Publisher-hosted MCP

OAuth sign-in on this listing.

Managed

MCPBundles managed integration

Typed catalog tools on the managed integration

Connect PostHog
Live tools
Agent guide included

Built by

PostHog MCP

AI Skill
SKILL.md

Domain knowledge for PostHog MCP — workflow patterns, data models, and gotchas for your AI agent.

PostHog is a full-featured product analytics platform that helps teams understand user behavior, run experiments, and manage feature rollouts. This MCP provider gives you access to PostHog's core analytics capabilities, experiment management, feature flags, surveys, and error tracking.

Core Capabilities

Analytics & Insights: Query event data, create and manage insights, run custom analytics queries to understand user behavior patterns. Access event definitions and property schemas to understand your data structure.

Experimentation: Create, manage, and analyze A/B tests and feature experiments. Get detailed results including metrics data, exposure statistics, and performance insights across variants.

Feature Management: Create, update, and delete feature flags to control feature rollouts and targeting. Manage flag states and configurations for gradual releases or targeted user segments.

User Research: Design and deploy surveys with various question types (open-ended, rating scales, multiple choice). Target specific user segments and analyze response patterns across your user base.

Error Monitoring: Track and investigate application errors, access error details, and monitor error trends across your project.

Domain Model

PostHog organizes data around projects within organizations. Events flow into projects and are analyzed through insights, experiments reference these events for success metrics, and feature flags control user experiences. The provider can switch between accessible organizations and projects as needed.

Key Considerations

Always test queries before creating insights to ensure they return expected data. When creating experiments, establish clear hypotheses and success metrics upfront. Feature flag changes can immediately impact user experience, so coordinate with your development team. Survey targeting and timing significantly affect response rates and data quality.

The provider includes extensive documentation resources covering error tracking implementation across different platforms and frameworks.

Tools in this Server

This server uses the MCP protocol with a live tool list. Tools are discovered when your MCP client connects (often after authentication), so they are not enumerated on this public page. Open Studio or connect from your client to see the tools available to your workspace.

Frequently Asked Questions

What is the PostHog MCP server?

Product analytics and session replay platform. Provides event tracking, feature flags, A/B testing, error monitoring, and user behavior insights. It provides MCP tools that your client discovers when it connects (this page may not list every tool name) that AI agents can use through the Model Context Protocol (MCP).

How do I connect PostHog MCP to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/posthog-mcp. Authentication is handled automatically.

How many tools does PostHog MCP provide?

PostHog MCP is a remote MCP server. The live tool list is supplied by the server when your MCP client connects, so the count is not fixed on this public page. After you connect in MCPBundles Studio or your client, you will see the tools your session can call. A SKILL.md is still included to guide your agent on capabilities and workflows.

What authentication does PostHog MCP require?

PostHog MCP uses One-click sign in or API Key. PostHog MCP requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect PostHog MCP to any MCP client in minutes

MCP URL
https://mcp.mcpbundles.com/bundle/posthog-mcp

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to PostHog MCP and paste the MCP URL into Remote MCP server URL.
  4. Click Add. PostHog MCP will appear under Not connected — select it and click Connect to complete OAuth.
Name: PostHog MCP
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/posthog-mcp
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Two ways to connect

Official publisher listing or MCPBundles managed integration.

Official

Publisher-hosted MCP

OAuth sign-in on this listing.

Managed

MCPBundles managed integration

Typed catalog tools on the managed integration

Connect PostHog

Maintain this listing

Operate PostHog? You can take over the listing's metadata.

Operate PostHog MCP?

Take over this listing's metadata — name, description, category, logo, website, contact email, and skill content. Verification is a 6-digit code we email to one of the maintainer addresses your server already publishes in /.well-known/security.txt or /.well-known/mcpbundles.json. Free, takes about a minute.

Sign up to claim

Connect PostHog

Official hosted MCP or MCPBundles managed integration.

Two ways to connect

Official publisher listing or MCPBundles managed integration.

Official

Publisher-hosted MCP

OAuth sign-in on this listing.

Managed

MCPBundles managed integration

Typed catalog tools on the managed integration

Connect PostHog
PostHog MCP Server & Skill