In this post, you will learn how to connect Claude, ChatGPT, or Gemini to Attribution through the MCP server, and run a weekly prompt that tells you which campaigns to scale and which to cut.
Twilio Segment already sends your site, app, and store events into Attribution, where they meet ad spend and revenue is allocated across every touchpoint. The Attribution MCP server connects your AI assistant to those same numbers. Ask in plain English which campaigns to scale and which to cut, and the answer comes from your real spend, revenue, and conversion paths. Run the same prompt every Monday and you have a weekly kill list.
Prerequisites
To get started you will need:
- A Twilio Segment source on your site, app, or Shopify store, connected to the Attribution (Actions) destination with your Attribution Project ID. See the Twilio Segment setup guide.
- Your ad platforms connected in Attribution, so spend sits next to revenue. Spend for platforms you haven't connected can be entered manually in Attribution. See the ad integrations overview.
- MCP turned on for your project. Attribution enables it per project, so if your project doesn't have an MCP connection yet, request one from the Attribution help desk or your account manager. See the MCP server docs.
- An AI assistant that supports MCP, such as Claude, ChatGPT, Gemini CLI, Cursor, Codex, or a Notion Custom Agent.
How does the Attribution MCP server work?
The server lives at https://mcp.attributionapp.com/mcp. Your assistant can read channels, reports, paths, visitors, and revenue. It can't change your settings, filters, reports, or integrations. Each question you ask becomes a handful of scoped tool calls:
| Tool | What it answers |
|---|---|
get_project_context | The starting call: your project, attribution models, saved views, and channel tree |
get_dashboard_report | Spend, conversions, revenue, ROAS, and profit by channel, campaign, or keyword, under any attribution model |
get_dashboard_comparison | One period against another, side by side, with the changes calculated |
get_paths_report | The most common conversion paths, so you can see which channels assist and which close |
get_cohort_report | Revenue by acquisition cohort, and how long each one takes to pay back |
get_first_time_purchasers_report | New customers versus repeat buyers, by channel |
The tool catalog lists the rest.
How the data flows
Twilio Segment and your ad platforms feed Attribution. The assistant reads the attributed results over MCP. See below for how the pieces connect:

Why ask your AI assistant about ad spend
For example, with this setup you can:
- Run the Monday budget call in minutes, with every number tracing back to a visit.
- Compare attribution models in a single question. A campaign that only wins under Last Touch is a cut candidate.
- Use whichever assistant your team already works in.
- To revoke access at any time, disconnect from your assistant's connector settings.
Setting it up
Step 1: Request MCP for your project
If your project doesn't have an MCP connection yet, request one from the Attribution help desk or your account manager, with your project name. Once MCP is on, anyone with access to the project can connect an assistant to it.
Step 2: Connect your assistant
In Claude, Attribution is listed in the connector directory. Open Connectors, find Attribution, and click Connect. There's no URL to paste. In ChatGPT, go to Settings › Connectors › Add a connector, choose MCP Server, and paste the URL. Gemini CLI takes a few lines in ~/.gemini/settings.json. The MCP server docs cover Claude Code, Cursor, Codex, and Notion too. For any other AI tool, or a connection you don't see here, contact the Attribution help desk.
{
"mcpServers": {
"attribution": {
"httpUrl": "https://mcp.attributionapp.com/mcp"
}
}
}Step 3: Approve access
Your browser opens Attribution's sign-in screen. Sign in, pick the project, review the requested scopes, and click Approve. Projects without MCP turned on are greyed out.
Step 4: Confirm the connection
Ask the assistant to run whoami. It reports the connected account and project, the scopes you granted, when the token expires, and the tools it can see. If a tool you expect is missing, it isn't turned on for your project.
Step 5: Save the weekly prompt
Save the kill list prompt somewhere your team will find it, such as a Claude Project, a ChatGPT project, or a Gemini CLI custom command, and run it every Monday. Swap in your own conversion event and ROAS target.
Use Attribution. Start with get_project_context.
Conversion event: Order Completed. ROAS target: 2.0.
1. Compare the last 7 days to the prior 7 days with get_dashboard_comparison.
2. Pull the last 30 days with get_dashboard_report under linear,
first_touch, and last_touch.
Give me three lists:
- Kill: spend over $500 and ROAS under 1.0 in every model.
- Pull back: under target in two of three models, or down more than 25%
week over week.
- Scale: above target in every model and flat or up week over week.
For each campaign: spend, attributed revenue, ROAS by model, one line on why.
Flag anything that only looks good under Last Touch.
End with where the next $1,000 should go.What comes back
Here's the shape of the answer. The numbers are illustrative.
| List | Campaign | Spend, 30 days | ROAS Linear | ROAS First Touch | ROAS Last Touch | Why |
|---|---|---|---|---|---|---|
| Kill | Meta · Broad prospecting | $2,140 | 0.6 | 0.8 | 0.4 | Under 1.0 in every model |
| Pull back | Google · Brand search | $1,320 | 1.4 | 0.3 | 3.1 | Wins only on Last Touch, so it's likely closing demand that organic and other channels created |
| Scale | Google · Performance Max shopping | $3,050 | 3.2 | 2.9 | 3.4 | Above target in every model, and up 12% week over week |
Go down to keyword level for search
You can ask for keyword-level reports the same way you ask for campaign-level ones. Attribution's channel tree goes from channel to campaign to ad group to keyword, so the assistant can break a search campaign down keyword by keyword. For example:
Use Attribution. For Google search over the last 90 days, list every keyword
with spend, attributed revenue, ROAS, and profit under linear.
Flag keywords with spend and no orders, keywords whose results fell off
compared with the prior 90 days, and the same keyword running in more
than one campaign.What to do next
The kill list is one prompt. Once your assistant is connected, the same reports answer other budget questions, such as:
- "Brief me on last month: what worked, what didn't, and what should I do next?"
- "Where am I losing money? List every campaign and keyword with negative profit, worst first."
- "If I cut the campaigns losing money, how much spend does that free up, and how much attributed revenue is at risk?"
- "Compare this month with last month by channel, and flag anything that flipped from profit to loss."
- "Are we bringing in new customers or selling to existing ones? Show first-time revenue and CAC by channel."
Ask the follow-up while the context is loaded. "Why did Brand search drop?" sends the assistant to the paths report. Before you cut an upper-funnel channel, check whether it lifts organic and direct conversions, so it doesn't lose on last-touch math alone. Our guide to measuring a new channel's lift walks through how. To put these numbers next to your store's sales, see how to connect Shopify and Attribution to Claude for pacing dashboards.
One caution: data your assistant pulls goes to that AI provider under its own terms. Keep projects with regulated data, such as HIPAA PHI, out of MCP. The MCP server docs have the details. We can't wait to see where your next dollar goes.


