ragflow-claude-desktop-local-mcp
Verified Safeby norandom
Overview
This server integrates RAGFlow's knowledge base and document management APIs with LLMs like Claude Desktop, providing enriched context and enhanced retrieval capabilities through a Model Context Protocol (MCP) interface.
Installation
uv run ragflow-claude-mcpEnvironment Variables
- RAGFLOW_BASE_URL
- RAGFLOW_API_KEY
- CF_ACCESS_CLIENT_ID
- CF_ACCESS_CLIENT_SECRET
- DSPY_MODEL
- OPENAI_API_KEY
- OPENROUTER_API_KEY
- OPENROUTER_SITE_URL
- OPENROUTER_SITE_NAME
Security Notes
The server demonstrates good security practices by loading sensitive API keys (RAGFlow, OpenAI, OpenRouter, Cloudflare Zero Trust) from `config.json` or environment variables using `os.getenv`, preventing hardcoding. Input validation is extensively used in `validation.py` (e.g., `validate_query`, `validate_dataset_id`) to sanitize user inputs, mitigating common injection risks. Log redaction for sensitive data is implemented. HTTP requests use `aiohttp` with timeouts and robust error handling. The development workflow enforces commit signing via SSH, promoting code integrity. A minor point is that included shell scripts directly parse `config.json` for API keys, which exposes them within the script's environment, but this is a common pattern for local utility scripts.
Similar Servers
qdrant-loader
Provides intelligent Retrieval-Augmented Generation (RAG) capabilities by connecting a QDrant knowledge base with AI development tools like Cursor, Windsurf, and Claude Desktop, offering semantic, hierarchy-aware, and attachment-focused search for contextual code assistance and documentation lookup.
RDFPortal-MCP
This server facilitates querying biological and biomedical RDF databases via SPARQL and interacts with various biological/biomedical REST APIs, designed for integration with conversational AI platforms like Claude.
mcp-raganything
A FastAPI application providing a REST API and MCP server for Retrieval Augmented Generation (RAG) using the RAG-Anything library, integrated with Claude Desktop.
the-pensieve
The Pensieve server acts as a RAG-based knowledge management system, allowing users to store, query, and analyze their knowledge using natural language and LLM-powered insights.