PostHog

PostHog MCP Connector for Claude

A+

Analyze product data via PostHog — list insights, track persons, inspect feature flags, and monitor experiments directly from any AI agent.

10 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your PostHog project to any AI agent and take full control of your product analytics and feature management through natural conversation.

What you can do

  • Insight Exploration — List and retrieve detailed metadata for saved insights, including trends, funnels, and retention charts.
  • User Tracking — List identified persons and inspect their properties to understand individual user behavior.
  • Feature Management — Maintain a clear view of all feature flags and their current configurations.
  • Experiment Monitoring — List active and past experiments to track product improvements and results.
  • Event Auditing — List the most recent events captured by your project to verify data ingestion and user actions.

How it works

  1. Subscribe to this server
  2. Enter your PostHog Personal API Key and Project ID
  3. (Optional) Provide your PostHog Host (e.g., for EU instances)
  4. Start analyzing your product directly from Claude, Cursor, or any MCP client

Who is this for?

  • Product Managers — quickly check the status of a feature flag or review the results of a recent insight.
  • Growth Engineers — monitor active experiments and user properties during development.
  • Data Analysts — audit recent event logs and person metadata without leaving your workflow.
product-analyticsfeature-flagsuser-behaviorevent-trackingfunnel-analysisretention-metrics

10 tools expose this connector's capabilities to your AI agent.

get_event

Get details for a specific event

get_insight

Get details for a specific insight

get_person

Get details for a specific person

list_actions

List defined user actions

list_dashboards

List project dashboards

list_events

List recent project events

list_experiments

List all active and past experiments

list_feature_flags

List all feature flags

list_insights

) for the project. List PostHog insights

list_persons

List identified persons/users

See how to talk to your AI agent using PostHog.

List all saved insights in our PostHog project.

I've retrieved 12 saved insights. Some of the most recent ones are 'Daily Active Users', 'Signup Funnel', and 'Feature Adoption Trend'.

Check the status of all feature flags.

You have 8 feature flags. 5 are currently active (e.g., 'new-onboarding-flow', 'beta-search') and 3 are disabled.

List the last 5 persons identified in our project.

I've fetched the latest identified users. Here are the 5 most recent persons, including their distinct IDs and key properties like email and signup date.

You can find your Project ID in PostHog under **Project Settings**. It is a numeric ID usually found at the top of the settings page.

Related Connectors