Mailchimp MCP
The Mailchimp MCP server provides a Model Context Protocol interface to Mailchimp's Marketing API with 78 tools for querying and managing your Mailchimp account, covering both read and write operations.
Account & Audiences
Get account info (name, email, subscriber count, industry benchmarks)
List audiences, get details, view growth history, update settings
Batch subscribe/update up to 500 members at once
Campaigns
List, search, inspect campaign details and folders
Create, update, set HTML content, schedule/unschedule, send, send test emails, cancel, duplicate, or delete campaigns
Campaign Reports & Analytics
Aggregate performance metrics (opens, clicks, bounces, industry benchmarks)
Per-link click data, per-recipient email activity, open details, unsubscribes
Domain performance, e-commerce product revenue, and sub-reports (A/B tests, RSS)
Members (Contacts)
List, search, add, update, unsubscribe, permanently delete, and tag/untag members
View individual member activity history, tags, and custom events
Segments & Tags
List, create, update, and delete segments (static or dynamic filter-based)
Add/remove members from static segments
Merge Fields
List, create, update, and delete custom audience data fields
Interest Categories & Groups
List, create, and delete interest categories and individual interest options
Webhooks
List, create, and delete webhooks for real-time event notifications
Automations
List workflows, inspect emails and send queues, pause or start/resume automations
Templates & Landing Pages
Browse email templates; list and inspect landing pages
E-commerce
List connected stores (Shopify, WooCommerce, etc.) and browse orders, products, and customers
Batch Operations
Run bulk API operations asynchronously, monitor status and progress
Safety Modes
Read-only mode to block all write operations
Dry-run mode to preview write operations without executing them
Provides comprehensive management of Mailchimp accounts, enabling users to create and schedule campaigns, manage audiences and segments, track performance reports, and control automation workflows.
Supports performance tracking and reporting for RSS-driven email campaigns.
Allows for the retrieval and management of e-commerce data from connected stores, such as Shopify, including orders, products, and customer information.
Mailchimp MCP Server
A Model Context Protocol (MCP) server for the Mailchimp Marketing API. 82 tools to query and manage your Mailchimp account directly from Claude.
Uses the Mailchimp Marketing API via requests. Not based on the official mailchimp-marketing-python client. I hit too many issues with it so I went with raw HTTP calls instead.
Features
Read
Campaigns - List, search, and inspect campaign details
Reports - Open/click rates, bounces, per-link clicks, domain performance, unsubscribe details
Email activity - Per-recipient open/click tracking, member activity history
Audiences - Browse audiences, members, segments, tags, and growth history
Merge fields - List custom fields for an audience
Interest categories & groups - Browse interest categories and options
Webhooks - List configured webhooks
Segments - Get segment details, conditions, and member lists
Automations - List workflows, inspect emails in a workflow, view queues
Templates - Browse templates and extract HTML content
Landing pages - List and inspect landing pages
E-commerce - Stores, orders, products, customers (requires e-commerce integration)
Campaign folders - Browse folder organization
Batch operations - Monitor bulk operation status
Write
Members - Add, update, unsubscribe, delete, and tag contacts
Audiences - Batch subscribe members, update audience settings
Campaigns - Create drafts, set HTML content, schedule, unschedule, duplicate, delete, send, send test, cancel
Segments/Tags - Create, update, delete, add/remove members, dynamic conditions
Merge fields - Create, update, delete custom fields
Interest categories - Create and delete categories and interests
Webhooks - Create and delete webhooks
Templates - Create, update, and delete email templates
Automations - Pause and start automation workflows
Batch - Run bulk API operations in a single request
Related MCP server: Mailchimp MCP Server
Prerequisites
Python 3.10+
Installation
Using uvx (recommended)
No installation needed — run directly:
uvx mailchimp-mcpUsing pip
pip install mailchimp-mcpThen run:
mailchimp-mcpFrom source
git clone https://github.com/damientilman/mailchimp-mcp-server.git
cd mailchimp-mcp-server
python -m venv .venv
source .venv/bin/activate
pip install -e .Configuration
Variable | Required | Description |
| Yes | Your Mailchimp API key (format: |
| No | Set to |
| No | Set to |
The datacenter (us8, us21, etc.) is automatically extracted from the key.
Safety modes
Read-only mode — When MAILCHIMP_READ_ONLY=true, all write tools (create, update, delete, schedule, etc.) are blocked and return an error. Read tools work normally. This is the recommended default for shared or exploratory setups where you only need reporting and analytics.
Dry-run mode — When MAILCHIMP_DRY_RUN=true, write tools return a preview of the action they would perform (tool name, target resource, parameters) without making any API call. Useful for testing prompts before going live.
Claude Desktop
Add this to your claude_desktop_config.json:
Windows (Microsoft Store): If Claude Desktop was installed via the Microsoft Store, the config file is located at
C:\Users\<user>\AppData\Local\Packages\Claude_<id>\LocalCache\Roaming\Claude\claude_desktop_config.jsoninstead of the usual%APPDATA%\Claude\path.
{
"mcpServers": {
"mailchimp": {
"command": "uvx",
"args": ["mailchimp-mcp"],
"env": {
"MAILCHIMP_API_KEY": "your-api-key-here"
}
}
}
}{
"mcpServers": {
"mailchimp": {
"command": "mailchimp-mcp",
"env": {
"MAILCHIMP_API_KEY": "your-api-key-here"
}
}
}
}{
"mcpServers": {
"mailchimp": {
"command": "uvx",
"args": ["mailchimp-mcp"],
"env": {
"MAILCHIMP_API_KEY": "your-api-key-here",
"MAILCHIMP_READ_ONLY": "true"
}
}
}
}Claude Code
claude mcp add mailchimp \
-s user \
-e MAILCHIMP_API_KEY=your-api-key-here \
-- uvx mailchimp-mcpFor read-only mode:
claude mcp add mailchimp \
-s user \
-e MAILCHIMP_API_KEY=your-api-key-here \
-e MAILCHIMP_READ_ONLY=true \
-- uvx mailchimp-mcpAvailable Tools
Account
Tool | Description |
| Get account name, email, and subscriber count |
Campaigns (read)
Tool | Description |
| List campaigns with optional filters (status, date) |
| Get full details of a specific campaign |
| List campaign folders |
Campaign Reports
Tool | Description |
| Get performance metrics (opens, clicks, bounces) |
| Get per-link click data for a campaign |
| Per-recipient activity (opens, clicks, bounces) |
| Who opened, when, how many times |
| List of recipients with delivery status |
| Who unsubscribed after a campaign |
| Performance by email domain (gmail, outlook, etc.) |
| Revenue per product for a campaign |
| Sub-reports (A/B tests, RSS, etc.) |
Campaigns (write)
Tool | Description |
| Create a new campaign draft (with optional segment targeting) |
| Update settings or segment targeting of a campaign |
| Set the HTML content of a campaign draft |
| Schedule a campaign for a specific date/time |
| Unschedule a campaign (back to draft) |
| Duplicate an existing campaign |
| Delete an unsent campaign |
| Send a campaign immediately |
| Send a test email for a campaign |
| Cancel a campaign that is currently sending |
Audiences (read)
Tool | Description |
| List all audiences with stats |
| Get detailed info for a specific audience |
| List members with optional status filter |
| Search members by email or name |
| Monthly growth data (subscribes, unsubscribes) |
Members (read)
Tool | Description |
| Activity history of a specific contact |
| All tags assigned to a contact |
| Custom events for a contact |
Members (write)
Tool | Description |
| Add a new contact to an audience |
| Update a contact's name or status |
| Unsubscribe a contact |
| Permanently delete a contact |
| Add or remove tags from a contact |
Audiences (write)
Tool | Description |
| Batch add/update multiple members in an audience |
| Update audience settings (name, defaults, permission reminder) |
Segments & Tags
Tool | Description |
| List segments and tags for an audience |
| Get segment details including conditions |
| List members in a segment |
| Create a new segment or tag (static or dynamic with conditions) |
| Update a segment's name or conditions |
| Delete a segment or tag |
| Add contacts to a segment/tag |
| Remove contacts from a segment/tag |
Merge Fields
Tool | Description |
| List custom fields for an audience |
| Create a new custom field (text, number, dropdown, etc.) |
| Update a custom field |
| Delete a custom field |
Interest Categories & Groups
Tool | Description |
| List interest categories for an audience |
| Create a new interest category |
| List interests within a category |
| Create a new interest option |
| Delete an interest category |
| Delete an interest option |
Webhooks
Tool | Description |
| List webhooks for an audience |
| Create a new webhook |
| Delete a webhook |
Automations
Tool | Description |
| List automated email workflows |
| List emails in a workflow |
| View the send queue for an automation email |
| Pause all emails in a workflow |
| Start/resume all emails in a workflow |
Templates
Tool | Description |
| List available email templates |
| Get template HTML content |
| Create a new email template |
| Update template name or HTML |
| Delete a user-created template |
Landing Pages
Tool | Description |
| List all landing pages |
| Get details of a landing page |
E-commerce
Tool | Description |
| List connected e-commerce stores |
| List orders from a store |
| List products from a store |
| List customers from a store |
Batch Operations
Tool | Description |
| Run multiple API operations in bulk |
| Check status of a batch operation |
| List recent batch operations |
Example Prompts
Once connected, you can ask Claude things like:
"Show me all my sent campaigns from the last 3 months"
"What was the open rate and click rate for my last newsletter?"
"How many subscribers did I gain this year?"
"Which links got the most clicks in campaign X?"
"Search for subscriber john@example.com"
"Add tag 'VIP' to all members who opened my last campaign"
"Create a draft campaign for my main audience with subject 'March Update'"
"Create a campaign targeting only my VIP segment"
"Send a test email of my draft campaign to test@example.com"
"List all merge fields for my main audience"
"Create a dropdown merge field called 'Industry' with options Tech, Finance, Healthcare"
"Create a dynamic segment of members where FNAME is John"
"Batch subscribe 50 members from this CSV data"
"Set up a webhook to notify my app when new subscribers join"
"Unsubscribe user@example.com from my list"
"Show me the domain performance breakdown for my last campaign"
"Pause my welcome automation"
"List all orders from my Shopify store this month"
Author
Built by Damien Tilman — damien@tilman.marketing
License
MIT — see LICENSE for details.
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/damientilman/mailchimp-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server