100+ integrations are ready to connect to your AI.Connect your first MCP

PostHog MCP server for your AI

Query event data in HogQL, pull up insight and dashboard results, flip feature flags, check on running experiments, and triage the error issues stacking up in your project.

PopMCPPostHog

Which events fired most last week, and how does that compare to the week before

Supported PostHog tools

Every endpoint the API exposes, from HogQL queries and insights to feature flags, surveys and annotations, plus the triggers PopMCP can watch on your project.

A sample of the 1,373 in the full catalog — the rest stay reachable through tool search.

posthog_organizations_list

list.

posthog_organizations_projects_list

Projects for the current organization.

posthog_error_tracking_issues_list

error tracking issues list.

posthog_error_tracking_issues_retrieve

error tracking issues retrieve.

posthog_get_current_user

Return the authenticated user plus their current project (team) and organization, and the list of organizations the API key can reach.

posthog_dashboards_create

dashboards create.

posthog_dashboards_destroy

Hard delete of this model is not allowed.

posthog_dashboards_list

dashboards list.

posthog_dashboards_partial_update

dashboards partial update.

posthog_dashboards_retrieve

dashboards retrieve.

posthog_experiments_list

List experiments for the current project.

posthog_experiments_retrieve

Retrieve a single experiment by ID, including its current status, metrics, feature flag, and results metadata.

posthog_feature_flags_create

Create, read, update and delete feature flags.

posthog_feature_flags_destroy

Hard delete of this model is not allowed.

posthog_feature_flags_list

Create, read, update and delete feature flags.

posthog_feature_flags_partial_update

Create, read, update and delete feature flags.

posthog_feature_flags_retrieve

Create, read, update and delete feature flags.

posthog_insights_create

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_insights_destroy

Hard delete of this model is not allowed.

posthog_insights_list

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_insights_partial_update

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_insights_retrieve

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_persons_list

This endpoint is meant for reading and deleting persons.

posthog_persons_retrieve

This endpoint is meant for reading and deleting persons.

posthog_persons_update_property_create

This endpoint is meant for reading and deleting persons.

posthog_surveys_list

surveys list.

posthog_cohorts_list

cohorts list.

posthog_event_definitions_list

event definitions list.

posthog_annotations_create

Create, Read, Update and Delete annotations.

posthog_annotations_list

Create, Read, Update and Delete annotations.

posthog_get_database_schema

List the queryable tables and columns available to HogQL in this project (events, persons, sessions, groups, data-warehouse tables and their fields).

posthog_get_query_status

Poll the status and result of an async query started by run_hogql_query with async:true.

posthog_property_definitions_list

property definitions list.

posthog_run_hogql_query

Run a HogQL query (PostHog's ClickHouse-flavored SQL) against this project and get rows back.

posthog_accounts_create

accounts create.

posthog_cimd_verification_tokens_create

Manage CIMD verification tokens for an organization.

posthog_error_tracking_assignment_rules_create

error tracking assignment rules create.

posthog_llm_analytics_clustering_config_retrieve

Team-level clustering configuration (event filters for automated pipelines).

posthog_batch_exports_backfills_cancel_create

Cancel a batch export backfill.

posthog_logs_alerts_create

logs alerts create.

posthog_users_cancel_email_change_request_partial_update

users cancel email change request partial update.

posthog_external_data_sources_bulk_update_schemas_partial_update

Create, Read, Update and Delete External data Sources.

posthog_integrations_anthropic_managed_agent_envs_retrieve

integrations anthropic managed agent envs retrieve.

posthog_notebooks_activity_retrieve

The API for interacting with Notebooks.

posthog_environments_activity_retrieve

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_baselines_retrieve

Snapshots overview for a repo: every identifier with a current baseline (latest non-superseded master/main run per run_type), plus tolerate counts, active quarantine state, and a 30-day stability sparkline.

posthog_dashboards_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_signals_processing_list

Return current processing state including pause status.

posthog_experiments_archive_create

Archive an ended experiment.

posthog_desktop_file_system_context_generation_retrieve

Return the Task currently generating this folder's CONTEXT.md, or null if none.

posthog_hog_flows_batch_jobs_create

hog flows batch jobs create.

posthog_surveys_activity_retrieve

surveys activity retrieve.

posthog_user_interview_topics_add_interviewee_create

Add a single interviewee to this topic.

posthog_persons_activity_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_append_log_create

Append log entries

posthog_feature_flags_activity_retrieve

Create, read, update and delete feature flags.

posthog_insights_activity_retrieve

Audit trail for a single insight — every change made to it, by whom, and when.

posthog_conversations_tickets_bulk_update_status_create

Update the status of multiple tickets in a single request.

posthog_warehouse_saved_queries_activity_retrieve

Create, Read, Update and Delete Warehouse Tables.

posthog_create_session_summaries_individually

Generate AI individual summary for each session, without grouping.

posthog_tasks_create

API for managing tasks within a project.

posthog_environment_vision_quota_retrieve

environment vision quota retrieve.

posthog_endpoints_create

Create a new endpoint.

posthog_file_system_count_by_path_create

Get count of all files in a folder.

posthog_hog_functions_create

hog functions create.

posthog_mcp_server_installations_authorize_retrieve

Start (or re-start) an OAuth flow.

posthog_approval_policies_create

approval policies create.

posthog_cohorts_activity_retrieve

cohorts activity retrieve.

posthog_data_warehouse_check_database_name_retrieve

Check if a database name is available.

posthog_event_definitions_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_external_data_schemas_cancel_create

external data schemas cancel create.

posthog_groups_types_create_detail_dashboard_update

groups types create detail dashboard update.

posthog_llm_skills_create

llm skills create.

posthog_conversations_append_message_create

Appends a message to an existing conversation without triggering AI processing.

posthog_product_tours_create

product tours create.

posthog_accounts_destroy

accounts destroy.

posthog_cimd_verification_tokens_destroy

Manage CIMD verification tokens for an organization.

posthog_error_tracking_assignment_rules_destroy

error tracking assignment rules destroy.

posthog_llm_analytics_clustering_config_set_event_filters_create

Team-level clustering configuration (event filters for automated pipelines).

posthog_batch_exports_backfills_create

Create a new backfill for a BatchExport.

posthog_logs_alerts_destinations_create

Create a notification destination for this alert.

posthog_users_credentials_review_complete_create

Mark the user as having reviewed their existing credentials.

posthog_external_data_sources_cdc_status_retrieve

Live CDC health for an existing source: slot/publication existence and WAL lag.

posthog_integrations_anthropic_managed_agent_vaults_retrieve

integrations anthropic managed agent vaults retrieve.

posthog_notebooks_all_activity_retrieve

The API for interacting with Notebooks.

posthog_environments_add_product_intent_partial_update

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_create

Create a new repo.

posthog_dashboards_collaborators_create

dashboards collaborators create.

posthog_signals_processing_pause_destroy

View and control signal processing pipeline state for a team.

posthog_experiments_copy_to_project_create

Copy an experiment into another project in the same organization as a new draft.

posthog_desktop_file_system_context_generation_update

Set or clear the Task associated with this folder's CONTEXT.md generation.

posthog_hog_flows_batch_jobs_list

hog flows batch jobs list.

posthog_surveys_all_activity_retrieve

surveys all activity retrieve.

posthog_user_interview_topics_create

Planned user interview topics: who we want to target and what we want to ask about.

posthog_persons_all_activity_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_artifacts_create

Upload artifacts for a task run

posthog_feature_flags_all_activity_retrieve

Create, read, update and delete feature flags.

posthog_insights_all_activity_retrieve

Project-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when.

posthog_conversations_tickets_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_warehouse_saved_queries_ancestors_create

Return the ancestors of this saved query.

posthog_session_recording_playlists_create

session recording playlists create.

posthog_tasks_destroy

API for managing tasks within a project.

posthog_vision_observations_list

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

posthog_endpoints_destroy

Delete an endpoint and clean up materialized query.

posthog_file_system_count_create

Get count of all files in a folder.

posthog_hog_functions_destroy

Hard delete of this model is not allowed.

posthog_mcp_server_installations_create

mcp server installations create.

posthog_approval_policies_destroy

approval policies destroy.

posthog_cohorts_add_persons_to_static_cohort_partial_update

cohorts add persons to static cohort partial update.

posthog_data_warehouse_completed_activity_retrieve

Returns completed/non-running activities (jobs with status 'Completed').

posthog_event_definitions_by_name_retrieve

Get event definition by exact name

posthog_external_data_schemas_create

external data schemas create.

posthog_groups_types_destroy

groups types destroy.

posthog_llm_skills_list

llm skills list.

posthog_conversations_cancel_partial_update

conversations cancel partial update.

posthog_product_tours_destroy

product tours destroy.

posthog_accounts_list

accounts list.

posthog_cimd_verification_tokens_list

Manage CIMD verification tokens for an organization.

posthog_error_tracking_assignment_rules_list

error tracking assignment rules list.

posthog_llm_analytics_clustering_jobs_create

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_backfills_list

ViewSet for BatchExportBackfill models.

posthog_logs_alerts_destinations_delete_create

Delete a notification destination by deleting its HogFunction group atomically.

posthog_users_destroy

users destroy.

posthog_external_data_sources_check_cdc_prerequisites_create

Validate CDC prerequisites against a live Postgres connection.

posthog_integrations_anthropic_managed_agents_retrieve

integrations anthropic managed agents retrieve.

posthog_notebooks_collab_markdown_save_create

The API for interacting with Notebooks.

posthog_environments_complete_product_onboarding_partial_update

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_list

List all projects for the team.

posthog_dashboards_collaborators_destroy

dashboards collaborators destroy.

posthog_signals_processing_pause_update

View and control signal processing pipeline state for a team.

posthog_experiments_create

Create a new experiment in draft status with optional metrics.

posthog_desktop_file_system_count_by_path_create

Get count of all files in a folder.

posthog_hog_flows_bulk_delete_create

hog flows bulk delete create.

posthog_surveys_archived_response_uuids_retrieve

Get list of archived response UUIDs for HogQL filtering.

posthog_user_interview_topics_destroy

Planned user interview topics: who we want to target and what we want to ask about.

posthog_persons_batch_by_distinct_ids_create

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_artifacts_download_create

Download an artifact through the backend

posthog_feature_flags_bulk_delete_create

Bulk delete feature flags by filter criteria or explicit IDs.

posthog_insights_analyze_retrieve

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_conversations_tickets_compose_create

Create a new outbound ticket and send the first message to the customer.

posthog_warehouse_saved_queries_cancel_create

Cancel a running saved query workflow.

posthog_session_recording_playlists_destroy

Hard delete of this model is not allowed.

posthog_tasks_list

List tasks

posthog_vision_observations_retrieve

Read-only access to a session's observations across every scanner the caller can read, for the replay-page dock.

posthog_endpoints_last_execution_times_create

Get the most recent execution time per endpoint (endpoint-level).

posthog_file_system_create

file system create.

posthog_hog_functions_enable_backfills_create

hog functions enable backfills create.

posthog_mcp_server_installations_destroy

mcp server installations destroy.

posthog_approval_policies_list

approval policies list.

posthog_cohorts_all_activity_retrieve

cohorts all activity retrieve.

posthog_data_warehouse_data_health_issues_retrieve

Returns failed/disabled data pipeline items for the Pipeline status side panel.

posthog_event_definitions_create

event definitions create.

posthog_external_data_schemas_delete_data_destroy

external data schemas delete data destroy.

posthog_groups_types_list

groups types list.

posthog_llm_skills_name_archive_create

llm skills name archive create.

posthog_conversations_create

Unified endpoint that handles both conversation creation and streaming.

posthog_product_tours_discard_draft_destroy

Discard draft content.

posthog_accounts_notebooks_create

accounts notebooks create.

posthog_cimd_verification_tokens_retrieve

Manage CIMD verification tokens for an organization.

posthog_error_tracking_assignment_rules_partial_update

error tracking assignment rules partial update.

posthog_llm_analytics_clustering_jobs_destroy

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_backfills_retrieve

ViewSet for BatchExportBackfill models.

posthog_logs_alerts_destroy

logs alerts destroy.

posthog_users_github_login_retrieve

users github login retrieve.

posthog_external_data_sources_check_cdc_prerequisites_for_source

Validate CDC prerequisites for an existing source using its stored credentials.

posthog_integrations_authorize_retrieve

integrations authorize retrieve.

posthog_notebooks_collab_presence_create

The API for interacting with Notebooks.

posthog_environments_create

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_partial_update

Update a repo's settings.

posthog_dashboards_collaborators_list

dashboards collaborators list.

posthog_signals_reports_list

signals reports list.

posthog_experiments_create_exposure_cohort_for_experiment_create

Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.

posthog_desktop_file_system_count_create

Get count of all files in a folder.

posthog_hog_flows_create

hog flows create.

posthog_surveys_create

surveys create.

posthog_user_interview_topics_generate_links_create

Generate one public interview link per targeted interviewee.

posthog_persons_batch_by_uuids_create

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_artifacts_finalize_upload_create

Finalize direct uploads for task run artifacts

posthog_feature_flags_bulk_keys_retrieve

Get feature flag keys by IDs.

posthog_insights_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_conversations_tickets_create

conversations tickets create.

posthog_warehouse_saved_queries_create

Create, Read, Update and Delete Warehouse Tables.

posthog_session_recording_playlists_list

Override list to include synthetic playlists

posthog_tasks_partial_update

API for managing tasks within a project.

posthog_vision_scanners_create

CRUD for Replay Vision scanners.

posthog_endpoints_list

List all endpoints for the team.

posthog_file_system_destroy

file system destroy.

posthog_hog_functions_icon_retrieve

hog functions icon retrieve.

posthog_mcp_server_installations_install_custom_create

mcp server installations install custom create.

posthog_approval_policies_partial_update

approval policies partial update.

posthog_cohorts_calculation_history_retrieve

cohorts calculation history retrieve.

posthog_data_warehouse_data_ops_dashboard_retrieve

Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.

posthog_event_definitions_destroy

event definitions destroy.

posthog_external_data_schemas_destroy

external data schemas destroy.

posthog_groups_types_metrics_create

groups types metrics create.

posthog_llm_skills_name_duplicate_create

llm skills name duplicate create.

posthog_conversations_destroy

Delete a conversation.

posthog_product_tours_draft_partial_update

Save draft content (server-side merge).

posthog_accounts_notebooks_destroy

accounts notebooks destroy.

posthog_domains_create

domains create.

posthog_error_tracking_assignment_rules_reorder_partial_update

error tracking assignment rules reorder partial update.

posthog_llm_analytics_clustering_jobs_list

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_create

batch exports create.

posthog_logs_alerts_events_list

Paginated event history for this alert, newest first.

posthog_users_hedgehog_config_partial_update

users hedgehog config partial update.

posthog_external_data_sources_connect_link_retrieve

Return a secure browser link for connecting a data warehouse source.

posthog_integrations_channels_retrieve

integrations channels retrieve.

posthog_notebooks_collab_save_create

The API for interacting with Notebooks.

posthog_environments_default_evaluation_contexts_create

Manage default evaluation contexts for a team.

posthog_visual_review_repos_quarantine_create

Quarantine a snapshot identifier for a specific run type.

posthog_dashboards_copy_tile_create

Copy an existing dashboard tile to another dashboard (insight, text card, or widget tile).

posthog_signals_reports_retrieve

signals reports retrieve.

posthog_experiments_create_from_prompt_create

Create an experiment that compares N versions of an LLM prompt using a metric template.

posthog_desktop_file_system_create

The file tree for the desktop product surface.

posthog_hog_flows_destroy

hog flows destroy.

posthog_surveys_destroy

surveys destroy.

posthog_user_interview_topics_interviewees_bulk_create

Create up to 500 interviewee context rows for a topic in a single request.

posthog_persons_bulk_delete_create

This endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs.

posthog_tasks_runs_artifacts_prepare_upload_create

Prepare direct uploads for task run artifacts

posthog_feature_flags_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_insights_cancel_create

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_conversations_tickets_destroy

conversations tickets destroy.

posthog_warehouse_saved_queries_dependencies_retrieve

Return the count of immediate upstream and downstream dependencies for this saved query.

posthog_session_recording_playlists_partial_update

session recording playlists partial update.

posthog_tasks_presence_create

Beacon presence for a device watching this task

posthog_vision_scanners_creators_retrieve

Distinct creators across the team's scanners — feeds the `Created by` filter dropdown.

posthog_endpoints_logs_retrieve

endpoints logs retrieve.

posthog_file_system_link_create

file system link create.

posthog_hog_functions_icons_retrieve

hog functions icons retrieve.

posthog_mcp_server_installations_install_template_create

mcp server installations install template create.

posthog_approval_policies_retrieve

approval policies retrieve.

posthog_cohorts_create

cohorts create.

posthog_data_warehouse_deprovision_create

Start deprovisioning the managed warehouse for this team.

posthog_event_definitions_golang_retrieve

event definitions golang retrieve.

posthog_external_data_schemas_incremental_fields_create

external data schemas incremental fields create.

posthog_groups_types_metrics_destroy

groups types metrics destroy.

posthog_llm_skills_name_files_create

llm skills name files create.

posthog_conversations_list

conversations list.

posthog_product_tours_draft_status_retrieve

Lightweight polling endpoint for draft change detection.

posthog_accounts_notebooks_list

accounts notebooks list.

posthog_domains_destroy

domains destroy.

posthog_error_tracking_assignment_rules_retrieve

error tracking assignment rules retrieve.

posthog_llm_analytics_clustering_jobs_partial_update

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_destroy

batch exports destroy.

posthog_logs_alerts_list

logs alerts list.

posthog_users_hedgehog_config_retrieve

users hedgehog config retrieve.

posthog_external_data_sources_connections_list

Create, Read, Update and Delete External data Sources.

posthog_integrations_clickup_lists_retrieve

integrations clickup lists retrieve.

posthog_notebooks_collab_stream_retrieve

The API for interacting with Notebooks.

posthog_environments_default_evaluation_contexts_destroy

Manage default evaluation contexts for a team.

posthog_visual_review_repos_quarantine_expire_create

Expire all active quarantine entries for an identifier.

posthog_dashboards_create_from_template_json_create

dashboards create from template json create.

posthog_signals_reports_state_create

Transition a report to a new state.

posthog_experiments_destroy

Hard delete of this model is not allowed.

posthog_desktop_file_system_destroy

The file tree for the desktop product surface.

posthog_hog_flows_invocation_result_retrieve

hog flows invocation result retrieve.

posthog_surveys_duplicate_to_projects_create

Duplicate a survey to multiple projects in a single transaction.

posthog_user_interview_topics_interviewees_create

Per-interviewee extra context for an user interview topic.

posthog_persons_cohorts_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_artifacts_presign_create

Generate presigned URL for an artifact

posthog_feature_flags_create_static_cohort_for_flag_create

Create, read, update and delete feature flags.

posthog_insights_generate_metadata_create

Generate an AI-suggested name and description for an insight based on its query configuration.

posthog_conversations_tickets_list

List tickets with person data attached.

posthog_warehouse_saved_queries_descendants_create

Return the descendants of this saved query.

posthog_session_recording_playlists_recordings_create

session recording playlists recordings create.

posthog_tasks_presence_destroy

Beacon presence for a device watching this task

posthog_vision_scanners_destroy

CRUD for Replay Vision scanners.

posthog_endpoints_materialization_preview_create

Preview the materialization transform for an endpoint.

posthog_file_system_list

file system list.

posthog_hog_functions_invocations_create

hog functions invocations create.

posthog_mcp_server_installations_list

mcp server installations list.

posthog_approval_policies_update

approval policies update.

posthog_cohorts_destroy

Hard delete of this model is not allowed.

posthog_data_warehouse_job_stats_retrieve

Returns success and failed job statistics for the last 1, 7, or 30 days.

posthog_event_definitions_metrics_retrieve

event definitions metrics retrieve.

posthog_external_data_schemas_list

external data schemas list.

posthog_groups_types_metrics_list

groups types metrics list.

posthog_llm_skills_name_files_destroy

llm skills name files destroy.

posthog_conversations_queue_clear_create

conversations queue clear create.

posthog_product_tours_generate_create

Generate tour step content using AI.

posthog_accounts_notebooks_retrieve

accounts notebooks retrieve.

posthog_domains_list

domains list.

posthog_error_tracking_assignment_rules_update

error tracking assignment rules update.

posthog_llm_analytics_clustering_jobs_retrieve

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_list

batch exports list.

posthog_logs_alerts_partial_update

logs alerts partial update.

posthog_users_integrations_github_branches_retrieve

List branches for a personal GitHub installation repository

posthog_external_data_sources_create

Create, Read, Update and Delete External data Sources.

posthog_integrations_clickup_spaces_retrieve

integrations clickup spaces retrieve.

posthog_notebooks_create

The API for interacting with Notebooks.

posthog_environments_default_evaluation_contexts_retrieve

Manage default evaluation contexts for a team.

posthog_visual_review_repos_quarantine_list

List quarantined identifiers.

posthog_dashboards_create_text_tile_create

Add a markdown text tile to a dashboard.

posthog_signals_scout_config_create

Create a scout config

posthog_experiments_duplicate_create

Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.

posthog_desktop_file_system_instructions_destroy

Soft-delete every version of this folder's instructions.

posthog_hog_flows_invocation_results_retrieve

hog flows invocation results retrieve.

posthog_surveys_generate_translations_create

surveys generate translations create.

posthog_user_interview_topics_interviewees_destroy

Per-interviewee extra context for an user interview topic.

posthog_persons_delete_property_create

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_command_create

Send command to task run

posthog_feature_flags_dashboard_create

Create, read, update and delete feature flags.

posthog_insights_my_last_viewed_retrieve

Returns basic details about the last 5 insights viewed by this user.

posthog_conversations_tickets_messages_list

Return the message thread for a ticket, ordered chronologically (paginated).

posthog_warehouse_saved_queries_destroy

Create, Read, Update and Delete Warehouse Tables.

posthog_session_recording_playlists_recordings_destroy

session recording playlists recordings destroy.

posthog_tasks_repositories_retrieve

List distinct task repositories

posthog_vision_scanners_estimate_create

Estimate the observation volume a proposed scanner would generate, for the pre-save cost preview.

posthog_endpoints_materialization_status_retrieve

Get materialization status for an endpoint.

posthog_file_system_log_view_create

file system log view create.

posthog_hog_functions_list

hog functions list.

posthog_mcp_server_installations_partial_update

mcp server installations partial update.

posthog_change_requests_approve_create

Approve a change request.

posthog_cohorts_partial_update

cohorts partial update.

posthog_data_warehouse_property_values_retrieve

API endpoints for data warehouse aggregate statistics and operations.

posthog_event_definitions_partial_update

event definitions partial update.

posthog_external_data_schemas_partial_update

external data schemas partial update.

posthog_groups_types_metrics_partial_update

groups types metrics partial update.

posthog_llm_skills_name_files_rename_create

llm skills name files rename create.

posthog_conversations_queue_create

conversations queue create.

posthog_product_tours_list

product tours list.

posthog_accounts_partial_update

accounts partial update.

posthog_domains_partial_update

domains partial update.

posthog_error_tracking_fingerprints_destroy

Hard delete of this model is not allowed.

posthog_llm_analytics_clustering_jobs_update

CRUD for clustering job configurations (max 5 per team).

posthog_batch_exports_logs_retrieve

batch exports logs retrieve.

posthog_logs_alerts_reset_create

Reset a broken alert.

posthog_users_integrations_github_destroy

Disconnect a personal GitHub integration

posthog_external_data_sources_create_webhook_create

Create, Read, Update and Delete External data Sources.

posthog_integrations_clickup_workspaces_retrieve

integrations clickup workspaces retrieve.

posthog_notebooks_destroy

Hard delete of this model is not allowed.

posthog_environments_default_release_conditions_retrieve

Manage default release conditions for new feature flags in this team.

posthog_visual_review_repos_retrieve

Get a repo by ID.

posthog_dashboards_create_unlisted_dashboard_create

Creates an unlisted dashboard from template by tag.

posthog_signals_scout_config_list

List scout configs

posthog_experiments_eligible_feature_flags_retrieve

Returns a paginated list of feature flags eligible for use in experiments.

posthog_desktop_file_system_instructions_partial_update

Publish a new version of the folder's instructions.

posthog_hog_flows_invocations_create

hog flows invocations create.

posthog_surveys_global_stats_retrieve

Get aggregated response statistics across all surveys.

posthog_user_interview_topics_interviewees_list

Per-interviewee extra context for an user interview topic.

posthog_persons_deletion_status_list

List the status of queued event deletions for persons.

posthog_tasks_runs_connection_token_retrieve

Get sandbox connection token

posthog_feature_flags_dependent_flags_list

Get other active flags that depend on this flag.

posthog_insights_sharing_list

insights sharing list.

posthog_conversations_tickets_partial_update

conversations tickets partial update.

posthog_warehouse_saved_queries_list

Create, Read, Update and Delete Warehouse Tables.

posthog_session_recording_playlists_recordings_retrieve

session recording playlists recordings retrieve.

posthog_tasks_repository_readiness_retrieve

Get repository readiness

posthog_vision_scanners_list

CRUD for Replay Vision scanners.

posthog_endpoints_openapi_spec_retrieve

Get OpenAPI 3.0 specification for this endpoint.

posthog_file_system_log_view_retrieve

file system log view retrieve.

posthog_hog_functions_logs_retrieve

hog functions logs retrieve.

posthog_mcp_server_installations_proxy_create

mcp server installations proxy create.

posthog_change_requests_cancel_create

Cancel a change request.

posthog_cohorts_persons_retrieve

cohorts persons retrieve.

posthog_data_warehouse_provision_create

Start provisioning a managed warehouse for this team.

posthog_event_definitions_primary_properties_retrieve

Resolve team-configured primary properties for event definitions.

posthog_external_data_schemas_reload_create

external data schemas reload create.

posthog_groups_types_metrics_retrieve

groups types metrics retrieve.

posthog_llm_skills_name_files_retrieve

llm skills name files retrieve.

posthog_conversations_queue_destroy

conversations queue destroy.

posthog_product_tours_partial_update

product tours partial update.

posthog_accounts_retrieve

accounts retrieve.

posthog_domains_retrieve

domains retrieve.

posthog_error_tracking_fingerprints_list

error tracking fingerprints list.

posthog_llm_analytics_evaluation_config_retrieve

Get the evaluation config for this team

posthog_batch_exports_partial_update

batch exports partial update.

posthog_logs_alerts_retrieve

logs alerts retrieve.

posthog_users_integrations_github_repos_refresh_create

Refresh repositories for a personal GitHub installation

posthog_external_data_sources_database_schema_create

Create, Read, Update and Delete External data Sources.

posthog_integrations_create

integrations create.

posthog_notebooks_hogql_execute_create

The API for interacting with Notebooks.

posthog_environments_default_release_conditions_update

Manage default release conditions for new feature flags in this team.

posthog_visual_review_repos_runs_counts_retrieve

Review state counts for runs in this repo.

posthog_dashboards_delete_tile

Soft-delete a single tile from a dashboard.

posthog_signals_scout_config_update

Update a scout config

posthog_experiments_end_create

End a running experiment without shipping a variant.

posthog_desktop_file_system_instructions_retrieve

Return the latest non-deleted instructions for this folder.

posthog_hog_flows_list

hog flows list.

posthog_surveys_launch

Launch a survey by setting `start_date` to the current time.

posthog_user_interview_topics_interviewees_partial_update

Per-interviewee extra context for an user interview topic.

posthog_persons_funnel_create

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_create

Create task run

posthog_feature_flags_enrich_usage_dashboard_create

Create, read, update and delete feature flags.

posthog_insights_sharing_passwords_create

Create a new password for the sharing configuration.

posthog_conversations_tickets_reply_create

Post a reply or internal note to a ticket.

posthog_warehouse_saved_queries_materialize_create

Enable materialization for this saved query with a 24-hour sync frequency.

posthog_session_recording_playlists_retrieve

session recording playlists retrieve.

posthog_tasks_retrieve

API for managing tasks within a project.

posthog_vision_scanners_observations_list

Read-only access to observations produced by a scanner.

posthog_endpoints_partial_update

Update an existing endpoint.

posthog_file_system_move_create

file system move create.

posthog_hog_functions_metrics_retrieve

hog functions metrics retrieve.

posthog_mcp_server_installations_retrieve

mcp server installations retrieve.

posthog_change_requests_list

change requests list.

posthog_cohorts_remove_person_from_static_cohort_partial_update

cohorts remove person from static cohort partial update.

posthog_data_warehouse_reset_password_create

Reset the root password for the managed warehouse.

posthog_event_definitions_python_retrieve

event definitions python retrieve.

posthog_external_data_schemas_resync_create

external data schemas resync create.

posthog_groups_types_metrics_update

groups types metrics update.

posthog_llm_skills_name_partial_update

llm skills name partial update.

posthog_conversations_queue_partial_update

conversations queue partial update.

posthog_product_tours_publish_draft_create

Commit draft to live tour.

posthog_accounts_update

accounts update.

posthog_domains_scim_logs_retrieve

domains scim logs retrieve.

posthog_error_tracking_fingerprints_retrieve

error tracking fingerprints retrieve.

posthog_llm_analytics_evaluation_config_set_active_key_create

Set the active provider key for evaluations

posthog_batch_exports_pause_create

Pause a BatchExport.

posthog_logs_alerts_simulate_create

Simulate a logs alert on historical data using the full state machine.

posthog_users_integrations_github_repos_retrieve

List repositories for a personal GitHub installation

posthog_external_data_sources_delete_webhook_create

Create, Read, Update and Delete External data Sources.

posthog_integrations_destroy

integrations destroy.

posthog_notebooks_kernel_config_create

The API for interacting with Notebooks.

posthog_environments_delete_secret_token_backup_partial_update

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_runs_list

List runs in this repo, optionally filtered by review state.

posthog_dashboards_move_tile_create

dashboards move tile create.

posthog_signals_scout_emit_signal

Emit a finding for a run

posthog_experiments_launch_create

Launch a draft experiment.

posthog_desktop_file_system_instructions_update

Publish a new version of the folder's instructions.

posthog_hog_flows_logs_retrieve

hog flows logs retrieve.

posthog_surveys_partial_update

surveys partial update.

posthog_user_interview_topics_interviewees_retrieve

Per-interviewee extra context for an user interview topic.

posthog_persons_funnel_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_list

List task runs

posthog_feature_flags_evaluation_reasons_retrieve

Create, read, update and delete feature flags.

posthog_insights_sharing_passwords_destroy

Delete a password from the sharing configuration.

posthog_conversations_tickets_retrieve

Get single ticket and mark as read by team.

posthog_warehouse_saved_queries_partial_update

Create, Read, Update and Delete Warehouse Tables.

posthog_session_recording_playlists_update

session recording playlists update.

posthog_tasks_run_create

Run task

posthog_vision_scanners_observations_retrieve

Read-only access to observations produced by a scanner.

posthog_endpoints_retrieve

Retrieve an endpoint, or a specific version via ?version=N.

posthog_file_system_partial_update

file system partial update.

posthog_hog_functions_metrics_totals_retrieve

hog functions metrics totals retrieve.

posthog_mcp_server_installations_tools_partial_update

mcp server installations tools partial update.

posthog_change_requests_reject_create

Reject a change request.

posthog_cohorts_retrieve

cohorts retrieve.

posthog_data_warehouse_running_activity_retrieve

Returns currently running activities (jobs with status 'Running').

posthog_event_definitions_retrieve

event definitions retrieve.

posthog_external_data_schemas_retrieve

external data schemas retrieve.

posthog_groups_types_set_default_columns_update

groups types set default columns update.

posthog_llm_skills_name_retrieve

llm skills name retrieve.

posthog_conversations_queue_retrieve

conversations queue retrieve.

posthog_product_tours_retrieve

product tours retrieve.

posthog_actions_bulk_update_tags_create

Bulk update tags on multiple objects.

posthog_domains_scim_token_create

Regenerate SCIM bearer token.

posthog_error_tracking_git_provider_file_links_resolve_github_ge

error tracking git provider file links resolve github retrieve.

posthog_llm_analytics_evaluation_reports_create

CRUD for evaluation report configurations + report run history.

posthog_batch_exports_retrieve

batch exports retrieve.

posthog_logs_alerts_update

logs alerts update.

posthog_users_integrations_github_start_create

Start GitHub personal integration linking

posthog_external_data_sources_destroy

Create, Read, Update and Delete External data Sources.

posthog_integrations_domain_connect_apply_url_create

Unified endpoint for generating Domain Connect apply URLs.

posthog_notebooks_kernel_dataframe_retrieve

The API for interacting with Notebooks.

posthog_environments_destroy

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_snapshots_list

Deduped baseline timeline for a snapshot identity.

posthog_dashboards_move_tile_partial_update

dashboards move tile partial update.

posthog_signals_scout_project_profile_get

Get the current project profile

posthog_experiments_partial_update

Update an experiment.

posthog_desktop_file_system_instructions_versions_list

List the version history for this folder's instructions, newest first.

posthog_hog_flows_metrics_global_retrieve

hog flows metrics global retrieve.

posthog_surveys_question_labels

Return a slim list of question labels for the team's surveys.

posthog_user_interview_topics_interviewees_update

Per-interviewee extra context for an user interview topic.

posthog_persons_lifecycle_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_logs_retrieve

Get task run logs

posthog_feature_flags_matching_ids_retrieve

Get IDs of all feature flags matching the current filters.

posthog_insights_sharing_refresh_create

insights sharing refresh create.

posthog_conversations_tickets_suggest_reply_create

conversations tickets suggest reply create.

posthog_warehouse_saved_queries_resume_schedules_create

Resume paused materialization schedules for multiple matviews.

posthog_session_recordings_destroy

session recordings destroy.

posthog_tasks_slack_thread_context_retrieve

Resolve a Slack thread to its task, runs, and Temporal workflows

posthog_vision_scanners_observations_stats_retrieve

Aggregate counts and per-scanner-type distributions over the filtered observation set.

posthog_endpoints_run_create

Execute endpoint with optional materialization.

posthog_file_system_retrieve

file system retrieve.

posthog_hog_functions_partial_update

hog functions partial update.

posthog_mcp_server_installations_tools_refresh_create

mcp server installations tools refresh create.

posthog_change_requests_retrieve

change requests retrieve.

posthog_cohorts_update

cohorts update.

posthog_data_warehouse_total_rows_stats_retrieve

Returns aggregated statistics for the data warehouse total rows processed within the current billing period.

posthog_event_definitions_typescript_retrieve

event definitions typescript retrieve.

posthog_external_data_schemas_update

external data schemas update.

posthog_groups_types_update_metadata_partial_update

groups types update metadata partial update.

posthog_llm_skills_resolve_name_retrieve

llm skills resolve name retrieve.

posthog_conversations_retrieve

conversations retrieve.

posthog_product_tours_update

product tours update.

posthog_actions_create

actions create.

posthog_domains_update

domains update.

posthog_error_tracking_git_provider_file_links_resolve_gitlab_ge

error tracking git provider file links resolve gitlab retrieve.

posthog_llm_analytics_evaluation_reports_destroy

Hard delete of this model is not allowed.

posthog_batch_exports_run_test_step_create

batch exports run test step create.

posthog_logs_attributes_retrieve

logs attributes retrieve.

posthog_users_integrations_list

List personal GitHub integrations

posthog_external_data_sources_disable_cdc_create

Disable CDC on an existing source.

posthog_integrations_domain_connect_check_retrieve

integrations domain connect check retrieve.

posthog_notebooks_kernel_execute_create

The API for interacting with Notebooks.

posthog_environments_event_ingestion_restrictions_retrieve

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_repos_thumbnails_retrieve

Serve a snapshot thumbnail by identifier.

posthog_dashboards_reorder_tiles_create

dashboards reorder tiles create.

posthog_signals_scout_runs_emissions

List a run's emitted findings

posthog_experiments_pause_create

Pause a running experiment.

posthog_desktop_file_system_link_create

The file tree for the desktop product surface.

posthog_hog_flows_metrics_retrieve

hog flows metrics retrieve.

posthog_surveys_responses_archive_create

Archive a single survey response.

posthog_user_interview_topics_links_csv_create

Same materialization as generate_links, returned as a downloadable CSV.

posthog_persons_partial_update

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_partial_update

Update task run

posthog_feature_flags_my_flags_retrieve

Create, read, update and delete feature flags.

posthog_insights_suggestions_create

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_conversations_tickets_unread_count_retrieve

Get total unread ticket count for the team.

posthog_warehouse_saved_queries_retrieve

Create, Read, Update and Delete Warehouse Tables.

posthog_session_recordings_list

session recordings list.

posthog_tasks_staged_artifacts_finalize_upload_create

Finalize staged direct uploads for task attachments

posthog_vision_scanners_observe_create

Apply this scanner to one specific session, on demand.

posthog_endpoints_run_retrieve

Execute endpoint with optional materialization.

posthog_file_system_undo_delete_create

file system undo delete create.

posthog_hog_functions_rearrange_partial_update

Update the execution order of multiple HogFunctions.

posthog_mcp_server_installations_tools_retrieve

mcp server installations tools retrieve.

posthog_environments_promoted_product_intent_retrieve

Return the product key (e.g.

posthog_cohorts_used_in_retrieve

cohorts used in retrieve.

posthog_data_warehouse_warehouse_status_retrieve

Get the current provisioning status of the managed warehouse.

posthog_event_definitions_update

event definitions update.

posthog_actions_destroy

Hard delete of this model is not allowed.

posthog_domains_verify_create

domains verify create.

posthog_error_tracking_grouping_rules_create

error tracking grouping rules create.

posthog_llm_analytics_evaluation_reports_generate_create

Trigger immediate report generation.

posthog_batch_exports_run_test_step_new_create

batch exports run test step new create.

posthog_logs_count_create

logs count create.

posthog_users_list

users list.

posthog_external_data_sources_enable_cdc_create

Enable CDC on an existing source.

posthog_integrations_email_partial_update

integrations email partial update.

posthog_notebooks_kernel_execute_stream_create

The API for interacting with Notebooks.

posthog_environments_experiments_config_partial_update

Manage experiment configuration for this environment.

posthog_visual_review_runs_add_snapshots_create

Add a batch of snapshots to a pending run (shard-based flow).

posthog_dashboards_run_insights_retrieve

Run all insights on a dashboard and return their results.

posthog_signals_scout_runs_list

Search recent agent runs

posthog_experiments_prompt_templates_retrieve

List the LLM metric templates that can be passed to `create_from_prompt`.

posthog_desktop_file_system_list

The file tree for the desktop product surface.

posthog_hog_flows_metrics_totals_retrieve

hog flows metrics totals retrieve.

posthog_surveys_responses_count_retrieve

Get response counts for all surveys.

posthog_user_interview_topics_list

Planned user interview topics: who we want to target and what we want to ask about.

posthog_persons_properties_at_time_retrieve

Get person properties as they existed at a specific point in time.

posthog_tasks_runs_relay_message_create

Relay run message to Slack

posthog_feature_flags_remote_config_retrieve

Create, read, update and delete feature flags.

posthog_insights_suggestions_retrieve

DRF ViewSet mixin that gates coalesced responses behind permission checks.

posthog_conversations_tickets_update

Handle ticket updates including assignee changes.

posthog_warehouse_saved_queries_revert_materialization_create

Undo materialization, revert back to the original view.

posthog_session_recordings_partial_update

session recordings partial update.

posthog_tasks_staged_artifacts_prepare_upload_create

Prepare staged direct uploads for task attachments

posthog_vision_scanners_partial_update

CRUD for Replay Vision scanners.

posthog_endpoints_update

Update an existing endpoint.

posthog_file_system_unfiled_retrieve

file system unfiled retrieve.

posthog_hog_functions_retrieve

hog functions retrieve.

posthog_mcp_server_installations_update

mcp server installations update.

posthog_organizations_projects_promoted_product_intent_retrieve

Return the product key (e.g.

posthog_actions_list

actions list.

posthog_integrations_environment_mapping_partial_update

ViewSet for organization-level integrations.

posthog_error_tracking_grouping_rules_destroy

error tracking grouping rules destroy.

posthog_llm_analytics_evaluation_reports_list

CRUD for evaluation report configurations + report run history.

posthog_batch_exports_runs_cancel_create

Cancel a batch export run.

posthog_logs_count_ranges_create

logs count ranges create.

posthog_users_onboarding_skip_create

Mark the current user as having exited onboarding with a non-delegated reason.

posthog_external_data_sources_jobs_retrieve

Create, Read, Update and Delete External data Sources.

posthog_integrations_email_verify_create

integrations email verify create.

posthog_notebooks_kernel_restart_create

The API for interacting with Notebooks.

posthog_environments_experiments_config_retrieve

Manage experiment configuration for this environment.

posthog_visual_review_runs_approve_create

Mark snapshots reviewed (DB only).

posthog_dashboards_run_widgets_retrieve

dashboards run widgets retrieve.

posthog_signals_scout_runs_retrieve

Get a run by ID

posthog_experiments_recalculate_timeseries_create

Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.

posthog_desktop_file_system_log_view_create

The file tree for the desktop product surface.

posthog_hog_flows_partial_update

hog flows partial update.

posthog_surveys_responses_list

List survey responses for a specific survey, with question text resolved server-side so callers do not have to map opaque `$survey_response_<id>` keys.

posthog_user_interview_topics_partial_update

Planned user interview topics: who we want to target and what we want to ask about.

posthog_persons_properties_timeline_retrieve

This endpoint is meant for reading and deleting persons.

posthog_tasks_runs_resume_in_cloud_create

Resume task run in cloud

posthog_feature_flags_status_retrieve

Create, read, update and delete feature flags.

posthog_insights_thresholds_list

insights thresholds list.

posthog_conversations_views_create

conversations views create.

posthog_warehouse_saved_queries_run_create

Run this saved query.

posthog_session_recordings_retrieve

session recordings retrieve.

posthog_tasks_summaries_create

Fetch task summaries by ID

posthog_vision_scanners_retrieve

CRUD for Replay Vision scanners.

posthog_endpoints_versions_list

List all versions for an endpoint.

posthog_file_system_update

file system update.

posthog_hog_functions_update

hog functions update.

posthog_actions_partial_update

actions partial update.

posthog_invites_bulk_create

invites bulk create.

posthog_error_tracking_grouping_rules_list

error tracking grouping rules list.

posthog_llm_analytics_evaluation_reports_partial_update

CRUD for evaluation report configurations + report run history.

posthog_batch_exports_runs_list

batch exports runs list.

posthog_logs_explainLogWithAI_create

Explain a log entry using AI.

posthog_users_partial_update

Update one or more of the authenticated user's profile fields or settings.

posthog_external_data_sources_list

Create, Read, Update and Delete External data Sources.

posthog_integrations_github_branches_retrieve

integrations github branches retrieve.

posthog_notebooks_kernel_start_create

The API for interacting with Notebooks.

posthog_environments_generate_conversations_public_token_create

Deprecated: use /api/environments/{id}/ instead.

posthog_visual_review_runs_complete_create

Complete a run: detect removals, verify uploads, trigger diff processing.

posthog_dashboards_sharing_list

dashboards sharing list.

posthog_signals_scout_scratchpad_forget

Forget a scratchpad entry by key

posthog_experiments_requires_flag_implementation_retrieve

Mixin for ViewSets to handle ApprovalRequired exceptions from decorated serializers.

Connect PostHog to your AI

Credentials off one PostHog screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.

Create a Personal API Key under Settings → Personal API keys and paste it in. Set Region to us, eu, or selfhosted, plus Self-hosted host for the last. It locks to your current project, so no project id is needed.

Personal API Key••••••••••••3f7a
Region (us, eu, or selfhosted)us
Self-hosted host (only if region = selfhosted)https://posthog.yourcompany.com
ConnectionVerified

Then just ask for the work

  • Which events fired most last week, and how does that compare to the week before

    • get_database_schema
    • run_hogql_query
  • Roll the new-checkout flag back to 10% for everyone outside the beta cohort

    • feature_flags_list
    • feature_flags_retrieve
    • feature_flags_partial_update
  • Spin up a dashboard tracking signups, activation and week-two retention

    • event_definitions_list
    • insights_create
    • dashboards_create
  • Did the checkout redesign experiment cause this week's spike in error issues

    • experiments_list
    • experiments_retrieve
    • error_tracking_issues_list
    • error_tracking_issues_retrieve

Use PostHog from the assistant you already open

One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.

Claude DesktopCustom connector

Add the PopMCP URL under Settings → Connectors and the tools appear in every chat.

Claude WebCustom connector

The same endpoint, registered in the browser. Nothing to install on the machine you are working from.

ChatGPTCustom connector

Register PopMCP as a custom connector, then let ChatGPT read and update the account.

CodexDesktop & CLI

Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.

OpenCodeCoding agent

Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.

ZCodeDesktop app

Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.

PostHog MCP server questions

What teams ask before putting PostHog behind an AI client.

Do I need an OAuth app or a client secret to connect PostHog?

No. The connect form asks for a Personal API Key, which you create under Settings → Personal API keys and paste in. There is no OAuth handshake, no client secret and no token refresh to keep alive. The only other fields are an optional Region and, for self-hosted instances, a host.

Which PostHog project does the connection read and write?

The connection auto-detects and locks to your current project, so the AI never has to know or pass a project id. get_current_user returns the authenticated user plus their current project and organization, and the organizations the key can reach. organizations_projects_list shows the projects inside the current organization.

Can the AI query raw event data, or only saved insights?

Both. run_hogql_query runs PostHog's ClickHouse-flavored SQL against the project and hands back rows, while get_database_schema lists the tables and columns HogQL can reach — events, persons, sessions, groups and data-warehouse tables. Heavier queries can be started async and polled with get_query_status. Saved work is still reachable through insights_list and insights_retrieve.

Does this work with EU-hosted or self-hosted PostHog?

Yes. The Region field accepts us, eu, or selfhosted. If you choose selfhosted, fill in Self-hosted host with your own instance address; on US or EU Cloud you can leave that field empty.

Can the AI permanently delete a dashboard, insight or feature flag?

No — PostHog refuses a hard delete on those models, so dashboards_destroy, insights_destroy and feature_flags_destroy come back saying a hard delete of the model is not allowed. This is the thing that surprises people who expect a delete call to wipe the record. Person data is the genuinely destructive area, since the persons endpoints are built for reading and deleting persons, so keep approval-required on writes if you want those held for review.

How much of the PostHog API does the server cover?

1,373 operations across 128 API modules, split 573 read and 800 write. 34 load into your AI client by default and the rest stay searchable, so the tool list does not swamp the model. The biggest modules are Organizations, Error tracking, LLM analytics, Batch exports and Logs, and PopMCP can watch 20 triggers on top of that.

Do I have to run or host the PostHog MCP server myself?

No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.

Which AI clients can use this MCP server?

Any client that supports a remote Streamable HTTP MCP server — Claude Desktop, Claude Web, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.

Why do only 34 of the 1373 tools load by default?

Loading 1373 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 34-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. You can switch a connection to the full catalog at any time.

What is the difference between a tool and a trigger?

A tool is something your AI calls — there are 1373 here. A trigger is something PopMCP watches for you: 20 PostHog events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into PostHog.

Connect PostHog to your AI in minutes

Launch a hosted MCP endpoint for PostHog, keep tool access under control, and start testing real workflow prompts right away.

Connect your first MCP