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

Segment MCP server for your AI

Trace where events drop between a Source and a Destination, add a tracking plan rule, send identify and track calls without handling write keys, and pull one customer's traits and recent events.

PopMCPSegment

Why are Order Completed events failing to reach the Braze destination since yesterday

Supported Segment tools

The whole Segment Public API, the HTTP Tracking API for sending events, and the Unify Profile API for one-customer lookups, in a single catalog.

segment_get_audience

Get Audience.

segment_list_audiences

List Audiences.

segment_list_functions

List Functions.

segment_create_source

Create Source.

segment_create_write_key_for_source

Create Write Key for Source.

segment_get_source

Get Source.

segment_list_connected_destinations_from_source

List Connected Destinations from Source.

segment_list_connected_warehouses_from_source

List Connected Warehouses from Source.

segment_list_sources

List Sources.

segment_update_source

Update Source.

segment_get_tracking_plan

Get Tracking Plan.

segment_list_rules_from_tracking_plan

List Rules from Tracking Plan.

segment_list_tracking_plans

List Tracking Plans.

segment_update_rules_in_tracking_plan

Update Rules in Tracking Plan.

segment_create_destination

Create Destination.

segment_get_destination

Get Destination.

segment_list_delivery_metrics_summary_from_destination

List Delivery Metrics Summary from Destination.

segment_list_destinations

List Destinations.

segment_list_subscriptions_from_destination

List Subscriptions from Destination.

segment_update_destination

Update Destination.

segment_list_warehouses

List Warehouses.

segment_create_reverse_etl_manual_sync

Create Reverse ETL Manual Sync.

segment_list_reverse_etl_models

List Reverse Etl Models.

segment_list_users

List Users.

segment_alias_user

Merge two user identities: link a previous id ("previousId", usually an anonymous id) to the new "userId".

segment_create_workspace_regulation

Create Workspace Regulation.

segment_group_user

Associate an user with a group (a company, organization or account) and record the group's traits.

segment_identify_user

Identify an user and record who they are (traits like email, name, plan).

segment_list_workspace_regulations

List Workspace Regulations.

segment_send_batch

Send many identify, track, page, screen, group and alias calls in one request (up to 2,500 messages and 500 KB, each message up to 32 KB).

segment_track_event

Record an action an user performed (an event like "Order Completed" with properties).

segment_track_page

Record a website page view.

segment_track_screen

Record a mobile app screen view.

segment_get_delivery_overview_egress_failed

Get Egress Failed Metrics from Delivery Overview.

segment_get_delivery_overview_egress_success

Get Egress Success Metrics from Delivery Overview.

segment_get_delivery_overview_ingress_failed

Get Ingress Failed Metrics from Delivery Overview.

segment_get_destination_metadata

Get Destination Metadata.

segment_get_destinations_catalog

Get Destinations Catalog.

segment_get_sources_catalog

Get Sources Catalog.

segment_get_user_events

Get an user profile's recent events (the last 14 days only), newest first.

segment_get_user_external_ids

Get every identity merged into an user profile.

segment_get_user_traits

Get an user profile's traits (resolved across every source, most recent value wins).

segment_list_computed_traits

List Computed Traits.

segment_list_transformations

List Transformations.

segment_list_spaces

List Spaces.

segment_list_labels

List Labels.

segment_get_daily_workspace_mtu_usage

Get Daily Workspace MTU Usage.

segment_get_events_volume_from_workspace

Get Events Volume from Workspace.

segment_get_workspace

Get Workspace.

segment_list_audit_events

List Audit Events.

segment_add_audience_schedule_to_audience

Add Audience Schedule to Audience.

segment_create_audience

Create Audience.

segment_create_audience_preview

Create Audience Preview.

segment_create_function

Create Function.

segment_create_function_deployment

Create Function Deployment.

segment_create_insert_function_instance

Create Insert Function Instance.

segment_delete_function

Delete Function.

segment_delete_insert_function_instance

Delete Insert Function Instance.

segment_force_execute_audience_run

Force Execute Audience Run.

segment_get_audience_preview

Get Audience Preview.

segment_get_audience_schedule_from_space_and_audience

Get Audience Schedule from Space And Audience.

segment_get_function

Get Function.

segment_get_function_version

Get Function Version.

segment_get_insert_function_instance

Get Insert Function Instance.

segment_list_audience_consumers_from_space_and_audience

List Audience Consumers from Space And Audience.

segment_list_audience_schedules_from_space_and_audience

List Audience Schedules from Space And Audience.

segment_list_function_versions

List Function Versions.

segment_list_insert_function_instances

List Insert Function Instances.

segment_remove_audience_from_space

Remove Audience from Space.

segment_remove_audience_schedule_from_audience

Remove Audience Schedule from Audience.

segment_restore_function_version

Restore Function Version.

segment_update_audience_for_space

Update Audience for Space.

segment_update_audience_schedule_for_audience

Update Audience Schedule for Audience.

segment_update_function

Update Function.

segment_update_insert_function_instance

Update Insert Function Instance.

segment_add_labels_to_source

Add Labels to Source.

segment_delete_source

Delete Source.

segment_list_schema_settings_in_source

List Schema Settings in Source.

segment_remove_write_key_from_source

Remove Write Key from Source.

segment_replace_labels_in_source

Replace Labels in Source.

segment_update_schema_settings_in_source

Update Schema Settings in Source.

segment_add_permissions_to_user_group

Add Permissions to User Group.

segment_add_source_to_tracking_plan

Add Source to Tracking Plan.

segment_add_users_to_user_group

Add Users to User Group.

segment_create_tracking_plan

Create Tracking Plan.

segment_create_user_group

Create User Group.

segment_delete_tracking_plan

Delete Tracking Plan.

segment_delete_user_group

Delete User Group.

segment_get_user_group

Get User Group.

segment_list_invites_from_user_group

List Invites from User Group.

segment_list_sources_from_tracking_plan

List Sources from Tracking Plan.

segment_list_user_groups

List User Groups.

segment_list_users_from_user_group

List Users from User Group.

segment_remove_rules_from_tracking_plan

Remove Rules from Tracking Plan.

segment_remove_source_from_tracking_plan

Remove Source from Tracking Plan.

segment_remove_users_from_user_group

Remove Users from User Group.

segment_replace_permissions_for_user_group

Replace Permissions for User Group.

segment_replace_rules_in_tracking_plan

Replace Rules in Tracking Plan.

segment_replace_users_in_user_group

Replace Users in User Group.

segment_update_tracking_plan

Update Tracking Plan.

segment_update_user_group

Update User Group.

segment_add_activation_to_audience

Add Activation to Audience.

segment_add_destination_to_audience

Add Destination to Audience.

segment_batch_query_activations_for_space

Batch Query Activations for Space.

segment_create_destination_subscription

Create Destination Subscription.

segment_delete_destination

Delete Destination.

segment_get_activation_from_audience

Get Activation from Audience.

segment_get_subscription_from_destination

Get Subscription from Destination.

segment_list_activations_from_audience

List Activations from Audience.

segment_list_destinations_from_audience

List Destinations from Audience.

segment_list_supported_destinations_from_audience

List Supported Destinations from Audience.

segment_remove_activation_from_audience

Remove Activation from Audience.

segment_remove_destination_from_audience

Remove Destination from Audience.

segment_remove_subscription_from_destination

Remove Subscription from Destination.

segment_update_activation_for_audience

Update Activation for Audience.

segment_update_destination_for_audience

Update Destination for Audience.

segment_update_subscription_for_destination

Update Subscription for Destination.

segment_add_connection_from_source_to_warehouse

Add Connection from Source to Warehouse.

segment_create_validation_in_warehouse

Create Validation in Warehouse.

segment_create_warehouse

Create Warehouse.

segment_delete_warehouse

Delete Warehouse.

segment_get_connection_state_from_warehouse

Get Connection State from Warehouse.

segment_get_warehouse

Get Warehouse.

segment_list_connected_sources_from_warehouse

List Connected Sources from Warehouse.

segment_remove_source_connection_from_warehouse

Remove Source Connection from Warehouse.

segment_update_warehouse

Update Warehouse.

segment_add_permissions_to_user

Add Permissions to User.

segment_cancel_reverse_etl_sync_for_model

Cancel Reverse ETL Sync for Model.

segment_create_invites

Create Invites.

segment_create_reverse_etl_model

Create Reverse Etl Model.

segment_delete_invites

Delete Invites.

segment_delete_reverse_etl_model

Delete Reverse Etl Model.

segment_delete_users

Delete Users.

segment_get_reverse_etl_model

Get Reverse Etl Model.

segment_get_reverse_etl_sync_status

Get Reverse ETL Sync Status.

segment_get_user

Get User.

segment_list_invites

List Invites.

segment_list_reverse_etl_sync_statuses

List Reverse ETL Sync Statuses from Model And Subscription Id.

segment_list_user_groups_from_user

List User Groups from User.

segment_replace_permissions_for_user

Replace Permissions for User.

segment_update_reverse_etl_model

Update Reverse Etl Model.

segment_list_space_schema_entity_paths

List Entity Paths.

segment_list_space_schema_entity_properties

List Properties from Entity.

segment_list_space_schema_entity_property_values

List Sample Values from Entity Property.

segment_list_space_schema_event_properties

List Properties from Event.

segment_list_space_schema_event_property_values

List Sample Values from Event Property.

segment_list_space_schema_events

List Events.

segment_list_space_schema_trait_sample_values

List Sample Values from Trait.

segment_list_space_schema_traits

List Traits.

segment_create_cloud_source_regulation

Create Cloud Source Regulation.

segment_create_source_regulation

Create Source Regulation.

segment_get_regulation

Get Regulation.

segment_list_regulations_from_source

List Regulations from Source.

segment_list_suppressions

List Suppressions.

segment_create_credential

Create Credential.

segment_create_filter_for_destination

Create Filter for Destination.

segment_create_profiles_warehouse

Create Profiles Warehouse.

segment_delete_credential

Delete Credential.

segment_get_advanced_sync_schedule_from_warehouse

Get Advanced Sync Schedule from Warehouse.

segment_get_credential

Get Credential.

segment_get_delivery_overview_filtered_at_destination

Get Filtered At Destination Metrics from Delivery Overview.

segment_get_delivery_overview_filtered_at_source

Get Filtered At Source Metrics from Delivery Overview.

segment_get_delivery_overview_ingress_success

Get Ingress Success Metrics from Delivery Overview.

segment_get_filter_in_destination

Get Filter in Destination.

segment_get_source_metadata

Get Source Metadata.

segment_get_warehouse_metadata

Get Warehouse Metadata.

segment_get_warehouses_catalog

Get Warehouses Catalog.

segment_list_credential_consumers

List Credential Consumers.

segment_list_credentials

List Credentials.

segment_list_filters_from_destination

List Filters from Destination.

segment_list_profiles_warehouse_in_space

List Profiles Warehouse in Space.

segment_list_selective_syncs_from_warehouse_and_source

List Selective Syncs from Warehouse And Source.

segment_list_selective_syncs_from_warehouse_and_space

List Selective Syncs from Warehouse And Space.

segment_list_syncs_from_warehouse

List Syncs from Warehouse.

segment_list_syncs_from_warehouse_and_source

List Syncs from Warehouse And Source.

segment_preview_destination_filter

Preview Destination Filter.

segment_remove_filter_from_destination

Remove Filter from Destination.

segment_remove_profiles_warehouse_from_space

Remove Profiles Warehouse from Space.

segment_replace_advanced_sync_schedule_for_warehouse

Replace Advanced Sync Schedule for Warehouse.

segment_update_credential

Update Credential.

segment_update_filter_for_destination

Update Filter for Destination.

segment_update_profiles_warehouse_for_space_warehouse

Update Profiles Warehouse for Space Warehouse.

segment_update_selective_sync_for_warehouse

Update Selective Sync for Warehouse.

segment_update_selective_sync_for_warehouse_and_space

Update Selective Sync for Warehouse And Space.

segment_create_computed_trait

Create Computed Trait.

segment_create_space_filter

Create Filter for Space.

segment_create_transformation

Create Transformation.

segment_delete_space_filter

Delete Filter By Id.

segment_delete_transformation

Delete Transformation.

segment_get_account_events

Get an account profile's recent events (the last 14 days only), newest first.

segment_get_account_external_ids

Get every identity merged into an account profile.

segment_get_account_links

Get the users linked to an account profile (through group calls).

segment_get_account_profile_metadata

Get an account profile's metadata (created, updated and last-seen times).

segment_get_account_traits

Get an account profile's traits (resolved across every source, most recent value wins).

segment_get_computed_trait

Get Computed Trait.

segment_get_space_filter

Get Filter By Id.

segment_get_transformation

Get Transformation.

segment_get_user_links

Get the accounts an user profile is linked to (through group calls).

segment_get_user_profile_metadata

Get an user profile's metadata (created, updated and last-seen times).

segment_list_space_filters

List Filters for Space.

segment_remove_computed_trait_from_space

Remove Computed Trait from Space.

segment_update_computed_trait_for_space

Update Computed Trait for Space.

segment_update_space_filter

Update Filter By Id.

segment_update_transformation

Update Transformation.

segment_batch_query_messaging_subscriptions_for_space

Batch Query Messaging Subscriptions for Space.

segment_get_space

Get Space.

segment_replace_messaging_subscriptions_in_spaces

Replace Messaging Subscriptions in Spaces.

segment_create_label

Create Label.

segment_create_live_plugin

Create Live Plugin.

segment_delete_label

Delete Label.

segment_delete_live_plugin_code

Delete Live Plugin Code.

segment_get_latest_from_live_plugins

Get Latest from Live Plugins.

segment_get_daily_per_source_api_calls_usage

Get Daily Per Source API Calls Usage.

segment_get_daily_per_source_mtu_usage

Get Daily Per Source MTU Usage.

segment_get_daily_workspace_api_calls_usage

Get Daily Workspace API Calls Usage.

segment_create_customer_insights_download

Create Download.

segment_create_dbt_model_sync_trigger

Create Dbt Model Sync Trigger.

segment_echo_test

Echo.

segment_list_roles

List Roles.

Connect Segment to your AI

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

Paste a Public API token from Settings → Workspace settings → Access Management → Tokens → Create Token → Public API (Workspace Owner role reaches every tool). Add a Profile API token from Unify → Unify settings → API access for customer lookups.

Public API token••••••••••••3f7a
Profile API token (optional)••••••••••••3f7a
ConnectionVerified

Then just ask for the work

  • “Why are Order Completed events failing to reach the Braze destination since yesterday”

    • list_destinations
    • get_delivery_overview_egress_failed
    • list_subscriptions_from_destination
  • “Make order_id and revenue required on Order Completed in the web tracking plan”

    • list_tracking_plans
    • list_rules_from_tracking_plan
    • update_rules_in_tracking_plan
  • “Identify user 4821 as dana@northwind.co on the Pro plan and track Plan Upgraded from the backend source”

    • list_sources
    • identify_user
    • track_event
  • “What has dana@northwind.co done in the last two weeks, and which audiences is she in”

    • get_user_events
    • get_user_traits

Use Segment 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.

Segment MCP server questions

What teams ask before putting Segment behind an AI client.

What Segment token does the MCP server need?

A Public API token. Create it in Segment under Settings → Workspace settings → Access Management → Tokens → Create Token, choose Public API and give it the Workspace Owner role so every tool works; a narrower role also connects, and areas outside it answer 403. A Config API token or a source write key won't connect, and the Public API needs a Segment Team or Business plan. The token doesn't expire and covers one Segment workspace, so a second Segment workspace needs its own PopMCP workspace.

Do I need Segment source write keys to send track and identify events?

No. Every tracking tool, from identify_user and track_event to send_batch, takes a sourceId (or the Source's slug or name), and PopMCP reads that Source's write key through the Public API. A write key the AI supplies is never used, so events only go to Sources in the connected workspace. If the Source is disabled or has no write key, the call stops with a message pointing at update_source or create_write_key_for_source.

Does the Segment MCP server work with EU workspaces?

Yes, with nothing to configure. When you connect, PopMCP tries the token against Segment's US and EU hosts and keeps the region that recognises it. Public API, Tracking API and Profile API calls all follow that region from then on, and an EU connection is labelled (EU) in PopMCP.

Why does Segment return 200 for events that never show up?

Segment's Tracking API accepts calls first and drops invalid ones later. PopMCP checks every message before it is sent: a call with no userId or anonymousId, a track call with no event name, or a message over 32 KB comes back as a clear error instead of a silent 200. It also converts unix timestamps to ISO 8601, adds a messageId so a retried call isn't counted twice, and caps send_batch at 2,500 messages and 500 KB.

Can the AI look up one customer's Segment profile and recent events?

Yes, once you add the optional Profile API token. Generate it in Segment under Unify → Unify settings → API access, and PopMCP works out which space it belongs to. get_user_traits, get_user_events and get_user_external_ids then accept a plain email or user id, and get_user_events covers the last 14 days only, which is all Segment keeps there. Without that token, spaces, audiences and computed traits still work through the Public API.

How do I find out why events aren't reaching a Segment destination?

Ask for Delivery Overview. get_delivery_overview_egress_failed shows events from a Source that failed to reach a Destination, grouped by discard reason on request, and get_delivery_overview_ingress_failed shows what the Source rejected on arrival, such as invalid or oversized events or ones blocked by a tracking plan. Both default to the last 24 hours by hour, and get_events_volume_from_workspace defaults to the last 7 days by day, so the AI doesn't have to pick a window.

Do I have to run or host the Segment 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 50 of the 219 tools load by default?

Loading 219 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 50-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. Every tool stays searchable, and on Scale the owner can load the full catalog for a teammate's connection.

What is the difference between a tool and a trigger?

A tool is something your AI calls, and there are 219 here. A trigger is an event PopMCP watches for on its own. Segment has no triggers yet, so everything on this page happens when your AI calls a tool.

Connect Segment to your AI in minutes

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

Connect your first MCP