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
A Model Context Protocol (MCP) server that provides advanced Retrieval-Augmented Generation (RAG) capabilities to AI development tools by bridging a QDrant knowledge base for intelligent, context-aware search.
mcp-raganything
Provides a FastAPI REST API and MCP server for Retrieval Augmented Generation (RAG) capabilities, integrating with the RAG-Anything and LightRAG libraries for multi-modal document processing and knowledge graph operations.
concept-rag
This MCP server provides conceptual search, document analysis, and library exploration capabilities over a knowledge base using LanceDB and LLM-based concept extraction.
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.