Get the FREE Ultimate OpenClaw Setup Guide →

mailchip

MCP server from mattcoatsworth/mailchip-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio mattcoatsworth-mailchip-mcp-server node server.js \
  --env MAILCHIMP_SERVER="usX" \
  --env MAILCHIMP_API_KEY="your-mailchimp-api-key"

How to use

This MCP server provides a programmatic interface to the Mailchimp API through a collection of tools grouped by resource type. You can use the Campaigns tools to list, create, modify, and send campaigns; Lists tools to manage audiences and their members; Templates to manage email templates; Reports to retrieve campaign analytics; and Automations to control automated workflows. Each tool corresponds to an underlying Mailchimp API operation, exposed in a consistent MCP inspector-friendly format for exploration and testing. The server is designed to be controlled via MCP UI or programmatically by sending requests to the available tools, enabling you to script campaigns, manage lists, and pull reports from Mailchimp without leaving your MCP environment.

How to install

Prerequisites:

  • Node.js and npm installed on your machine
  • Access to a Mailchimp account with API credentials

Steps:

  1. Clone the repository: git clone https://github.com/mattcoatsworth/mailchip-mcp-server.git cd mailchip-mcp-server

  2. Install dependencies: npm install

  3. Create a .env file with your Mailchimp API credentials (or copy from the example): cp .env.example .env

    Edit .env to include your API key and server prefix, e.g.:

    MAILCHIMP_API_KEY=your_api_key

    MAILCHIMP_SERVER=usX

  4. Run the server in development mode: npm run dev

Optional:

  • To test with MCP Inspector, run: npm run inspect

Additional notes

Environment variables are required for authenticating with Mailchimp. Ensure your .env (or environment) defines MAILCHIMP_API_KEY and MAILCHIMP_SERVER. If you encounter authentication errors, double-check that the API key is active for the correct Mailchimp data center (server). The MCP Inspector tool provides a web UI to explore all available tools and simulate requests before integrating them into automation scripts. If you plan to deploy, consider setting environment variables securely in your hosting environment and using a production-ready process manager (e.g., PM2) to keep the server running. If you update the npm scripts, you may need to adjust the command in mcp_config accordingly.

Related MCP Servers

Sponsor this space

Reach thousands of developers