Send track, identify, group, and page events to Segment — unify your customer data pipeline with AI.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"segment": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-segment",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify segment credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Track events, identify users, and send data to all your downstream tools via Segment.
Segment is the customer data platform that sits between your product and every analytics, marketing, and data warehouse tool you use. Every event sent through this MCP flows to all your connected Segment destinations — Amplitude, Mixpanel, Salesforce, BigQuery, and more — making it the highest-leverage place to send behavioral data from agent workflows.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-segment
| Tool | Description |
|---|---|
track_event | Track a user action or event (e.g. "Button Clicked", "Order Completed") |
identify_user | Identify a user and associate traits (email, name, plan, etc.) |
group_user | Associate a user with a group or account and set group traits |
page_view | Record a page view for web analytics |
screen_view | Record a mobile screen view |
alias_user | Alias two user identities (merge anonymous to identified) |
batch_track | Send up to 500 events in a single request |
| Variable | Required | Description | How to Get |
|---|---|---|---|
SEGMENT_WRITE_KEY | Yes | Source write key for event ingestion | app.segment.com → Connections → Sources → your source → Settings → copy Write Key |
SEGMENT_WRITE_KEY under Project → SecretsOnce added, every AI agent in your workspace can call Segment tools automatically — no per-user setup needed.
"Track a subscription_started event for user u_12345 with properties plan: pro and amount: 99"
"Identify user john@example.com with traits name: John Smith and company: Acme Corp"
"Send a group call associating user u_12345 with account org_678 with trait plan: enterprise"
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-segment \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-SEGMENT-WRITE-KEY: your-write-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"track_event","arguments":{"userId":"u_12345","event":"Order Completed","properties":{"revenue":49.99}}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-segment
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
The Segment MCP gives Claude 7 tools covering users, views, events. Claude can read, create, update, and manage Segment data directly from a conversation.
Claude can read users, views, events from your Segment account through the MCP. All 7 tools respect your Segment account permissions — Claude only accesses data you're authorized to see.
Yes. The Segment MCP uses the open Model Context Protocol standard, so it works in Claude, Cursor, Windsurf, and any other MCP-compatible AI tool. All 7 Segment tools are available everywhere you connect it — install once on Aerostack.
Yes. Aerostack hosts the Segment MCP with encrypted credential storage and per-account authentication. Your Segment credentials are never shared with Claude's conversation — they're used server-side only.