Mailchimp MCP Server

Created By
Alex LaGuardia3 months ago
Production-grade MCP server for the Mailchimp Marketing API. 33 tools covering campaigns, audiences, members, tags, segments, templates, reports, and automations. Full read/write support — create campaigns, manage subscribers, send emails, track performance. Built for Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
Overview

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

  1. Log in to Mailchimp
  2. Go to Account & Billing > Extras > API Keys
  3. Click Create A Key
  4. 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

ToolDescription
pingValidate API key and get account info

Campaigns

ToolDescription
list_campaignsList campaigns with status/audience filters
get_campaignGet campaign details (settings, tracking, recipients)
create_campaignCreate a new email campaign
update_campaignUpdate campaign settings (subject, from_name, etc.)
send_campaignSend a campaign immediately
schedule_campaignSchedule a campaign for a specific time
replicate_campaignCopy an existing campaign
send_test_emailSend test email to specified addresses

Campaign Content

ToolDescription
get_campaign_contentGet campaign HTML and plain-text content
set_campaign_contentSet content via HTML or template

Reports

ToolDescription
get_campaign_reportPerformance report (opens, clicks, bounces, unsubscribes)
get_click_reportClick details — which URLs were clicked and how often
get_open_reportOpen details — which subscribers opened and when

Audiences

ToolDescription
list_audiencesList all audiences with subscriber counts
get_audienceGet audience details and stats
create_audienceCreate a new audience/list

Members

ToolDescription
list_membersList/filter audience members by status
get_memberGet subscriber details by email
add_or_update_memberAdd new subscriber or update existing (upsert)
archive_memberArchive (soft-delete) a subscriber
search_membersSearch members across all audiences
get_member_activityRecent subscriber activity (opens, clicks, etc.)

Tags

ToolDescription
list_tagsList all tags for an audience
manage_member_tagsAdd or remove tags on a subscriber

Segments

ToolDescription
list_segmentsList saved segments for an audience
get_segment_membersList members in a segment
create_segmentCreate a static segment from email addresses

Templates

ToolDescription
list_templatesList available email templates
get_templateGet template details and HTML content

Automations

ToolDescription
list_automationsList classic automations
pause_automationPause all emails in a workflow
start_automationStart all emails in a workflow

Examples

"What campaigns have I sent recently?"

Uses list_campaigns with status=sent to show recent campaigns with open/click stats.

"Add john@example.com to my newsletter list and tag them as VIP"

Uses add_or_update_member then manage_member_tags to subscribe and tag in one flow.

"How did my last campaign perform?"

Uses list_campaigns to find the latest, then get_campaign_report for opens, clicks, bounces.

"Send a test of my draft campaign to my email"

Uses send_test_email to 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

Server Config

{
  "mcpServers": {
    "mailchimp": {
      "command": "mcp-mailchimp",
      "env": {
        "MAILCHIMP_API_KEY": "your-api-key-here"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
Alex LaGuardia
Star
-
Language
-
License
-
Category

Recommend Servers

View All