Skip to main content
Glama
norandom

RAGFlow Claude MCP Server

by norandom

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSPY_MODELNoDSPy language model for query refinementopenai/gpt-4o-mini
OPENAI_API_KEYYesOpenAI API key (required for DSPy query deepening)
RAGFLOW_API_KEYYesYour RAGFlow API key (required)
RAGFLOW_BASE_URLNoBase URL of your RAGFlow instancehttp://192.168.122.93:9380
CF_ACCESS_CLIENT_IDNoCloudflare Zero Trust Access Client ID (optional)
RAGFLOW_DEFAULT_RERANKNoDefault rerank modelrerank-multilingual-v3.0
CF_ACCESS_CLIENT_SECRETNoCloudflare Zero Trust Access Client Secret (optional)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ragflow_list_datasets

List all available datasets/knowledge bases in RAGFlow

ragflow_list_documents

List documents in a specific dataset

ragflow_get_chunks

Get chunks with references from a specific document

ragflow_list_sessions

List active chat sessions for all datasets

ragflow_reset_session

Reset/clear the chat session for a specific dataset

ragflow_retrieval

Retrieve document chunks directly from RAGFlow datasets using the retrieval API. Returns raw chunks with similarity scores.

ragflow_retrieval_by_name

Retrieve document chunks by dataset names using the retrieval API. Returns raw chunks with similarity scores.

ragflow_list_documents_by_name

List documents in a dataset by dataset name

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/norandom/ragflow-claude-desktop-local-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server