Segment

live AnalyticsDeveloperBusiness

Which applications send customer events into a Segment workspace, where that data is routed, and which warehouses receive it — sources, connected destinations and warehouse connections. Read-only; needs your own Segment Public API token.

4 tools
0ms auth
free tier 50 calls/day

Tools

segment_list_sources

Return bounded Segment sources with IDs, names, slugs, enabled state, metadata, labels, and settings. Answers which applications and systems send customer events into the workspace.

No parameters required.

Try it
segment_source_destinations

Return bounded destinations connected to one Segment source with connection IDs, destination definitions, settings, and enabled state. Answers where a source sends its customer data.

No parameters required.

Try it
segment_list_destinations

Return bounded Segment destination connections with source relationships, actions, triggers, settings, and enabled state. Answers which downstream tools receive customer data and how they are connecte

No parameters required.

Try it
segment_list_warehouses

Return bounded Segment warehouse connections with IDs, metadata, settings, and sync configuration. Answers which analytical warehouses receive unified customer data.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/segment/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/segment/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"segment_list_sources","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("segment_list_sources", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("which applications send customer events into a segment workspace, where that data is routed, and which warehouses receive it — sources, connected destinations and warehouse connections");

Related packs

Other Pipeworx packs in the same categories (Analytics, Developer, Business):