Posthog Tools

Analytics

PostHog is an open-source product analytics platform for tracking events, feature flags, experiments, session recordings, and user behavior.

This MCP Bundle Server is compatible with any MCP client including Claude Desktop, Cursor, and other Model Context Protocol implementations.

43 tools

Tools in this Bundle (43)

Posthog Update Feature Flag

Global
v1.0.0

Update a feature flag in the project. To enable a feature flag, you should make sure it is active and the rollout percentage is set to 100 for the gro...

Providers

Posthog Add Insight To Dashboard

Global
v1.0.0

Add an existing insight to a dashboard. Requires insight ID and dashboard ID. Optionally supports layout and color customization.

Providers

Posthog Get Experiment

Global
v1.0.0

Get details of a specific experiment by ID.

Providers

Posthog Get Organizations

Global
v1.0.0

Get the organizations the user has access to.

Providers

Posthog Get Surveys

Global
v1.0.0

Get all surveys in the project with optional filtering. Can filter by search term or use pagination.

Providers

Posthog Get Feature Flag

Global
v1.0.0

Get the definition of a feature flag. You can provide either the flag_id or the flag_key. If you provide both, the flag_id will be used.

Providers

Posthog Create Dashboard

Global
v1.0.0

Create a new dashboard in the project. Requires name and optional description, tags, and other properties.

Providers

Posthog Delete Experiment

Global
v1.0.0

Delete an experiment by ID. CAUTION: This action cannot be undone.

Providers

Posthog Delete Feature Flag

Global
v1.0.0

Delete a feature flag in the project. CAUTION: This action cannot be undone.

Providers

Posthog Get Dashboards

Global
v1.0.0

Get all dashboards in the project with optional filtering. Can filter by pinned status, search term, or pagination.

Providers

Posthog Get Organization Details

Global
v1.0.0

Get the details of the active organization.

Providers

Posthog Switch Organization

Global
v1.0.0

Change the active organization from the default organization. You should only use this tool if the user asks you to change the organization - otherwis...

Providers

Posthog List Errors

Global
v1.0.0

List error tracking issues grouped by fingerprint. Returns aggregated statistics including exception types, counts, first/last seen timestamps, and un...

Providers

Posthog Get Error Details

Global
v1.0.0

Get detailed information about a specific error issue including stack traces, occurrence counts, affected users/sessions, and metadata. Useful for deb...

Providers

Posthog Get Survey Stats

Global
v1.0.0

Get response statistics for a specific survey. Includes detailed event counts (shown, dismissed, sent), unique respondents, conversion rates, and timi...

Providers

Posthog Create Survey

Global
v1.0.0

Creates a new survey in the project. Surveys can be popover or API-based and support various question types including open-ended, multiple choice, rat...

Providers

Posthog List Event Definitions

Global
v1.0.0

Retrieve all event definitions for the project. Events are the foundation of PostHog analytics - use this to discover what events are being tracked be...

Providers

Posthog Switch Project

Global
v1.0.0

Change the active project from the default project. You should only use this tool if the user asks you to change the project - otherwise, the default ...

Providers

Posthog Update Survey

Global
v1.0.0

Update an existing survey by ID. Can update name, description, questions, scheduling, and other survey properties.

Providers

Posthog Search Docs

Global
v1.0.0

Search the PostHog documentation for how to implement features, integrate SDKs, or use PostHog features. Use this when you need to help users add Post...

Providers

Posthog Get Insights

Global
v1.0.0

Get all saved analytics insights (charts, reports, dashboards tiles) in the project. Insights are saved queries showing trends, funnels, retention, pa...

Providers

Posthog Create Experiment

Global
v1.0.0

Create a comprehensive A/B test experiment. PROCESS: 1) Understand experiment goal and hypothesis 2) Search existing feature flags first 3) Help user ...

Providers

Posthog Get Projects

Global
v1.0.0

Fetches projects that the user has access to in the current organization.

Providers

Posthog Get Insight

Global
v1.0.0

Get a specific insight by ID.

Providers

Posthog Create Insight

Global
v1.0.0

Create an insight from a query that you have previously tested with 'posthog_run_query'. You should check the query runs before creating an insight. D...

Providers

Posthog Run Query

Global
v1.0.0

Run analytics queries to analyze events, pageviews, sessions, and user behavior. Use this to answer questions about event volume, metrics, conversion ...

Providers

Posthog Update Experiment

Global
v1.0.0

Update an existing experiment by ID. Can update name, description, lifecycle state, variants, metrics. To restart a concluded experiment, set end_date...

Providers

Posthog Update Insight

Global
v1.0.0

Update an existing insight by ID. Can update name, description, filters, and other properties. You should get the insight before updating it to see it...

Providers

Posthog Get Experiments

Global
v1.0.0

Get all experiments in the project.

Providers

Posthog Delete Survey

Global
v1.0.0

Delete a survey by ID (soft delete - marks as archived).

Providers

Posthog Get Dashboard

Global
v1.0.0

Get a specific dashboard by ID. The response will include insights / tiles that are on the dashboard.

Providers

Posthog Get Experiment Results

Global
v1.0.0

Get comprehensive experiment results including all metrics data (primary and secondary) and exposure data. This tool fetches the experiment details an...

Providers

Posthog Delete Insight

Global
v1.0.0

Delete an insight by ID (soft delete - marks as deleted).

Providers

Posthog Get Survey

Global
v1.0.0

Get a specific survey by ID. Returns the survey configuration including questions, targeting, and scheduling details.

Providers

Posthog Generate Hogql

Global
v1.0.0

Generate HogQL (SQL) from natural language questions about your analytics data. Use when you need complex event analytics, custom aggregations, or que...

Providers

Posthog Get Llm Costs

Global
v1.0.0

Fetches the total LLM daily costs for each model for a project over a given number of days. If no number of days is provided, it defaults to 7. The re...

Providers

Posthog Get Surveys Global Stats

Global
v1.0.0

Get aggregated response statistics across all surveys in the project. Includes event counts (shown, dismissed, sent), unique respondents, conversion r...

Providers

Posthog Get Feature Flags

Global
v1.0.0

Get all feature flags in the project.

Providers

Posthog Create Feature Flag

Global
v1.0.0

Creates a new feature flag in the project. Once you have created a feature flag, you should: Ask the user if they want to add it to their codebase, Us...

Providers

Posthog Delete Dashboard

Global
v1.0.0

Delete a dashboard by ID (soft delete - marks as deleted).

Providers

Posthog Query Insight

Global
v1.0.0

Execute a query on an existing insight to get its results/data. Provide the insight ID to retrieve the current query results.

Providers

Posthog Update Dashboard

Global
v1.0.0

Update an existing dashboard by ID. Can update name, description, pinned status or tags.

Providers

Posthog List Properties

Global
v1.0.0

Retrieve property definitions for events, persons, or groups. Properties are metadata attached to events and users - use this to discover available di...

Providers

Required Providers (1)

Posthog

Analytics & Insights
PostHog is an open-source product analytics platform for tracking events, feature flags, experiments, session recordings, and user behavior.

Setup Instructions

Connect this Posthog Tools MCP Bundle Server to any MCP client in minutes

Compatible with Claude Desktop, Cursor, and all Model Context Protocol clients

https://mcp.mcpbundles.com/bundle/posthog

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

⚡ Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Ready to use Posthog Tools?

Get started with this MCP Bundle Server and connect it to your MCP client

Posthog Tools MCP Bundle Server - MCP Bundles • MCP Bundles