Production-grade MCP server for the Mailchimp Marketing API — 33 tools for campaigns, audiences, members, tags, segments, templates, reports, and automations.
Project description
mcp-mailchimp
Production-grade MCP server for the Mailchimp Marketing API. 33 tools covering campaigns, audiences, members, tags, segments, templates, reports, and automations.
Built for Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
Quick Start
1. Install
pip install mcp-mailchimp
Or from source:
git clone https://github.com/AlexlaGuardia/mcp-mailchimp.git
cd mcp-mailchimp
pip install .
2. Get Your API Key
- Log in to Mailchimp
- Go to Account & Billing > Extras > API Keys
- Click Create A Key
- Copy the key (format:
xxxxxxxxxx-usXX)
3. Configure Your Client
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mailchimp": {
"command": "mcp-mailchimp",
"env": {
"MAILCHIMP_API_KEY": "your-api-key-here"
}
}
}
}
Claude Code:
claude mcp add mailchimp -- env MAILCHIMP_API_KEY=your-key mcp-mailchimp
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"mailchimp": {
"command": "mcp-mailchimp",
"env": {
"MAILCHIMP_API_KEY": "your-api-key-here"
}
}
}
}
Or run directly:
MAILCHIMP_API_KEY=your-key mcp-mailchimp
Tools (33)
Account
| Tool | Description |
|---|---|
ping |
Validate API key and get account info |
Campaigns
| Tool | Description |
|---|---|
list_campaigns |
List campaigns with status/audience filters |
get_campaign |
Get campaign details (settings, tracking, recipients) |
create_campaign |
Create a new email campaign |
update_campaign |
Update campaign settings (subject, from_name, etc.) |
send_campaign |
Send a campaign immediately |
schedule_campaign |
Schedule a campaign for a specific time |
replicate_campaign |
Copy an existing campaign |
send_test_email |
Send test email to specified addresses |
Campaign Content
| Tool | Description |
|---|---|
get_campaign_content |
Get campaign HTML and plain-text content |
set_campaign_content |
Set content via HTML or template |
Reports
| Tool | Description |
|---|---|
get_campaign_report |
Performance report (opens, clicks, bounces, unsubscribes) |
get_click_report |
Click details — which URLs were clicked and how often |
get_open_report |
Open details — which subscribers opened and when |
Audiences
| Tool | Description |
|---|---|
list_audiences |
List all audiences with subscriber counts |
get_audience |
Get audience details and stats |
create_audience |
Create a new audience/list |
Members
| Tool | Description |
|---|---|
list_members |
List/filter audience members by status |
get_member |
Get subscriber details by email |
add_or_update_member |
Add new subscriber or update existing (upsert) |
archive_member |
Archive (soft-delete) a subscriber |
search_members |
Search members across all audiences |
get_member_activity |
Recent subscriber activity (opens, clicks, etc.) |
Tags
| Tool | Description |
|---|---|
list_tags |
List all tags for an audience |
manage_member_tags |
Add or remove tags on a subscriber |
Segments
| Tool | Description |
|---|---|
list_segments |
List saved segments for an audience |
get_segment_members |
List members in a segment |
create_segment |
Create a static segment from email addresses |
Templates
| Tool | Description |
|---|---|
list_templates |
List available email templates |
get_template |
Get template details and HTML content |
Automations
| Tool | Description |
|---|---|
list_automations |
List classic automations |
pause_automation |
Pause all emails in a workflow |
start_automation |
Start all emails in a workflow |
Examples
"What campaigns have I sent recently?"
Uses
list_campaignswithstatus=sentto show recent campaigns with open/click stats.
"Add john@example.com to my newsletter list and tag them as VIP"
Uses
add_or_update_memberthenmanage_member_tagsto subscribe and tag in one flow.
"How did my last campaign perform?"
Uses
list_campaignsto find the latest, thenget_campaign_reportfor opens, clicks, bounces.
"Send a test of my draft campaign to my email"
Uses
send_test_emailto send a preview before the real send.
Requirements
- Python 3.10+
- Mailchimp account with API key
- MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.)
Development
git clone https://github.com/AlexlaGuardia/mcp-mailchimp.git
cd mcp-mailchimp
pip install -e ".[dev]"
pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_mailchimp-0.2.0.tar.gz.
File metadata
- Download URL: mcp_mailchimp-0.2.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18af5d37d597bdb2dff21d637ba932da48676275222f82af96eb07e9b2f9761d
|
|
| MD5 |
35151848919ef4d063e8ceaad5e12b09
|
|
| BLAKE2b-256 |
614a75980528d8cd68b856e58e958e7c2d1a66f9a71aa566ffffb25fda295300
|
File details
Details for the file mcp_mailchimp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcp_mailchimp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae9fe7b3f52a917b6c5861b91b005812d98c0952cef0557bce09a7f2d85a0dd9
|
|
| MD5 |
91a65b6175bc2da6371dbee8770105b7
|
|
| BLAKE2b-256 |
46040f7bce4db1e377e2490bc0eba27ac98f3f38b6931f4902088706885ff9cc
|