mailchimp_list_segments
List Mailchimp Segments
MailchimpDescription
List segments for a Mailchimp audience with optional type filtering and pagination. Segment types include saved, static, and fuzzy.
Read-onlyIdempotentOpen-world
Usage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mailchimp_list_segments",
"arguments": {
"audience_id": "abc123",
"reason": "List audience segments"
}
}
}
hopkin mailchimp -segments
| Flag | Type | Required | Description |
|---|---|---|---|
--audience-id | string | Required | The Mailchimp audience/list ID. |
--type | string | Optional | Filter by segment type. |
--limit | integer | Optional | |
--cursor | string | Optional | |
--account | string | Optional | Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts. |
{
"mcpServers": {
"mailchimp": {
"url": "https://mailchimp.mcp.hopkin.ai",
"transport": "sse"
}
}
}
- List all
- Filter by type
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
audience_id |
string |
Required | The Mailchimp audience/list ID.minLength: 1 |
reason |
string |
Required | Why this tool call is neededminLength: 1, maxLength: 500 |
Optional parameters (4)
| Name | Type | Required | Description |
|---|---|---|---|
type |
string |
Optional | Filter by segment type.saved static fuzzy |
limit |
integer |
Optional | min: 1, max: 100 |
cursor |
string |
Optional | |
account_id |
string |
Optional | Mailchimp account ID. Required when multiple accounts are connected. Use mailchimp_list_accounts to see available accounts. |
Examples
List all
{
"audience_id": "abc123",
"reason": "List audience segments"
}
hopkin mailchimp -segments --audience-id abc123
Filter by type
{
"audience_id": "abc123",
"type": "saved",
"reason": "List saved segments"
}
hopkin mailchimp -segments --audience-id abc123 --type saved