cd /news/large-language-models/ragflow-mcp-turning-your-best-rag-co… Β· home β€Ί topics β€Ί large-language-models β€Ί article
[ARTICLE Β· art-55899] src=dev.to β†— pub= topic=large-language-models verified=true sentiment=↑ positive

RAGFlow + MCP: Turning Your Best RAG Config Into a Production Assistant

A developer describes how to turn optimal RAG configurations into a production-ready assistant using RAGFlow, an open-source tool with 80,000+ GitHub stars. RAGFlow's DeepDoc engine preserves document structure, supports multiple formats, and can be deployed as an MCP server for integration with tools like Claude and Cursor. The assistant provides source-cited answers and runs self-hosted for privacy compliance.

read2 min views1 publishedJul 12, 2026

You've found your best RAG settings. Now how do you turn them into a real assistant your team uses every day?

In my previous post I covered how tools like AutoRAG and RAGBuilder can measure and find the best RAG combination (embedding, chunk size, reranker...) for your data. But those tools are measuring instruments β€” they tell you "this is the best config" and stop there. They are not the assistant that users talk to, upload documents to, and ask questions.

For building that assistant, the most mature open-source tool I can recommend: RAGFlow (80,000+ GitHub stars). Most RAG tools read a PDF as flat text. RAGFlow's DeepDoc engine treats the document like a human would: it preserves table structure, applies OCR to scanned pages, and understands heading hierarchy. Word, Excel, PowerPoint, scanned copies, images, web pages β€” it handles them all.

Create a separate knowledge base per department or client β†’ upload documents β†’ pick your embedding model and chunking template (this is where you plug in the winning settings from your measurement tools) β†’ RAGFlow parses and indexes β†’ your chat assistant is ready. Answers come with citations β€” users see exactly which part of which document the answer came from, cutting hallucination risk.

RAGFlow can run as an MCP (Model Context Protocol) server. That means you can plug your document assistant directly into MCP-enabled tools like Claude and Cursor. Your teammate sits in Claude and asks, "what was the penalty clause in last year's supplier contract?" β€” Claude searches your RAGFlow knowledge base over MCP and returns a source-cited answer from your own documents. No new interface to learn; the assistant lives inside the tools your team already uses.

Documents β†’ RAGFlow (OCR + parse + chunk + index) β†’ Knowledge bases (per department/client) β†’ Chat UI + API + MCP β†’ Web, Slack, or clients like Claude

Everything runs self-hosted β€” your data never leaves your own servers. A critical advantage for privacy and compliance (GDPR/KVKK).

A document assistant built on measurement instead of guesswork, with citations, running on your own servers β€” fully possible today with open-source tools alone.

── more in #large-language-models 4 stories Β· sorted by recency
── more on @ragflow 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/ragflow-mcp-turning-…] indexed:0 read:2min 2026-07-12 Β· β€”