RAG vs MCP: How Marketing Teams Should Connect AI to Their Data

RAG and MCP solve different problems. This guide explains both in marketing terms, then walks through RAG over call transcripts, the most useful case for lead generation agencies.

Article metadata

Franco Maccarone

Written by

Founder, LeadUp

  • 11 min read

RAG and MCP are not competing options. They work at different layers:

  • RAG (retrieval-augmented generation) is a technique for finding the pieces of text most relevant to a question and giving them to the model as context. It answers “what did people say or write about X?”
  • MCP (Model Context Protocol) is an open protocol that lets an AI app call tools in other software. It answers “go get this data, or run this action, in that system.”

In marketing, RAG is how a model reads call transcripts, chat conversations, and briefs. MCP is how ChatGPT or Claude reaches a platform’s budgets, lead counts, and conversion data. An MCP tool can even run a RAG search behind the scenes, which is why “RAG vs MCP” is usually the wrong framing. The useful question is which of your questions needs which.

Diagram comparing RAG, which embeds a question and retrieves the closest text chunks filtered by client and date, with MCP, where the model picks a tool that the MCP server runs against the application's data and returns as structured results
RAG retrieves passages; MCP calls tools. They often run together.

The terms, defined

These words get used interchangeably in vendor copy. They are not interchangeable.

Term What it is Marketing example
Embedding A list of numbers that represents the meaning of a piece of text, so similar meanings sit close together “Too expensive” and “out of my budget” get similar embeddings
Vector search Finding the stored embeddings closest to the embedding of a query Find transcript passages closest to “caller asks about financing”
RAG Retrieve relevant text (often with vector search), add it to the prompt, then generate an answer grounded in it Answer “why are callers hanging up?” by quoting the relevant parts of 10 calls
Tool calling (function calling) A model’s ability to request that a defined function run with specific parameters The model asks to run get_budget_pacing for October
MCP An open standard for exposing tools, and the data behind them, to any compatible AI app ChatGPT and Claude both call the same LeadUp tools through one MCP server
Agent / agentic workflow A loop where the model plans, calls tools, reads results, and decides the next step until it reaches an answer Investigating a CPL alert across Google Ads, call data, and change history

RAG was described in a 2020 research paper as a way to combine a language model with a searchable store of documents. MCP was introduced by Anthropic in November 2024 and is now supported by most major AI apps. The specification is at modelcontextprotocol.io.

RAG vs MCP side by side

RAG MCP
What it is A retrieval technique A connection protocol
Best data type Unstructured text: transcripts, messages, documents Structured data and actions exposed as tools
Typical question “What did callers object to?” “What was cost per qualified lead by campaign?”
Exact counts No. Returns the closest matches, not all matches Yes, if the tool computes them
Freshness As fresh as the last time text was indexed As fresh as the system the tool queries
Who chooses what runs Your application decides when to retrieve The model chooses tools; the server decides what is allowed
Main failure mode Retrieving the wrong passages, or missing context around them Tools that don’t expose what the question needs
Main security concern Leaking text across clients or users through the index Over-broad permissions, especially write access

When RAG is the right tool in marketing

Use retrieval when the answer is in language rather than numbers.

  • Call transcripts. Objections, competitor mentions, questions about price or financing, mismatches between what the ad promised and what the caller expected.
  • Message and chat conversations. Google Local Services Ads messages, website chat, SMS follow-up.
  • Form free-text fields. “Describe your project” fields often reveal service mismatch or spam better than the structured fields.
  • Client knowledge. Service lists, service areas, brand rules, past meeting notes, previous test results.
  • Agency playbooks. Your own QA checklists and diagnostic procedures, so answers follow your process.

The typical pattern is “find examples, then explain the theme.” You are not trying to count every call that mentions price. You are trying to understand what callers say and why it matters.

When MCP is the right tool in marketing

Use tools when the answer is a number, a list, or a comparison that must be exact.

  • Spend, budget pacing, and campaign performance
  • Lead counts, good-lead rates, and cost per qualified lead by campaign or keyword
  • Signed cases, revenue, and return on ad spend
  • Search terms flagged by an audit and the negatives suggested for them
  • Alerts that fired and how they were resolved

MCP adds two things beyond a plain API. Any compatible AI app can use the same server, so each person on the team can work in the assistant they prefer. And the server, not the model, enforces what each connection may read or change. For agency use, that server-side enforcement matters more than anything else. Connecting ChatGPT or Claude to Google Ads shows what this looks like for ad platform data.

How agencies use RAG on client data: call transcripts as a worked example

Call recordings are the richest unstructured data most lead generation agencies have, and the place where naive RAG goes wrong most often. This section describes how LeadUp makes call transcripts searchable for its call assistant and alert investigations. The design choices apply to any RAG system built on conversations.

Pipeline diagram: a call recording is transcribed with speaker labels, split into chunks along speaker turns with one turn of overlap, each chunk stored with metadata from the call's AI analysis, then embedded into a vector index that is filtered by client, date and lead quality before ranking by meaning
From call recording to searchable chunks (hypothetical example chunk)

1. Chunk along speaker turns, not fixed character counts

A transcript is split into chunks of a few hundred words. Each chunk boundary falls between speaker turns, never mid-sentence, and each chunk repeats the last turn of the previous one. Each line keeps its speaker label and timestamp.

Why it matters:

  • A question and its answer usually span two turns. Splitting between them loses the meaning (“How much?” in one chunk, the price in the next). The one-turn overlap keeps that pair together.
  • Speaker labels let the model tell the caller’s words from the receptionist’s. “We don’t do that” means something very different from each side.
  • Timestamps let an answer link to the exact moment in the recording.

When a transcript has no speaker turns, sentences are used as the boundary instead.

2. Attach the call’s metadata to every chunk

Each call is first analyzed as a whole: summary, lead rating, good or bad lead, qualification label and reason, objections, service category, and whether the caller is an existing customer (see how call scoring works). Those fields are copied onto every chunk from that call, along with the client, source, and date.

The metadata is used twice:

  • As filters. A question about “bad leads this month for this client” filters to those chunks before any ranking happens.
  • As context in the embedding. The text that gets embedded includes the call-level context (lead quality, label, objections, service, summary) followed by the transcript excerpt. A chunk that only says “okay, I’ll think about it” carries little meaning on its own. With “Price Mismatch, objection: price” attached, it becomes findable by a search about pricing objections.

When a call’s analysis changes, for example when it is reclassified into a different service, the stored context on its chunks has to change too, or filters and rankings drift out of date.

3. Filter first, then rank by meaning

Retrieval runs as a filtered vector search: restrict to the client, date range, source, lead quality, label, objections, or service the question names, then rank the remaining chunks by similarity to the query. Filtering before ranking matters for two reasons:

  • Isolation. The client filter is applied by the system, not requested by the model. Chunks from another client are never candidates.
  • Relevance. Without a pre-filter, a search returns the top matches from all calls, and most get thrown away by the filter afterwards, leaving too few results.

If a filter can’t be applied inside the vector index (for example, a long list of specific call IDs), a well-behaved system falls back to a different strategy, such as ranking the scoped chunks by keyword overlap, and says the results are less precise. LeadUp’s call assistant records which path ran and, when it falls back, tells the model that the matches are candidates rather than an exhaustive semantic search, so the answer can say so.

4. Keep counting and retrieval separate

This is the most common mistake in marketing RAG. Ask “how many callers mentioned price?” and a naive system retrieves the top 10 chunks about price and counts them. The answer is always roughly 10.

Counting belongs in an aggregation query over the structured fields (objections, labels, lead quality) that the call-level analysis produced. Retrieval then supplies examples and quotes. LeadUp’s call assistant has separate tools for these jobs: one for exact counts, rates, and comparisons, one for search (structured, exact keyword, or semantic), and one for reading full call records. Semantic results are labeled as ranked candidates, not a count.

5. Keep personal data inside the boundary

Transcripts contain names, phone numbers, and addresses. The RAG index lives inside the application, scoped to the agency and client. LeadUp deliberately does not return transcripts, call summaries, or caller details through its MCP server, which external AI apps connect to. Those apps receive aggregated metrics only. Where retrieval over transcripts is needed, it happens inside LeadUp and the answer comes back without raw personal data.

Common RAG mistakes with marketing data

Mistake What goes wrong Fix
Fixed-size chunks that cut through turns Questions and answers get separated Chunk on speaker turns with overlap
No metadata on chunks Can’t filter by client, date, or lead quality Copy call-level fields onto every chunk
One index for all clients with no hard filter Cross-client leakage System-enforced client filter on every query
Counting retrieved chunks Counts are capped at the retrieval limit Use aggregation for counts, retrieval for examples
Embedding only the raw excerpt Short or vague passages are unfindable Embed excerpt plus call context
Never re-indexing Labels and classifications drift Update chunk context when the call’s analysis changes

How RAG and MCP work together

In practice the two combine in three ways.

An MCP tool that runs retrieval. The model calls a tool such as “search calls”, and the server runs a filtered vector search and returns the matches. The model never touches the index directly, and the server enforces scope.

An agent that uses both. LeadUp’s monitoring investigations work this way. When a rule fires, an AI analyst calls structured tools for Google Ads performance, change history, conversion actions, and lead quality by campaign. When the numbers point to a cause (“non-brand calls got worse”), it can search those calls’ transcripts by meaning to test a specific explanation, such as callers looking for jobs rather than service. The final verdict cites both kinds of evidence.

A protocol boundary that limits what leaves. The LeadUp MCP server exposes aggregates to external AI apps, while retrieval over sensitive text stays inside the product. Choosing which side of that line each data type sits on is a design decision, not a technical constraint.

Which to use for common agency questions

Question Use
“Which clients are over-pacing their budget?” MCP
“Which keywords produce the most qualified calls?” MCP
“Find calls where the caller mentioned the ad’s free-estimate offer” RAG
“What were the top objections from first-time callers?” Aggregation over objections, then RAG for quotes
“Why did lead quality drop for this client?” Agent: MCP-style tools for the numbers, RAG to test explanations in transcripts
“Summarize what the client told us about service areas” RAG over notes and briefs

Common questions

Is MCP replacing RAG?

No. MCP standardizes how AI apps reach tools and data. RAG is one technique a tool can use to find relevant text. Many MCP servers use retrieval internally.

Do I need a vector database for RAG?

You need somewhere to store embeddings and search them by similarity. That can be a dedicated vector database or a vector index inside the database you already use. Keeping the index next to the records it describes makes metadata filters and access control simpler.

Can I just upload transcripts to ChatGPT or Claude?

For a handful of calls, yes. For hundreds of calls across many clients, uploads hit size limits, mix clients in one conversation, and send personal data to another service. A RAG system inside your call platform scales better and keeps the data scoped.

What should an agency build first?

Start with the question your clients ask most. If it’s “how are we doing?”, you need structured tools (MCP or reporting connectors) over spend, leads, and outcomes. If it’s “why aren’t these leads closing?”, you need searchable call and message content. Most agencies need the structured layer first, because explanations without accurate numbers don’t hold up. The AI marketing analytics guide covers the full data stack.

TopicsAI Marketing#AI Marketing Analytics#RAG#MCP#Call Tracking

Related articles

AI Assistants (MCP)

Want ChatGPT or Claude to answer from your client data?

See how LeadUp’s read-only MCP server lets AI assistants report on budgets, lead quality, Local Services Ads, calls, and search terms across every client account.

Pick the path that fits your timeline. Both go directly to our team.

Share your goals

Tell us about your stack, priorities, or blockers and we will recommend the next best step.