Create a comprehensive A/B test experiment. PROCESS: 1) Understand experiment goal and hypothesis 2) Search existing feature flags with 'feature-flags-get-all' tool first and suggest reuse or new key...
Get a specific insight by ID.
Delete a feature flag in the project.
Get all dashboards in the project with optional filtering. Can filter by pinned status, search term, or pagination.
List all tracked events in your PostHog project. Use this to discover what analytics events exist before running queries. Returns event names, descriptions, and volume data. Essential first step for...
Get all saved analytics insights (charts, reports, dashboards tiles) in the project. Insights are saved queries showing trends, funnels, retention, paths, and other visualizations. Filter by...
Get comprehensive experiment results including all metrics data (primary and secondary) and exposure data. This tool fetches the experiment details and executes the necessary queries to get complete...
Use this tool to list errors in the project.
Get survey response stats
Get response statistics for a specific survey. Includes detailed event counts (shown, dismissed, sent), unique respondents, conversion rates, and timing data. Supports optional date filtering.
Delete a survey by ID (soft delete - marks as archived).
Update an existing dashboard by ID. Can update name, description, pinned status or tags.
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 project will be used.
Generate HogQL (SQL) from natural language questions about your analytics data. Use when you need complex event analytics, custom aggregations, or queries that can't be expressed as simple...
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, Use the "search-docs" tool to find documentation on...
Delete a dashboard by ID (soft delete - marks as deleted).
Create insight from query
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 create an insight before running the query, unless...
List available properties for events or persons. Event properties include custom attributes sent with analytics events (e.g., page URL, referrer, device type). Person properties are user attributes...
Get the details of the active organization.
Fetches projects that the user has access to in the current organization.
Execute a query on an existing insight to get its results/data. Provide the insight ID to retrieve the current query results.
Get feature flag definition
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.
Switch active organization
Change the active organization from the default organization. You should only use this tool if the user asks you to change the organization - otherwise, the default organization will be used.
Use this tool to get the details of an error in the project.
Get a specific survey by ID. Returns the survey configuration including questions, targeting, and scheduling details.
Delete an experiment by ID.
Get the organizations the user has access to.
Update an existing survey by ID. Can update name, description, questions, scheduling, and other survey properties.
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 current query structure, and only modify the...
Get all survey response stats
Get aggregated response statistics across all surveys in the project. Includes event counts (shown, dismissed, sent), unique respondents, conversion rates, and timing data. Supports optional date...
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 results are sorted by model name. The total cost is...
Add an existing insight to a dashboard. Requires insight ID and dashboard ID. Optionally supports layout and color customization.
Update an existing experiment by ID. Can update name, description, lifecycle state, variants, metrics, and other properties. RESTART WORKFLOW: To restart a concluded experiment, set end_date=null,...
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 answer the user's request using other tools in this...
Get a specific dashboard by ID. The response will include insights / tiles that are on the dashboard.
Create a new dashboard in the project. Requires name and optional description, tags, and other properties.
Run analytics queries to analyze events, pageviews, sessions, and user behavior. Use this to answer questions about event volume, metrics, conversion rates, trends over time, and funnels. Supports...
Get all feature flags in the project.
Get all surveys in the project with optional filtering. Can filter by search term or use pagination.
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 group you want to target. To disable a feature...
Get details of a specific experiment by ID.
Delete an insight by ID (soft delete - marks as deleted).
Get all experiments in the project.
Creates a new survey in the project. Surveys can be popover or API-based and support various question types including open-ended, multiple choice, rating, and link questions. Once created, you should...