Segment integration
Customer data platform Public API for managing workspace configuration. Create and manage sources, destinations, tracking plans, warehouses, users, labels, and audit trails. Essential for programmatic workspace administration, data governance, and infrastructure management.
Say what should happen.
The workflow builds itself.
Common Segment use cases
- configuration check
- source cleanup
- data governance
- plan inspection
- data flow mapping
- governance removal
- source audit
- access control
- metadata lookup
- settings discovery
What you can do with Segment
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Tracking plan, 11 operations
add_source_to_tracking_planAdd source to tracking planPOSTConnects a source to a tracking plan.create_tracking_planCreate tracking planPOSTCreates a new tracking plan in Segment.delete_tracking_planDelete tracking planDELETEDeletes a tracking plan from Segment.get_tracking_planGet tracking planGETRetrieves details for a specific tracking plan.list_rules_from_tracking_planList rules from tracking planGETLists all rules in a tracking plan.list_sources_from_tracking_planList sources from tracking planGETLists all sources connected to a specific tracking plan.list_tracking_plansList tracking plansGETLists all tracking plans in the Segment workspace.remove_source_from_tracking_planRemove source from tracking planDELETERemoves a source from a tracking plan.replace_rules_in_tracking_planReplace rules in tracking planPUTReplaces all rules in a tracking plan with a complete new ruleset using PUT semantics.update_rules_in_tracking_planUpdate rules in tracking planPATCHUpdates specific rules in a tracking plan using PATCH semantics.update_tracking_planUpdate tracking planPATCHUpdates a Segment tracking plan.
Source, 7 operations
create_sourceCreate sourcePOSTCreates a new data source in Segment.delete_sourceDelete sourceDELETEDeletes a source from Segment.get_sourceGet sourceGETRetrieves details for a specific Segment source.list_connected_destinations_from_sourceList connected destinations from sourceGETLists all destinations connected to a specific source.list_connected_warehouses_from_sourceList connected warehouses from sourceGETLists all warehouses connected to a specific source.list_sourcesList sourcesGETLists all data sources in the Segment workspace.update_sourceUpdate sourcePATCHUpdates a Segment source configuration.
Destination, 5 operations
create_destinationCreate destinationPOSTCreates a new destination in Segment.delete_destinationDelete destinationDELETEDeletes a destination from Segment.get_destinationGet destinationGETRetrieves details for a specific Segment destination.list_destinationsList destinationsGETLists all destinations in the Segment workspace.update_destinationUpdate destinationPATCHUpdates a Segment destination configuration.
User, 5 operations
create_invitesCreate invitesPOSTInvites new users to the Segment workspace.delete_usersDelete usersDELETEDeletes users from the Segment workspace.get_userGet userGETRetrieves details for a specific workspace user.list_invitesList invitesGETLists all pending invites in the workspace.list_usersList usersGETLists all users in the Segment workspace.
Catalog, 4 operations
get_destination_metadataGet destination metadataGETRetrieves metadata for a specific destination type.get_destinations_catalogGet destinations catalogGETRetrieves the full catalog of available destination types.get_source_metadataGet source metadataGETRetrieves metadata for a specific source type.get_sources_catalogGet sources catalogGETRetrieves the full catalog of available source types.
Label, 3 operations
create_labelCreate labelPOSTCreates a new label in the Segment workspace.delete_labelDelete labelDELETEDeletes a label from the Segment workspace.list_labelsList labelsGETLists all labels in the Segment workspace.
Warehouse, 2 operations
get_warehouseGet warehouseGETRetrieves details for a specific warehouse.list_warehousesList warehousesGETLists all warehouses in the Segment workspace.
Audit, 1 operation
list_audit_eventsList audit eventsGETLists audit trail events for the workspace.
Workspace, 1 operation
get_workspaceGet workspaceGETRetrieves details for the current Segment workspace.
Use Segment from Claude Code, Cursor or Codex
Connect Segment in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Segment operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Segment
- Create your workspace
Sign up free. Nothing to install.
- Connect Segment once
Add your Segment connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Segment integration FAQ
What can you do with the Segment integration?
LiveContext exposes 39 operations on Segment, covering tracking plan, source, destination and user. Common uses include configuration check, source cleanup and data governance.
