RAGFlow is an open-source Retrieval-Augmented Generation engine that combines document retrieval, context management, and agent capabilities to help build AI applications. Developers use it to turn complex data into searchable, context-aware systems through workflows, datasets, and agent templates; the catalogue entries support working with RAGFlow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add infiniflow/ragflow --skill ragflow-mcpgit clone --depth 1 https://github.com/infiniflow/ragflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/infiniflow/ragflow/ragflow-mcp)<a href="https://agentmods.dev/skills/infiniflow/ragflow/ragflow-mcp"><img src="https://agentmods.dev/badge/skills/infiniflow/ragflow/ragflow-mcp/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/infiniflow/ragflow/ragflow-mcp"><img src="https://agentmods.dev/badge/skills/infiniflow/ragflow/ragflow-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.00855 |
| Opus 5.5 | $0.00032 | $0.00342 |
| Sonnet 5.5 | $0.00016 | $0.00171 |
| Haiku 4.5 | $0.00008 | $0.00085 |
Grade A, and why
ragflow-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RAGFlow over MCP
References: docs/develop/mcp/use_ragflow_as_mcp_server.md,
docs/develop/mcp/mcp_tools.md, docs/develop/mcp/mcp_client_example.md.
Endpoints
| Endpoint | Notes |
|---|---|
POST http://<host>:9380/api/v1/mcp |
Always on with the Go API. Streamable HTTP. Each client sends Authorization: Bearer <RAGFlow API key>. No SSE. |
http://<host>:9382/mcp (optional listener) |
Enable with mcp.enabled / RAGFLOW_MCP_ENABLED=true. Legacy SSE at /sse + /messages/ if enabled. |
The plugin's .mcp.json points at http://127.0.0.1:9380/api/v1/mcp and
reads the key from RAGFLOW_API_KEY. Change the URL for a remote server.
Listener auth modes
host: every request authenticates as its own client (Bearer,X-API-Key,Api-Keyorapi_keyheaders). Prefer this when several people connect.self-host(default): all clients act as the user ofRAGFLOW_MCP_HOST_API_KEY; startup fails if it is empty. Only for trusted clients.
In Docker, setting RAGFLOW_MCP_HOST=0.0.0.0 alone does not publish the
listener. Ensure SVR_MCP_PORT=9382 is set in docker/.env (it is in
the shipped file), then uncomment the MCP port mapping in
docker/docker-compose.yml
(127.0.0.1:${SVR_MCP_PORT}:${RAGFLOW_MCP_PORT:-9382}) so host port
9382 binds to localhost, and recreate the container
(docker compose up -d --force-recreate). Connect locally at
http://127.0.0.1:9382/mcp. In default self-host mode any client that
can reach the published port acts as the configured user; a TLS proxy
does not block that HTTP port. Only publish beyond localhost with
network restrictions, and for remote clients terminate TLS with a
reverse proxy or tunnel and point .mcp.json at an https:// URL.
Keep keys out of command lines and committed files.
Tools
ragflow_list_datasets(page=1, page_size<=100): one JSON object per line withid,name,description.ragflow_list_chats(page=1, page_size<=100): same shape for chat assistants.ragflow_retrieval(question, dataset_ids?, document_ids?, page, page_size, similarity_threshold=0.2, vector_similarity_weight=0.3, keyword=false, top_k=1024, rerank_id?): omittingdataset_idssearches every accessible dataset. Returns JSON withchunks,paginationandquery_info.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 71 lines · 79 tokens per session scan A 28b03b49e35e
ragflow-mcp is a skill published in the GitHub repository infiniflow/ragflow (95,209 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 855 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-03.
ragflow-mcp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ragflow-mcpinfiniflow/ragflow | Skill | 95k | today | Apache-2.0 | A | 79 | Claude Code |
| ragericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 79 | Claude Code, Codex |
| pinecone-quickstartpinecone-io/pinecone-cursor-plugin | Skill | 3 | 23d ago | MIT | A | 94 | Cursor |
| pinecone-n8npinecone-io/pinecone-cursor-plugin | Skill | 3 | 23d ago | MIT | A | 67 | Cursor |
| pinecone-full-text-searchpinecone-io/pinecone-cursor-plugin | Skill | 3 | 23d ago | MIT | A | 179 | Cursor |
| pinecone-clipinecone-io/pinecone-cursor-plugin | Skill | 3 | 23d ago | MIT | A | 74 | Claude Code, Cursor |
| pinecone-helppinecone-io/pinecone-cursor-plugin | Skill | 3 | 23d ago | MIT | A | 52 | Cursor |