Change the active organization from the default organization. You should only use this tool if the user asks you to change the organization - otherwis...
Update an existing survey by ID. Can update name, description, questions, scheduling, and other survey properties.
Get aggregated response statistics across all surveys in the project. Includes event counts (shown, dismissed, sent), unique respondents, conversion r...
Execute a query on an existing insight to get its results/data. Provide the insight ID to retrieve the current query results.
Get a specific survey by ID. Returns the survey configuration including questions, targeting, and scheduling details.
List all tracked events in your PostHog project. Use this to discover what analytics events exist before running queries. Returns event names, descrip...
List available properties for events or persons. Event properties include custom attributes sent with analytics events (e.g., page URL, referrer, devi...
Get response statistics for a specific survey. Includes detailed event counts (shown, dismissed, sent), unique respondents, conversion rates, and timi...
Generate HogQL (SQL) from natural language questions about your analytics data. Use when you need complex event analytics, custom aggregations, or que...
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...
Update an existing dashboard by ID. Can update name, description, pinned status or tags.
Delete a survey by ID (soft delete - marks as archived).
Run analytics queries to analyze events, pageviews, sessions, and user behavior. Use this to answer questions about event volume, metrics, conversion ...
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...
Get details of a specific experiment by ID.
Delete an insight by ID (soft delete - marks as deleted).
Add an existing insight to a dashboard. Requires insight ID and dashboard ID. Optionally supports layout and color customization.
Use this tool to search the PostHog documentation for information that can help the user with their request. Use it as a fallback when you cannot answ...
Get all dashboards in the project with optional filtering. Can filter by pinned status, search term, or pagination.
Update an existing experiment by ID. Can update name, description, lifecycle state, variants, metrics, and other properties. RESTART WORKFLOW: To rest...
Get comprehensive experiment results including all metrics data (primary and secondary) and exposure data. This tool fetches the experiment details an...
Fetches projects that the user has access to in the current organization.
Create an insight from a query that you have previously tested with 'query-run'. You should check the query runs, before creating an insight. Do not c...
Update an existing insight by ID. Can update name, description, filters, and other properties. You should get the insight before update it to see it's...
Create a comprehensive A/B test experiment. PROCESS: 1) Understand experiment goal and hypothesis 2) Search existing feature flags with 'feature-flags...
Use this tool to get the details of an error in the project.
Update a new 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...
Get all saved analytics insights (charts, reports, dashboards tiles) in the project. Insights are saved queries showing trends, funnels, retention, pa...
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 ...
Delete a dashboard by ID (soft delete - marks as deleted).
Create a new dashboard in the project. Requires name and optional description, tags, and other properties.
Get the details of the active organization.
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...
Get the definition of a feature flag. You can provide either the flagId or the flagKey. If you provide both, the flagId will be used.
Get all surveys in the project with optional filtering. Can filter by search term or use pagination.
Get a specific dashboard by ID. The response will include insights / tiles that are on the dashboard.
Connect this PostHog MCP Bundle Server to any MCP client in minutes
Compatible with Claude Desktop, Cursor, and all Model Context Protocol clients
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.
Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.
Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.