PostHog MCP
-
query-run
Run analytics queries including trends, funnels, retention, lifecycle, paths, stickiness, and HogQL.
-
query-generate-hogql-from-question
Generate a HogQL query from a natural-language analytics question.
-
insight-create-from-query
Create a saved insight from a query and optionally add it to a dashboard.
-
insight-get
Get details for a specific PostHog insight.
-
insights-get-all
List insights in the current project filtered by name or type.
-
insight-query
Run the query behind a saved insight and return fresh results.
-
insight-update
Update a saved insight name, description, or query.
-
insight-delete
Delete a saved insight.
-
property-definitions
List event and person properties available in the PostHog project.
-
event-definitions-list
List event definitions with volume and usage data.
-
view-list
List saved Data Warehouse views with materialization status, sync frequency, and schema.
-
view-get
Get details for a saved Data Warehouse view, including its HogQL query and run history.
-
view-create
Create a Data Warehouse view from a HogQL query.
-
view-update
Update a Data Warehouse view's name, HogQL query, or sync frequency.
-
view-delete
Delete a saved Data Warehouse view.
-
view-materialize
Enable materialization for a Data Warehouse view.
-
view-unmaterialize
Revert a materialized Data Warehouse view back to a virtual query.
-
view-run
Trigger a manual refresh for a materialized view.
-
view-run-history
Get recent materialization run statuses for a view.
-
external-data-sources-list
List configured Data Warehouse import sources with connection status and sync details.
-
external-data-sources-retrieve
Get details for an import source, including table schemas.
-
external-data-sources-create
Create a new Data Warehouse source connection.
-
external-data-sources-partial-update
Update an import source's prefix, description, or connection credentials.
-
external-data-sources-destroy
Delete an import source and its synced data.
-
external-data-sources-reload
Trigger a sync for all enabled tables in an import source.
-
external-data-sources-refresh-schemas
Fetch the latest table list from the remote source and add new tables.
-
external-data-sources-wizard
Get configuration metadata for supported source types.
-
external-data-schemas-list
List table schemas across Data Warehouse sources with sync status and configuration.
-
external-data-schemas-retrieve
Get sync details for a single Data Warehouse table schema.
-
external-data-schemas-partial-update
Update a table's sync type, frequency, incremental field, or enabled state.
-
external-data-schemas-reload
Trigger a sync for a single Data Warehouse table.
-
external-data-schemas-resync
Discard synced data and re-import a table from scratch.
-
external-data-schemas-cancel
Cancel a running sync job for a table.
-
external-data-schemas-delete-data
Delete synced table data while keeping the schema entry for re-syncing.