Performance and Operational Characteristics of RAG vs MCP Knowledge Access Pipelines in Small LLM Environments
Authors/Creators
- 1. CodePedia Labs
- 2. Liwonace Corp
- 3. Sejong University
Description
Retrieval-Augmented Generation (RAG) is the standard approach for augmenting LLM knowledge, yet high operational complexity and personnel dependency remain persistent challenges. This study empirically compares RAG and MCP (Model Context Protocol)-based pipelines on 105 Docker documentation queries using Qwen 2.5 7B and Llama 3.1 8B models. Tuned RAG achieves peak accuracy (75.0%), but the 45.6 percentage point gap from naive RAG (29.4%) reveals extreme configuration sensitivity. MCP parallel achieves 64.0% without parameter tuning, while reducing tuning parameters from 9 to 2, failure points from 3 to 1, and eliminating external dependencies beyond the LLM. On 14B models, MCP (73.1%) outscored tuned RAG (66.7%), suggesting a possible tipping point as model capabilities improve. We present quantitative evidence for the performance–operational cost trade-off between RAG and MCP, demonstrating that MCP-inspired architectures constitute a viable alternative where operational simplicity is prioritized.
Files
paper_rag_vs_mcp.pdf
Files
(733.2 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:4dcc4056e124f01edc4ee7003eba18b0
|
733.2 kB | Preview Download |
Additional details
Related works
- Continues
- Preprint: 10.5281/zenodo.18808598 (DOI)
- Preprint: 10.5281/zenodo.18842478 (DOI)
- Is supplement to
- Other: https://modelcontextprotocol.io (URL)
- References
- Preprint: 10.48550/arXiv.2601.15457 (DOI)