RAGFlow Claude MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DSPY_MODEL | No | DSPy language model for query refinement | openai/gpt-4o-mini |
| OPENAI_API_KEY | Yes | OpenAI API key (required for DSPy query deepening) | |
| RAGFLOW_API_KEY | Yes | Your RAGFlow API key (required) | |
| RAGFLOW_BASE_URL | No | Base URL of your RAGFlow instance | http://192.168.122.93:9380 |
| CF_ACCESS_CLIENT_ID | No | Cloudflare Zero Trust Access Client ID (optional) | |
| RAGFLOW_DEFAULT_RERANK | No | Default rerank model | rerank-multilingual-v3.0 |
| CF_ACCESS_CLIENT_SECRET | No | Cloudflare Zero Trust Access Client Secret (optional) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ragflow_list_datasetsA | List all available datasets/knowledge bases in RAGFlow |
| ragflow_list_documentsC | List documents in a specific dataset |
| ragflow_get_chunksC | Get chunks with references from a specific document |
| ragflow_list_sessionsB | List active chat sessions for all datasets |
| ragflow_reset_sessionB | Reset/clear the chat session for a specific dataset |
| ragflow_retrievalB | Retrieve document chunks directly from RAGFlow datasets using the retrieval API. Returns raw chunks with similarity scores. |
| ragflow_retrieval_by_nameB | Retrieve document chunks by dataset names using the retrieval API. Returns raw chunks with similarity scores. |
| ragflow_list_documents_by_nameC | List documents in a dataset by dataset name |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools have distinct purposes, but ragflow_list_documents and ragflow_retrieval each have an alternative by-name variant, which could cause confusion if descriptions are not heeded. However, descriptions clarify the difference between ID-based and name-based operations, keeping overlap minimal.
All tools follow a consistent verb_noun pattern with snake_case and the 'ragflow_' prefix. Variations like '_by_name' are systematic and predictable, enhancing readability for agents.
With 8 tools, the set is well-scoped for a knowledge base retrieval server. Each tool serves a clear function, and the count is neither too sparse nor overwhelming for the intended purpose.
The tool surface covers listing datasets, listing documents, retrieving chunks, and managing chat sessions. It lacks create/update/delete operations, but given the likely read-heavy focus of the server, these gaps are acceptable and do not impede the primary retrieval workflow.