mtl-mailchimp-mcp
An MCP server for Mailchimp that allows listing, copying, creating draft campaigns, pushing HTML content, and sending test emails via Claude Code or any MCP client, with no send/schedule capability to prevent accidental blasts.
README
mtl-mailchimp-mcp
Model Context Protocol (MCP) server for Mailchimp.
Copy or create newsletter campaigns, push HTML content, and send test emails — all from Claude Code or any MCP-compatible client.
Draft + test only. This server can list, copy, and create draft campaigns and send test emails to seed addresses. It deliberately exposes no send/schedule tool — you review the draft and hit Send in the Mailchimp UI. No accidental blasts from the CLI.
Tools
| Tool | Description |
|---|---|
mailchimp_list_audiences |
List audiences (lists) with member counts |
mailchimp_list_campaigns |
List recent campaigns, newest first |
mailchimp_get_campaign |
Get a campaign's settings, recipients, status |
mailchimp_get_content |
Peek at a campaign's stored HTML (truncated) |
mailchimp_replicate_campaign |
Copy an existing campaign into a new draft |
mailchimp_create_campaign |
Create a new draft campaign for an audience |
mailchimp_set_content_from_file |
Push a local HTML file as the campaign content |
mailchimp_update_settings |
Update subject, title, preview text, sender |
mailchimp_send_test |
Send a test to seed addresses |
mailchimp_report |
Opens/clicks/bounces for a sent campaign |
Setup
1. Get a Mailchimp API key
Mailchimp → Account → Extras → API keys. The key ends in a data-center suffix like -us19, which the server uses to find the right API host.
2. Configure
cp .env.example .env
# edit .env and paste your MAILCHIMP_API_KEY
poetry install
3. Register with Claude Code
{
"mcpServers": {
"mtl-mailchimp": {
"command": "poetry",
"args": ["run", "python", "-m", "mtl_mailchimp_mcp"],
"cwd": "/absolute/path/to/mtl-mailchimp-mcp"
}
}
}
Typical flow: reuse last month's newsletter
mailchimp_list_campaigns— find the previous issuemailchimp_replicate_campaign <id>— fresh draftmailchimp_set_content_from_file <new_id> /path/to/newsletter.html— push new HTMLmailchimp_update_settings <new_id> subject="..." preview_text="..."mailchimp_send_test <new_id>— check your inbox- Review in Mailchimp and send from the UI
Note on images: Mailchimp does not rehost images. Use absolute URLs in your HTML (e.g.
https://yourdomain.com/img/...) so they render in the inbox.
Security
- Your API key lives only in
.env(git-ignored) and is never logged. mailchimp_set_content_from_fileis confined toMAILCHIMP_CONTENT_DIR(or your home directory) and refuses hidden paths and secret files (keys, certs,*.env).- No send/schedule capability — see SECURITY.md.
Development
poetry install
poetry run ruff check .
poetry run ruff format --check .
poetry run pytest
Built by MusicTech Lab.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.