Marketing data connectors for Claude Code

Add Porter’s MCP server to Claude Code with one command and query 39 marketing sources from your terminal, from Meta Ads and Google Ads to GA4, Shopify and HubSpot.

  • Pull ad, analytics and sales data into files in your repo
  • Blend channels in one script instead of five exports
  • Build dashboards and weekly reports from your terminal
  • Use one login for every source, with no API keys
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
Compare last week’s spend and conversions across Meta Ads, Google Ads and TikTok Ads and save it to reports/paid-weekly.csv
porter / 3 sources / Trailgear Demo✓ 3 rows
Saved reports/paid-weekly.csv. Google Ads has the lowest cost per conversion; TikTok Ads spend rose fastest.
SourceSpendCost / conv.
Meta Ads$8,490$24.10
Google Ads$6,120$19.80
TikTok Ads$2,340$31.60
Demo data, Trailgear Demo account
39 marketing sources
01Setup

How to connect marketing data to Claude Code

Connecting your marketing data to Claude Code takes 3 steps: connect your accounts in Porter, add Porter’s MCP server with one command, then sign in from /mcp. One server covers every source you connect, so you run the command once.

Before you start

  • You need Claude Code installed (Anthropic’s Claude Code overview) and a free Porter account.
  • Works with any Claude model in Claude Code, from Opus to Sonnet and Haiku. The same server also works in Cursor, VS Code and Codex.
  1. Step 1: Connect your sources in Porter

    Sign up free at Porter and connect each platform with its own login, such as Facebook for Meta Ads or Google for Google Ads and GA4.

  2. Step 2: Add Porter to Claude Code

    Run this in your terminal. --scope user makes Porter available in every project; leave it out to add it to the current project only.

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

    Or install Porter’s plugin inside Claude Code: /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. Then ask:

    Prompt
    Which accounts can you see in Porter? List them by source.

Guides

app.portermetrics.com / create
Porter's Select accounts window with a demo account and the Connect button
First, in Porter, pick a source and select Connect.
$ 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 accounts can you see in Porter?
● porter - list_accounts (MCP)
After you sign in from /mcp, ask what Porter can see.
02Sources

Sources you can query from Claude Code

The same porter server reads all 39 sources below. Each page has that platform’s fields, prompts and limits; they work the same way in Claude Code.

Paid Media

Analytics

Social Media

Ecommerce

CRM & Email

SEO

Spreadsheet

Databases & warehouses

03Use cases and prompts

What you can do in Claude Code

Claude Code works inside your project, so marketing answers become files, scripts and dashboards. Each use case has a prompt to copy.

Can Claude Code build one report across all my ad platforms?

The problemEvery platform exports its own columns, so the cross-channel report starts with an hour of copy and paste.

What Claude Code doesClaude Code queries each ad platform through the same porter server and writes one table with spend, clicks and conversions side by side.

What you getOne file per week with every channel in the same columns.

Prompt
For last week, pull spend, clicks and conversions from every ad platform I connected in Porter, one row per platform, and save it to reports/paid-weekly.csv.

Can Claude Code combine Search Console and GA4?

The problemRankings live in Search Console and sessions in GA4, and joining them by page takes a spreadsheet.

What Claude Code doesClaude Code pulls clicks and positions by page from Search Console and sessions by landing page from GA4, then joins them.

What you getA page-level SEO table you can keep in your repo and compare week to week.

Prompt
For the last 28 days, join Search Console clicks and average position by page with GA4 sessions by landing page, and save the top 50 pages to reports/seo-pages.csv.

Can Claude Code compare ad spend with Shopify sales?

The problemAd platforms report their own revenue, which rarely matches what your store actually sold.

What Claude Code doesClaude Code reads daily Shopify sales and daily ad spend from each platform and works out blended ROAS by day.

What you getROAS on real store revenue, not each platform’s own count.

Prompt
For the last 30 days, pull daily Shopify sales and daily spend from Meta Ads and Google Ads, and write daily blended ROAS to reports/blended-roas.csv.

Can I schedule marketing reports with Claude Code?

The problemThe Monday report is the same every week, yet someone still builds it by hand.

What Claude Code doesClaude Code runs without the chat screen through claude -p, so a cron job can ask the same question every week and save the answer.

What you getA report that lands in your folder every Monday.

Prompt
claude -p "Summarize last week versus the week before for every source I connected in Porter and write it to reports/weekly.md" --allowedTools "mcp__porter" "Write"

Can Claude Code build a marketing dashboard?

The problemClients want a page they can open, not a CSV.

What Claude Code doesClaude Code pulls the numbers and writes one HTML file with charts, or asks Porter for a hosted AI dashboard with its own link.

What you getA dashboard you can send, built from live data in one prompt.

Prompt
Build dashboard/marketing.html with weekly spend, conversions and cost per conversion for every ad platform I connected, for the last 12 weeks.

Can Claude Code report across client accounts?

The problemAgencies open each client’s accounts one by one to build the same report.

What Claude Code doesPorter reads every account you connected, so Claude Code can loop through clients and write one file each.

What you getOne report per client from a single prompt.

Prompt
For each Meta Ads and Google Ads account I connected, write last month’s spend, conversions and cost per conversion to reports/clients/{account name}.md.
04Why Porter

Why Porter for Claude Code

Many platforms now ship their own MCP server, and each one needs its own setup and covers one platform. Porter puts 39 marketing sources behind one server and one sign-in.

✓

One command for every source

Add porter once and every source you connect in Porter is ready in Claude Code, including the ones you add later.

⊞

Changes only after you approve

Where a platform supports changes, such as pausing ads or moving budgets, Claude Code asks before each one.

⚙

No API keys or tokens

Each platform signs in through Porter with its own login. There are no developer apps, keys or refresh jobs 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.

05Pricing

Pricing

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

Free plan

$0, and it never expiresUnlimited connected accounts, the last 15 days of data in Claude (30 in Data Studio and Sheets) and 100 AI credits a month.

Start free

What you get

  • Reporting: from $12.50 per account a month billed annually, or $15 month to month for one account
  • Billing: each ad account, store, page or GA4 property 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.

06FAQ

FAQ

Answers on plans, setup, team sharing and credits, plus fixes for common Claude Code errors.

Which Claude plans include Claude Code?

Claude Code works when you sign in with a Claude Pro, Max, Team or Enterprise plan, with an Anthropic Console API key, or through Amazon Bedrock, Google Cloud or Microsoft Foundry. Porter’s server works the same on each. Anthropic’s Claude Code feature availability page lists what each option includes.

Do I add a server for each source?

No. One porter server covers every source you connect in Porter. Connect a new source in Porter and Claude Code can query it right away.

Where does Claude Code save the Porter server?

With --scope user, Claude Code saves Porter in your user settings, so it works in every project on your machine. Without a scope flag it is added to the current project for you only. Run claude mcp list to see where it is.

Can I share the setup with my team?

Yes. Add the server with --scope project and Claude Code writes it to a .mcp.json file you can commit. Each teammate signs in with their own Porter account.

Do Claude Code questions use Porter credits?

Reading data uses no AI credits. Each completed change, such as pausing an ad, 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".

07Next

Other destinations

The same Porter connections also feed Claude, ChatGPT and any MCP client, as well as Data Studio, Google Sheets and BigQuery from the connectors hub.

Connect your marketing data to Claude Code

One command adds Porter to Claude Code, so your first report file can land in your project today.

Free plan · 14-day trial · No card needed