Mailchimp MCP Server
Comprehensive MCP server for Mailchimp Marketing API v3.0 with over 104 tools and 15+ React UI apps, enabling management of campaigns, audiences, ecommerce, automations, reports, and more via natural language.
README
Mailchimp MCP Server
Complete Model Context Protocol (MCP) server for Mailchimp Marketing API v3.0 with 104+ tools and 15+ React UI apps.
๐ Features
104+ MCP Tools
Comprehensive coverage of the Mailchimp Marketing API v3.0:
- Campaigns (15 tools): Create, manage, send, schedule, and test email campaigns
- Lists/Audiences (14 tools): Manage lists, segments, interest categories, and growth analytics
- Members (12 tools): Add, update, tag, and track list subscribers
- Ecommerce (28 tools): Manage stores, products, orders, carts, customers, and promo codes
- Automations (10 tools): Manage automation workflows and emails
- Reports (8 tools): Access campaign analytics, click tracking, and performance data
- Landing Pages (8 tools): Create and manage landing pages
- Templates (6 tools): Manage email templates
- Search (2 tools): Search campaigns and members
- Tags (1 tool): Search and manage tags
15+ React UI Apps
Beautiful, dark-themed React applications for visual interaction:
- Campaign Dashboard - View and manage all campaigns
- Audience Manager - Comprehensive audience/list management
- Subscriber Grid - Searchable subscriber table
- Segment Builder - Create and manage segments
- Template Gallery - Browse and use email templates
- Automation Flow - Manage automation workflows
- Campaign Analytics - Detailed campaign performance metrics
- A/B Test Results - Compare A/B test outcomes
- Email Preview - Preview campaign emails
- Tag Manager - Organize and apply tags
- Landing Page Builder - Create landing pages
- Content Manager - Manage email content
- Growth Chart - Visualize audience growth over time
- Send Time Optimizer - Find optimal send times
- List Health Monitor - Track list health metrics
- Ecommerce Dashboard - Manage stores and products
- Promo Code Manager - Create and track promo codes
๐ฆ Installation
npm install
npm run build
๐ง Configuration
Set your Mailchimp API key as an environment variable:
export MAILCHIMP_API_KEY="your-api-key-us19"
Your API key format: xxxxxxxxxxxxxxxxxxxxx-datacenter (e.g., abc123-us19)
You can obtain your API key from: Mailchimp Account โ Extras โ API Keys
๐ฏ Usage
As MCP Server
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"mailchimp": {
"command": "node",
"args": ["/path/to/servers/mailchimp/dist/index.js"],
"env": {
"MAILCHIMP_API_KEY": "your-api-key-us19"
}
}
}
}
Standalone
npm start
๐ API Coverage
Campaign Management
- Create campaigns (regular, A/B split, RSS, variate)
- Set HTML/template content
- Send, schedule, pause, resume campaigns
- Send test emails
- Replicate campaigns
- Get send checklist
Audience/List Management
- Create and manage audiences
- Add/update/remove members (batch operations supported)
- Create segments (static, saved, fuzzy)
- Manage interest categories and groups
- Track growth history
Member Management
- Add/update members with merge fields
- Tag management (add/remove tags)
- Track member activity and goals
- Bulk subscribe operations
- VIP member designation
Automation Workflows
- List all automations
- Pause/start workflows
- Manage automation emails
- Queue management
Analytics & Reports
- Campaign performance reports
- Click-through tracking
- Open rate details
- Domain performance analysis
- A/B test results
- Email activity per subscriber
E-commerce
- Store management
- Product catalog (variants, SKUs, inventory)
- Order tracking
- Cart abandonment
- Customer management
- Promo rules and codes
Templates & Landing Pages
- Template gallery
- Create custom templates
- Landing page builder
- Publish/unpublish pages
๐จ React Apps
All apps use a consistent dark theme with Tailwind CSS:
- Background:
bg-gray-900 - Cards:
bg-gray-800withborder-gray-700 - Accents: Blue (
blue-400,blue-600) and Green (green-400,green-600) - Typography: White text with gray variants for hierarchy
Running Individual Apps
cd src/ui/react-app/campaign-dashboard
npm install
npm run dev
๐ Authentication
The server uses HTTP Basic authentication with Mailchimp's API:
- Username:
anystring(Mailchimp ignores this) - Password: Your API key
โก Rate Limiting
Mailchimp enforces rate limits (typically 10 requests/second). The client automatically:
- Tracks rate limit headers
- Waits when limit is reached
- Resumes after reset time
๐ Tool Examples
Create a Campaign
{
"type": "regular",
"recipients": {
"list_id": "abc123"
},
"settings": {
"subject_line": "Welcome to our newsletter!",
"from_name": "Your Company",
"reply_to": "hello@yourcompany.com",
"title": "Welcome Campaign"
}
}
Add a Subscriber
{
"list_id": "abc123",
"email_address": "subscriber@example.com",
"status": "subscribed",
"merge_fields": {
"FNAME": "John",
"LNAME": "Doe"
}
}
Get Campaign Report
{
"campaign_id": "abc123"
}
๐งช Testing
npm run typecheck # TypeScript type checking
npm test # Run tests (if configured)
๐๏ธ Architecture
mailchimp/
โโโ src/
โ โโโ index.ts # MCP server entry point
โ โโโ clients/
โ โ โโโ mailchimp.ts # Mailchimp API client
โ โโโ tools/
โ โ โโโ campaigns-tools.ts
โ โ โโโ lists-tools.ts
โ โ โโโ members-tools.ts
โ โ โโโ automations-tools.ts
โ โ โโโ templates-tools.ts
โ โ โโโ reports-tools.ts
โ โ โโโ landing-pages-tools.ts
โ โ โโโ ecommerce-tools.ts
โ โ โโโ tags-tools.ts
โ โ โโโ search-tools.ts
โ โโโ types/
โ โ โโโ index.ts # TypeScript type definitions
โ โโโ ui/
โ โโโ react-app/ # 15+ React applications
โ โโโ campaign-dashboard/
โ โโโ audience-manager/
โ โโโ subscriber-grid/
โ โโโ ... (12+ more apps)
โโโ dist/ # Compiled JavaScript
โโโ package.json
โโโ tsconfig.json
โโโ README.md
๐ License
MIT
๐ค Contributing
Contributions welcome! Please read our contributing guidelines and submit PRs.
๐ Support
- Mailchimp API Documentation
- MCP Documentation
- Issues: GitHub Issues
๐ Related
Built with โค๏ธ for the MCP community
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.