MCP vs RAG vs agent skills, the decision guide

3 min read

MCP, RAG and agent skills solve three different problems. MCP connects the model to live tools. RAG gives the model facts from your documents. A skill is a written procedure that tells the model how to do a job. Mix them up and you build the wrong thing.

Think of a restaurant kitchen. MCP is the pass where orders come in and dishes go out, the live connection to the dining room. RAG is the recipe book on the shelf, the facts the cook looks up. A skill is the training the cook got, the method for how to plate a dish. You need all three, but they are not the same thing.

Here is the decision table.

MCPRAGAgent skill
What it solvesLive actionsFacts that changeHow to do a job
ExampleQuery a databaseRead the refund policyFollow the refund procedure
DataLive, from the toolYour documentsWritten instructions
When it changesEvery callWhen docs changeRarely
CostOne server per toolEmbeddings and storageAlmost free, it is text

Now a worked example that uses all three together. A customer asks for a refund on an order. The agent needs three things. First, it uses MCP to query the orders database and find the order, the amount, and the date. That is live data, so it has to come from the tool, not from memory. Second, it uses RAG to pull the refund policy from the company docs, so it knows the rules for this product. Third, it follows a skill, a written procedure that says: check the order is within 30 days, check the product is returnable, then issue the refund and confirm by email. MCP got the facts, RAG got the rules, the skill got the method. Take any one away and the job breaks.

The rule is simple. If the answer lives in a live system, use MCP. If the answer lives in a document, use RAG. If the answer is a method, write it down as a skill. Most real jobs need two of the three. The refund above needed all three.

python
# Decide which one you need, in three questions.
def pick(live_system, document, method):
    tools = []
    if live_system:
        tools.append("MCP")
    if document:
        tools.append("RAG")
    if method:
        tools.append("skill")
    return tools

print(pick(True, True, True))   # refund: all three
print(pick(False, True, False)) # answer from a PDF: RAG only
print(pick(True, False, False)) # check a database: MCP only

Try this

bash
python3 -c "
def pick(live, doc, method):
    return [t for t, use in [('MCP', live), ('RAG', doc), ('skill', method)] if use]
print('refund:', pick(True, True, True))
print('answer from PDF:', pick(False, True, False))
"

For the RAG side in depth, Topics 15 and 16. Topic 15 explains RAG in plain English, and Topic 16 decides between RAG and fine-tuning.

Sources

  • MCP: Anthropic, Model Context Protocol, November 2024.
  • RAG: Lewis et al., 2020, arXiv:2005.11401.
  • Agent skills: Anthropic agent skills docs and Claude Code skills, 2025-2026.