mailchimp-mcp
# mailchimp-mcp
MCP server for the [Mailchimp](https://mailchimp.com/) Marketing API. Create campaigns, manage audiences, send emails, and handle subscribers.
## Tools
| Tool | Description |
|------|-------------|
| `list_audiences` | List all audiences/lists |
| `list_templates` | List email templates |
| `list_campaigns` | List recent campaigns |
| `get_campaign` | Get campaign details |
| `create_campaign` | Create a new email campaign |
| `set_campaign_content` | Set HTML/template content for a campaign |
| `get_campaign_content` | Get current campaign content |
| `send_test_email` | Send a test email before full send |
| `send_campaign` | Send a campaign to its audience |
| `schedule_campaign` | Schedule a campaign for future send |
| `list_members` | List subscribers in an audience |
| `add_or_update_member` | Add or update a subscriber (upsert) |
| `batch_add_members` | Bulk add up to 500 subscribers |
## Setup
1. Install dependencies:
```bash
npm install
```
2. Copy `.env.example` to `.env` and fill in your API key:
```bash
cp .env.example .env
```
Required environment variables:
- `MAILCHIMP_API_KEY` - Your Mailchimp API key (format: `key-dc`, e.g. `abc123-us21`)
## Usage with Claude Code
Add to your Claude Code MCP config (`~/.claude.json`):
```json
{
"mcpServers": {
"mailchimp": {
"command": "node",
"args": ["/path/to/mailchimp-mcp/server.js"],
"env": {
"MAILCHIMP_API_KEY": "your-api-key-us21"
}
}
}
}
```
## License
MIT
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose with no overlap: member management, campaign operations, audience listing, and template handling are all well-separated. For example, add_or_update_member and batch_add_members serve different use cases (single vs. bulk), and campaign tools like create_campaign, send_campaign, and schedule_campaign cover distinct lifecycle stages.
Tool names follow a highly consistent verb_noun pattern throughout, such as list_audiences, create_campaign, get_campaign, and send_campaign. All tools use snake_case with clear, descriptive verbs that align with their actions, making the set predictable and easy to navigate.
With 13 tools, the count is well-scoped for a Mailchimp integration, covering core operations like audience management, campaign creation, sending, and content handling. Each tool earns its place by addressing specific needs without redundancy, fitting typical MCP server ranges for this domain.
The tool surface provides comprehensive coverage for Mailchimp's key workflows, including CRUD-like operations for campaigns and members, listing resources, and campaign lifecycle management. A minor gap exists in missing update/delete operations for campaigns or members, but agents can work around this with existing tools like add_or_update_member for updates.