Mailchimp connector for Claude Code

Use Porter’s Mailchimp connector for Claude Code to pull campaigns, opens, clicks and audience growth into your terminal, then turn them into files, scripts and scheduled email reports in your own project.

  • Save campaign results as CSV in your repo
  • Match campaigns to Shopify orders by UTM
  • Run a weekly email report from a script
  • Compare campaigns by open and click rate
G2★★★★★Rated 4.6/5 from 288 G2 reviews (October 2026) · Used by 1,600+ marketing teams and agencies

By · Last updated November 26, 2026

Claude Codeporter connected
List every Mailchimp campaign sent in the last 30 days with E-mails sent and Campaign open rate and save it to reports/mc-campaigns.csv
porter / Mailchimp / Trailgear Demo✓ 4 rows
Saved reports/mc-campaigns.csv with 4 campaigns. Gear guide has the best open rate.
CampaignE-mails sentOpen rate
Gear guide18,24048%
Weekend sale18,11041%
New arrivals17,96037%
Survey6,32029%
Demo data, Trailgear Demo account
204 Mailchimp fields
01Setup

How to connect Mailchimp to Claude Code

Connecting Mailchimp to Claude Code takes 3 steps and no API keys: connect your Mailchimp accounts in Porter with Mailchimp, add Porter’s MCP server to Claude Code with one command, then sign in from /mcp and ask. The same server also works in Cursor, VS Code and Codex, as Porter’s Mailchimp MCP server page shows. Using the Claude app instead? See the Mailchimp connector for Claude.

Before you start

  • You need Claude Code installed (Anthropic’s Claude Code overview), a free Porter account and a Mailchimp login for the account.
  • Works with any Claude model in Claude Code, from Opus to Sonnet and Haiku.
  1. Step 1: Connect Mailchimp in Porter

    Sign up free at Porter, pick Mailchimp as the source and sign in with Mailchimp. Tick every audience you want Claude Code to read.

  2. Step 2: Add Porter to Claude Code

    In your terminal, run this command. It adds Porter for every project on your machine; drop --scope user to add it to the current project only.

    Terminal
    claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

    Or, inside Claude Code, install Porter’s plugin, which adds the server and Porter’s skill together: /plugin marketplace add portermetrics/porter, then /plugin install porter-metrics@portermetrics.

  3. Step 3: Sign in and ask

    Start claude, type /mcp, pick porter and sign in with the Google account you use in Porter. When porter shows as connected, paste this prompt:

    Prompt
    Which Mailchimp accounts can you see? List every campaign sent in the last 30 days with Campaign name, Send time and E-mails sent, and save it to reports/mc-campaigns.csv.

Guides and videos

app.portermetrics.com / create
Mailchimp Log in and authorize screen for Porter Metrics
First, log in to Mailchimp and authorize Porter Metrics.
Mailchimp screen asking you to authorize Porter Metrics Hub
Then, allow Porter Metrics Hub to access your Mailchimp account.
$ claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

$ claude mcp list
porter: https://mcp.portermetrics.com/mcp (HTTP)
Then, add Porter's MCP server from your terminal.
> /mcp
porter · needs authentication → Authenticate

> Which Mailchimp accounts can you see?
● porter - list_accounts (MCP)
Trailgear Demo
After you sign in from /mcp, Claude Code lists your Mailchimp accounts.
02Use cases and prompts

What you can do in Claude Code

Claude Code works inside your project, so Mailchimp answers can become files, scripts and dashboards instead of chat replies. Each use case has a prompt to copy and uses the Mailchimp fields Porter reads.

Can Claude Code export Mailchimp campaigns?

The problemMailchimp reports open one campaign at a time.

What Claude Code doesClaude Code lists campaigns with Campaign name, Send time, E-mails sent and Campaign open rate through Porter and writes them to a CSV.

What you getA clean campaign file in your repo, ready for analysis.

Prompt
List every Mailchimp campaign sent in the last 90 days with Campaign name, Send time, E-mails sent and Campaign open rate, and save it as data/mc-campaigns.csv.

Which Mailchimp campaigns drive orders?

The problemOpens and clicks don’t show which emails sold.

What Claude Code doesWith Shopify connected too, Claude Code matches campaigns to Shopify Orders and Gross Sales by UTM source and campaign.

What you getRevenue by email campaign from your own store data.

Prompt
With my Shopify store connected in Porter too, match Mailchimp campaigns from the last 90 days to Shopify Orders and Gross Sales where UTM Source is mailchimp, and save it to reports/mc-revenue.csv.

Can I schedule a Mailchimp report with Claude Code?

The problemMailchimp shows each campaign’s report, not how this week’s sends compare with last week’s.

What Claude Code doesclaude -p runs each Monday and compares campaigns sent, E-mails sent and Campaign open rate with the week before.

What you getreports/mc-weekly.md with send volume and open rate, week over week.

Prompt
claude -p "Compare last week with the week before in Mailchimp: campaigns sent, E-mails sent and Campaign open rate. Write it to reports/mc-weekly.md" --allowedTools "mcp__porter" "Write"
03Why Porter

Why Porter for Mailchimp in Claude Code

Mailchimp reports stop at opens and clicks. Porter puts Mailchimp next to Shopify, your ad platforms and 30+ other sources behind the same server, so email results meet real orders.

✓

One server for all your sources

The same porter server answers about Mailchimp, Meta Ads, Google Ads, GA4 and Shopify, so one script can pull every channel.

⊞

Changes only after you approve

Claude Code can make changes through Porter where the platform allows them, and each change waits for your yes.

⚙

No API key or app

You sign in with Mailchimp in Porter and with Google in Claude Code. There is no API key or app to maintain.

↻

Hosted dashboards when a file isn’t enough

Ask for a Porter AI dashboard and it is published at its own link, synced automatically and ready to share with a client.

04Dashboard

Dashboard template

With the Mailchimp connector, Claude can build a dashboard live from your account: campaigns, opens, clicks, bounces, unsubscribes, revenue and audience growth in one view. For a shared report, though, copy one of Porter’s free Mailchimp dashboard templates, ready for the report your team opens every week.

AI dashboards

Build a live Mailchimp dashboard from the chat

Describe the dashboard in one sentence and Porter builds it. A client-ready dashboard in minutes, with no chart dragging and no BI tool to learn. Ask Claude Code:

Prompt
Build a live Mailchimp dashboard for my account with the last 30 days, the main KPIs and a weekly trend.
Live URLEach dashboard at its own link: no login, no app, no download
Auto-syncFresh Mailchimp data, nobody re-exports each period
Scheduled deliveryEmail or PDF sends on a set day
White labelYour logo and branding for clients
Sharing permissionsView or edit access per person

Open the live Mailchimp dashboard

Mailchimp dashboard template by Porter
Template

The Mailchimp dashboard template

Start from Porter’s official Mailchimp dashboard template, or run the prompt above in Claude Code and Porter publishes the dashboard at its own link.

Or start from a template

05Pricing

Pricing

You can start free, since Porter’s Mailchimp connector for Claude comes with every plan. Use the calculator for your number of accounts, or see Porter pricing for every plan.

What you get

  • Free plan: never expires, with unlimited connected accounts and the last 15 days of data in Claude (30 days in Data Studio and Sheets)
  • Reporting: from $12.50 per account a month billed annually, or $15 month to month for one account
  • Billing: each Mailchimp account, with all its audiences, counts as one account, with volume discounts and no per-seat fee
  • Changes: 1 AI credit per completed change; failed tasks are free, and the Free plan includes 100 credits a month
  • Trial: 14 days of full access, no card

Price calculator

$33.33/mo$6.67 per account

An account is one ad account, Stripe account, store, page or GA4 property. The Free plan never expires and has unlimited accounts, with the last 15 days of data in AI chats.

06Data and actions

Mailchimp data and actions in Claude Code

Through the Mailchimp connector, Claude reads 204 fields. They cover campaign reports, including opens, clicks, bounces, unsubscribes, abuse reports, revenue and industry benchmarks. They also cover A/B results, audiences, subscribers and daily audience activity. Besides reading, actions manage contacts, tags, audiences, segments and draft campaigns. The full list of Mailchimp fields also has every label and ID.

The 12 Mailchimp fields Claude uses most

FieldWhat it's for
Campaign namecampaign_nameNaming each send in answers
Send timesend_timePicking campaigns by date
Subject linesubject_lineSubject line patterns
E-mails sentemails_sentSize of each send
Campaign open ratecampaign_open_rateOpens per delivered email
Campaign click ratecampaign_click_rateClicks per delivered email
UnsubscribedunsubscribedUnsubscribes per campaign
Campaign hard bouncescampaign_hard_bouncesDeliverability checks
E-commerce total revenuee_commerce_total_revenueRevenue per campaign
Industry open rate · Industry click rateindustry_open_rate · industry_click_rateBenchmarks for your industry
List name · List total memberslist_name · list_total_membersAudience size today
Member open rate · Member total revenuemember_open_rate · member_total_revenueFinding engaged subscribers

Can Claude create, schedule and send Mailchimp campaigns?

Yes. Claude reads every audience, campaign, report, classic automation and template, and can add, update, tag and delete contacts. It can also create and edit audiences, segments and draft campaigns, and schedule or send them.

Every change goes through the approval steps under "Is it safe?". You write the email body, edit sent campaigns and run Customer Journeys and automations in Mailchimp as usual.

Why are campaign numbers lifetime totals?

Mailchimp reports each campaign's results since the moment it went out (Mailchimp's campaign reports API). So Claude gets lifetime opens, clicks and revenue for the campaigns sent in your date range.

Daily audience activity (subscribes, other adds and removes, emails sent) splits by day, so Claude asks about it in its own question.

How far back does Mailchimp data go in Claude?

Campaign reports cover every campaign as long as Mailchimp keeps it. Daily audience activity goes past Mailchimp's 180-day list activity limit, because Porter keeps older days. Audience and subscriber fields, however, show today's values. The free plan reads 15 days in AI chats (30 days in Data Studio and Sheets), while paid plans have no cap.

Product stats

WhatMailchimp connector
Fields204 across campaign reports, A/B results, benchmarks, audiences, subscribers and daily audience activity
ActionsAdd, update, tag or delete contacts; create audiences, segments and draft campaigns; schedule or send them
Campaign numbersLifetime totals for the campaigns sent in your date range
HistoryEvery campaign Mailchimp keeps; daily audience activity past Mailchimp's 180-day limit; 30 days on the Free plan, 15 in AI chats
RatesReturned as fractions, so 0.32 means 32%
Rate limits10 simultaneous connections per user, set by Mailchimp
AccessMailchimp's own sign-in, no API key; valid until you revoke Porter

See all 204 Mailchimp fields

07Security

Is it safe?

Yes. Claude reads your reports through the Mailchimp connector, and your account stays exactly as you set it. Every change, from a tag to a send, is shown to you first and runs only when you approve it. Porter signs in through Mailchimp's own login, so you never paste an API key into a chat or a config file.

How Claude asks before changing Mailchimp

Claude shows what it will change and asks before Porter does it. These 6 actions are permanent, so check them before you approve:

Each completed change also uses one AI credit.

What the connector needs from Mailchimp

Porter needs a Mailchimp login for the account and signs in with Mailchimp's OAuth instead of an API key. Each sign-in connects one Mailchimp account, including every audience.

Mailchimp's access doesn't expire, so it stays valid until you revoke Porter in Mailchimp or that user is removed from the account (Mailchimp's OAuth guide).

08FAQ

FAQ

Answers on setup, scope, scripts and credits, plus fixes for the most common Claude Code errors with Mailchimp. Setup questions every source shares, like where Claude Code saves the server and how to share it with your team, are in the Claude Code hub FAQ.

Can I add Shopify sales to the Mailchimp report?

Yes. Connect Shopify in Porter and ask for Net Sales next to campaigns sent. Claude Code writes both to one weekly file.

Can I see revenue from Mailchimp campaigns?

Yes, when your store is connected in Porter too. Claude Code matches campaigns to orders by UTM, so tag your Mailchimp links with UTM source and campaign.

Do Claude Code questions use Porter credits?

Reading Mailchimp data uses no AI credits. Each completed change, such as a change, uses 1 credit, and every Porter account gets 100 free credits a month.

Troubleshooting

Why does /mcp show porter as needing authentication?

Claude Code adds the server before you sign in. Pick porter in /mcp, choose Authenticate and sign in with the Google account you use in Porter.

Why does my claude -p script stop and ask for permission?

Scripts can’t answer permission prompts. Pass the tools the script may use, for example --allowedTools "mcp__porter" "Write", so Claude Code can read Porter and save files without stopping.

Why does Claude Code see my account but return no data?

Usually no campaigns were sent in the range, or the login lost access to the account. Check the user in Mailchimp, then ask again.

09Next

More Claude connectors

Most teams report on more than one email or CRM tool, and Porter connects each of them to Claude just like the Mailchimp connector. Then add the other platforms you report on from all Claude connectors, compare Mailchimp analytics tools, or start a client report from a template.

Not only Claude. Send Mailchimp data anywhere

The same Porter account and connection also send Mailchimp data to these destinations, at no extra cost.

Try the connector in Claude Code

Porter’s Mailchimp connector for Claude Code takes one command, so your first campaign file can land in your project today.

Free plan · 14-day trial · No card needed

Email marketers: campaign results and revenue land in one file.

E-commerce marketers: emails meet real store orders.

Agencies: one script builds the weekly email report for every client.