Mailchimp Mcp Server

Created By
damientilman3 months ago
Connect Claude to your Mailchimp account. Query campaigns, reports, audiences, and automations, or manage contacts and drafts, directly from your Claude conversations.
Overview

Mailchimp MCP Server

License: MIT Python 3.10+ MCP

A Model Context Protocol (MCP) server for the Mailchimp Marketing API. 53 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.

Mailchimp MCP server

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
  • Automations - List workflows, inspect emails in a workflow, view queues
  • Templates - Browse available email templates
  • 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
  • Campaigns - Create drafts, set HTML content, schedule, unschedule, duplicate, delete
  • Segments/Tags - Create, delete, add/remove members
  • Automations - Pause and start automation workflows
  • Batch - Run bulk API operations in a single request

Prerequisites

Installation

No installation needed — run directly:

uvx mailchimp-mcp-server

Using pip

pip install mailchimp-mcp-server

Then run:

mailchimp-mcp-server

From 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

VariableRequiredDescription
MAILCHIMP_API_KEYYesYour Mailchimp API key (format: <key>-<dc>, e.g. abc123-us8)
MAILCHIMP_READ_ONLYNoSet to true to disable all write operations (default: false)
MAILCHIMP_DRY_RUNNoSet to true to preview write operations without executing them (default: false)

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:

Using uvx (recommended)
{
  "mcpServers": {
    "mailchimp": {
      "command": "uvx",
      "args": ["mailchimp-mcp-server"],
      "env": {
        "MAILCHIMP_API_KEY": "your-api-key-here"
      }
    }
  }
}
Using pip install
{
  "mcpServers": {
    "mailchimp": {
      "command": "mailchimp-mcp-server",
      "env": {
        "MAILCHIMP_API_KEY": "your-api-key-here"
      }
    }
  }
}
Read-only mode (recommended for exploration)
{
  "mcpServers": {
    "mailchimp": {
      "command": "uvx",
      "args": ["mailchimp-mcp-server"],
      "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-mcp-server

For read-only mode:

claude mcp add mailchimp \
  -s user \
  -e MAILCHIMP_API_KEY=your-api-key-here \
  -e MAILCHIMP_READ_ONLY=true \
  -- uvx mailchimp-mcp-server

Available Tools

Account

ToolDescription
get_account_infoGet account name, email, and subscriber count

Campaigns (read)

ToolDescription
list_campaignsList campaigns with optional filters (status, date)
get_campaign_detailsGet full details of a specific campaign
list_campaign_foldersList campaign folders

Campaign Reports

ToolDescription
get_campaign_reportGet performance metrics (opens, clicks, bounces)
get_campaign_click_detailsGet per-link click data for a campaign
get_email_activityPer-recipient activity (opens, clicks, bounces)
get_open_detailsWho opened, when, how many times
get_campaign_recipientsList of recipients with delivery status
get_campaign_unsubscribesWho unsubscribed after a campaign
get_domain_performancePerformance by email domain (gmail, outlook, etc.)
get_ecommerce_product_activityRevenue per product for a campaign
get_campaign_sub_reportsSub-reports (A/B tests, RSS, etc.)

Campaigns (write)

ToolDescription
create_campaignCreate a new campaign draft
update_campaignUpdate subject line, title, preview text, etc.
set_campaign_contentSet the HTML content of a campaign draft
schedule_campaignSchedule a campaign for a specific date/time
unschedule_campaignUnschedule a campaign (back to draft)
replicate_campaignDuplicate an existing campaign
delete_campaignDelete an unsent campaign

Audiences (read)

ToolDescription
list_audiencesList all audiences with stats
get_audience_detailsGet detailed info for a specific audience
list_audience_membersList members with optional status filter
search_membersSearch members by email or name
get_audience_growth_historyMonthly growth data (subscribes, unsubscribes)
list_segmentsList segments and tags for an audience

Members (read)

ToolDescription
get_member_activityActivity history of a specific contact
get_member_tagsAll tags assigned to a contact
get_member_eventsCustom events for a contact

Members (write)

ToolDescription
add_memberAdd a new contact to an audience
update_memberUpdate a contact's name or status
unsubscribe_memberUnsubscribe a contact
delete_memberPermanently delete a contact
tag_memberAdd or remove tags from a contact

Segments & Tags (write)

ToolDescription
create_segmentCreate a new segment or tag
delete_segmentDelete a segment or tag
add_members_to_segmentAdd contacts to a segment/tag
remove_members_from_segmentRemove contacts from a segment/tag

Automations

ToolDescription
list_automationsList automated email workflows
get_automation_emailsList emails in a workflow
get_automation_email_queueView the send queue for an automation email
pause_automationPause all emails in a workflow
start_automationStart/resume all emails in a workflow

Templates

ToolDescription
list_templatesList available email templates

Landing Pages

ToolDescription
list_landing_pagesList all landing pages
get_landing_pageGet details of a landing page

E-commerce

ToolDescription
list_ecommerce_storesList connected e-commerce stores
list_store_ordersList orders from a store
list_store_productsList products from a store
list_store_customersList customers from a store

Batch Operations

ToolDescription
create_batchRun multiple API operations in bulk
get_batch_statusCheck status of a batch operation
list_batchesList 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'"
  • "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 Tilmandamien@tilman.marketing

License

MIT — see LICENSE for details.

Server Config

{
  "mcpServers": {
    "mailchimp": {
      "command": "uvx",
      "args": [
        "mailchimp-mcp-server"
      ],
      "env": {
        "MAILCHIMP_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
damientilman
Star
-
Language
-
License
-
Category
Tags

Recommend Servers

View All
Payai X402 Tools

9 hours ago
Payai X402 Tools

10 hours ago
Hellogrowthcrm

an hour ago