Mailchimp MCP Server is a Model Context Protocol (MCP) server used to query and manage Mailchimp accounts from any MCP-compatible client. It is based on the Mailchimp Marketing API and makes raw HTTP calls via requests, rather than using the official mailchimp-marketing-python client.
Main capabilities
The server provides 227 tools, covering the following functional areas:
- Campaigns: list, search, inspect campaign details; create drafts, set HTML content, schedule sending, unschedule, replicate, delete, send, send test, cancel.
- Reports: open/click rates, bounces, clicks by link, domain performance, unsubscribe details; track opens/clicks by recipient, member activity history.
- Audiences: browse audiences, members, segments, tags, growth history; batch subscribe members, update audience settings.
- Members: add, update, unsubscribe, delete, tag.
- Segments & Tags: get segment details, conditions, member lists; create, update, delete, add/remove members, dynamic conditions.
- Merge fields: list, create, update, delete custom fields.
- Interest categories & groups: browse, create, delete categories and interests.
- Webhooks: list, create, delete.
- Templates: browse, extract HTML content, create, update, delete.
- Landing pages: list, inspect.
- File Manager: browse stored images, files, and folders; upload (base64) and delete.
- Surveys: list, inspect, publish, unpublish.
- Signup forms: inspect, customize header, content, and styles.
- Automations: list workflows, inspect emails in workflows, view queues; pause and start automation workflows.
- E-commerce: stores, orders, products, customers (read/write); cart lifecycle, promo rules, and promo codes.
- Batch operations: monitor batch operation status; run batch API operations in a single request.
- Campaign folders, verified domains, connected sites and accounts, campaign add-ons (checklists, collaborations, RSS), audience insights and deliverability, member compliance and advanced operations, automation email single-email control, report add-ons, etc.
Note: Mailchimp does not expose a read API for Customer Journeys (only trigger endpoints are provided). The server provides search_automation_campaigns, get_member_journey_events, and get_automation_summary as recommended workarounds, which can present every campaign sent by an automation or journey, but the journey map itself remains invisible.
Usage
Installation and running
A Mailchimp API key is required. It is recommended to run directly with uvx, with no installation required:
uvx mailchimp-mcp
The data center (such as us8, us21, etc.) is automatically extracted from each key. You can also use a prebuilt image on the GitHub Container Registry, or install via pip and then run mailchimp-mcp.
MCP client configuration
Most MCP clients accept a JSON configuration block to describe how to start the server. Configure the client to call uvx mailchimp-mcp (or mailchimp-mcp), and export MAILCHIMP_API_KEY in the environment. If the client provides a CLI to register the server, the equivalent call is:
mcp-cli add mailchimp --command uvx --args mailchimp-mcp -e MAILCHIMP_API_KEY=your_key
Replace mcp-cli with the client binary name. For read-only mode, add -e MAILCHIMP_READ_ONLY=true.
Runtime Safety
- Read-only mode: When MAILCHIMP_READ_ONLY=true is set, all write tools (create, update, delete, schedule, etc.) are blocked and return an error, while read tools work normally. Recommended for shared or exploratory setups.
- Dry-run mode: When MAILCHIMP_DRY_RUN=true is set, write tools return a preview of the operation they would perform (tool name, target resource, parameters, risk level) without making an API call.
- Risk metadata: Each tool is classified as read, write, or destructive (irreversible data loss or irreversible sending). Exposed through MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint) and the describe_tools tool.
- Structured audit logging: When MAILCHIMP_AUDIT_LOG=true is set, each dispatch emits a JSON event to stderr containing the tool, risk level, destructive flag, target account, result (executed / blocked_read_only / dry_run), and checked parameters. Sensitive values (such as base64 file_data) are redacted, and response bodies are never logged.
- Parameter contract validation: All writes pass through a single _guard_write checkpoint, and each request is validated before dispatch (pagination count limited to 1–1000, missing path IDs rejected).
Tool Subset Loading
Exposing all 227 tools sends a large tool list to the model on every turn (about 63k tokens). A subset can be loaded via the MAILCHIMP_TOOLS environment variable, which accepts comma-separated risk levels (read, write, destructive) and/or exact tool names. Examples:
- read: Reporting and analytics only (about 115 tools, about 29k tokens).
- read,write: All tools except irreversible ones.
- list_campaigns,get_campaign_report,send_campaign: A hand-picked minimal set. If unset (or all), all are exposed. Tool descriptions have repetitive boilerplate removed before reaching the model.
Multi-Account Support
By default, a single MAILCHIMP_API_KEY is used and exposed as the default account. To manage multiple Mailchimp accounts, add MAILCHIMP_API_KEY_<NAME> variables, and the suffix becomes the lowercase account name (e.g., MAILCHIMP_API_KEY_MARKETING → marketing). Each tool accepts an optional account parameter, for example list_audiences(account="marketing"). Selection is per-call and stateless; omitting account uses default. Call list_accounts to see the configured names and their safety flag statuses. Each account can carry its own MAILCHIMP_READ_ONLY_<NAME> / MAILCHIMP_DRY_RUN_<NAME> flags. Unknown accounts return an error and list the configured names. Single-key setups are unaffected.
Use Cases
- Marketers querying campaign performance, open rates, click rates, subscriber growth, etc. through natural language.
- Operational scenarios requiring bulk management of audiences, members, tags, segments, and merge fields.
- Order, product, customer, cart, and promotion management under e-commerce integrations.
- Multi-account agencies managing multiple Mailchimp accounts in a unified way.
- Shared or exploratory environments that need safety guardrails (read-only, dry-run, audit).
Limitations
- Based on the Mailchimp Marketing API and requires a valid Mailchimp API key.
- Customer Journeys has no public read API, so only partial information can be obtained through workaround tools.
- E-commerce features require an enabled e-commerce integration.
- Exposing all tools consumes a large number of tokens; loading a subset on demand is recommended.
- No information is provided about fees, pricing, or platform availability.