How to Connect Your Marketing Mix Model to Claude

How to access, interrogate, and run MMM analyses from Claude.

Most marketing questions don't wait for the next quarterly review. Which channel has the most headroom? What happens if we move £20k from Meta to YouTube? Why did that model run fail? Until now, getting an answer meant logging in to a dashboard, finding the right chart, or emailing your analyst.

With the Linea connector for Claude, you can ask those questions in plain English, in the same place you already write emails, plan campaigns and draft decks. Claude answers from your actual model, not from guesswork.

This article covers what the Linea Measurement Engine is, what you can do with it through Claude, and how to set up the connector in about five minutes.


What is the Linea Measurement Engine?

The Linea Measurement Engine is the platform we use to run marketing mix modelling (MMM) for brands of all sizes. It is also our client portal: the place where your data, models, results and media plans live.

A traditional MMM takes 6 to 12 weeks for a single model. The Measurement Engine automates the slow parts (data collection, validation and model refreshes) so an update takes hours, not months. Every update ends in an optimised media plan, checked by a Linea expert before you act on it. (For more on where automation and AI help in MMM, and where they don't, see AI Marketing Mix Modelling: where it belongs and doesn't.)

Inside the portal, you'll find five areas:

  • Home: spend, uplift and ROI at a glance, with your best scenario.
  • Data: connected sources and uploads, with completeness checks, time series and correlations.
  • Model: specification, priors, diagnostics and run history.
  • Results: ROI by channel, campaign or creative, with response curves, adstock and full ROI ranges.
  • Actions: scenarios that optimise a budget, hit a target or find the best spend, exported as a media plan.

What you can do with the Measurement Engine in Claude

The connector gives Claude the same tools our consultants use. Claude picks the right tool for your question, so you don't need to know their names, but you'll see them appear as Claude works.

Question your results. Ask how well a model fits, which channels have the best ROI, or what share of sales comes from media compared with base and seasonality. Claude can also pull the weekly actual and predicted KPI, and each channel's contribution over time, and chart it for you.

Question your data. Look at the series behind your models (spend, TVRs, controls) and compare them on the same dates. (Available on accounts with data access.)

Run scenarios. Find the scenarios your team has already saved and compare them, or run a new budget optimisation: split a fixed budget for the most KPI, find the cheapest plan that hits a target, or find the spend with the best net return. New scenarios are saved to the portal, so the rest of your team sees them too.

Set up and update models. Read how a model is specified, open its specification as an editable table, change variables, priors or the modelling period, check your changes, and start a new model run. (Starting runs is switched on per account by Linea.)

Keep track of runs. See every model run with its status, and ask why one failed.

A few examples of what you can ask:

  • What models do we have, and which run does each one use?
  • Summarise the latest results for our online sales model: how well does it fit, and which channels have the best ROI?
  • Find the scenarios we saved for next year's plan and compare their budgets and expected uplift.
  • Run a 12-month budget optimisation with a budget of 5 million, keeping TV at no more than 1.5 million. Call it "Next year, 5m".
  • What is the cheapest plan that delivers 10,000 extra sign-ups over the next 3 months?
  • Open the model spec for our main model so I can loosen the priors on display.

How to set up the Linea connector in Claude

The connector is built on the Model Context Protocol (MCP), an open standard for connecting AI assistants to other software. You don't need to know anything about MCP to use it: setting it up is a matter of pasting one address into Claude and signing in.

Step 1: Get a Claude account

You'll need a Claude account, on the web at claude.ai, in Claude Desktop or in the Claude mobile apps. Custom connectors are available on Claude's Free, Pro, Max, Team and Enterprise plans (the Free plan limits how many you can add).

On Team and Enterprise plans, your organisation's Claude owner may need to add the connector for your organisation before you can connect to it. If the option is greyed out in Step 3, ask them.

Step 2: Get access to the Linea Measurement Engine

You'll also need a login for the Linea Measurement Engine (the portal at app.linea-analytics.com), with the Claude connector switched on for your account.

The connector is switched on per person. Ask your Linea contact to enable it: there is nothing to install or configure on your side, and no API key to create.

Step 3: Open Claude's connector settings

In Claude, open Settings and go to Connectors. Click Add in the top right, then choose Add custom connector.

If Add custom connector is greyed out: on Team and Enterprise plans, only an organisation owner can add custom connectors. Hovering over the option shows Ask an organization owner to add this for your team. Ask your Claude owner or IT admin to add the Linea connector for your organisation, using the address in Step 4. Once they have, it appears in your list of connectors and you can carry on from Step 5.

The Add menu in Claude's connector settings with Add custom connector greyed out, and a tooltip reading "Ask an organization owner to add this for your team"

Step 4: Paste in the Linea connector address

Give the connector a name, such as Linea, and paste this address into the server URL field:

https://app.linea-analytics.com/mcp

Then click Continue.

Step 5: Sign in and allow access

Claude now opens the Linea sign-in. The connector uses your normal portal login, so there is no separate password.

  1. If you aren't already signed in to the portal in that browser, sign in as usual, with your email and password or Sign in with Google.
  2. A Linea page titled Connect to Linea asks whether Claude may use your Linea account. It shows who you're signed in as and what Claude will be able to do: see your company's models, runs and results, read and check model specifications, and start model runs where your account allows it.
  3. Click Allow.

[SCREENSHOT TO ADD: the "Connect to Linea" consent page, with the Allow and Cancel buttons]

If you see The Claude connector is not switched on for your account yet, go back to Step 2 and ask your Linea contact to enable it.

Step 6: Check the connector is connected

Back in Claude, the Linea connector is now listed under Connectors, with a tick under Status.

A connector added on claude.ai is also available in Claude Desktop and the mobile apps signed in to the same account, so you only need to do this once.

Step 7: Ask your first question

Start a new chat and ask something about your models, for example: What models do we have, and what do the latest results say? Or go straight to a business question. Claude may ask your permission the first time it uses a Linea tool.

Below, Claude was asked for the ROI of TV and how much revenue it drove. It pulled the results from the model, charted TV spend against the revenue it drove for each year, and summarised the ROI across the whole model period. The line above the answer (here, Used Linea Analytics integration) opens to show which tools Claude called.

A Claude chat answering "What was the ROI of TV and how much revenue did it generate?" with a bar chart of TV spend against the offline revenue TV drove for 2022 to 2024, and a written summary of the ROI

Using Claude Code? Run this once in a terminal, and Claude Code will open your browser to sign in the first time it uses the connector:

claude mcp add --transport http linea https://app.linea-analytics.com/mcp

Is my data safe?

  • Your company only. Claude can only see the company your portal account belongs to. That comes from your account, not from anything Claude sends, so it can't be pointed at anyone else's data.
  • The same rules as the portal. Claude can do exactly what your portal account can do, and nothing more.
  • Mostly read-only. Only two actions change anything: running a new scenario (which saves it to the portal, and Claude confirms the name and budget with you first) and starting a model run. Everything else reads.
  • No passwords shared. Claude never sees your portal password. It gets its own short-lived sign-in tokens, which you can revoke at any time by removing the connector in Claude's settings, or by asking your Linea contact to switch the connector off.

Where a human still matters

Claude makes the Measurement Engine faster to use: answers that used to take a login, three clicks and a spreadsheet now take one question. But as we've written before, data and dashboards don't make strategic decisions: people do.

Every answer Claude gives comes from a model built and checked by a Linea expert, and our team is on hand for the judgement calls: whether a result makes sense for your business, how far to push a reallocation, and how to bring your wider team along.

Already a Linea client? Ask your Linea contact to switch on the Claude connector for your account.

Not yet working with us? Book a demo of the Measurement Engine and see it for yourself.

Take control of your data

Contact us

Have any project on mind?
For immediate support:

info@linea-analytics.com
Schedule a Call
Why wait

Get the True Impact of your Marketing.