concept-rag
Verified Safeby m2ux
Overview
This MCP server provides conceptual search, document analysis, and library exploration capabilities over a knowledge base using LanceDB and LLM-based concept extraction.
Installation
npm start -- ~/.concept_ragEnvironment Variables
- OPENROUTER_API_KEY
- DATABASE_URL
- CONCEPT_RAG_DB_PATH
- EBOOKS_DIR
Security Notes
The server reads OPENROUTER_API_KEY from environment variables, avoiding hardcoded secrets. It executes Python scripts via `child_process.spawn` for WordNet lookups; the script content is internal and not directly user-controlled, mitigating injection risks. Database interactions with LanceDB use API methods which abstract SQL-like queries, and includes explicit SQL string escaping for user-provided values, reducing SQL injection vulnerabilities. The primary network risk is connecting to `openrouter.ai` for LLM inference, which is inherent to its RAG functionality.
Similar Servers
mcp-local-rag
Provides a local, RAG-like web search tool for Large Language Models to retrieve current information and context.
flexible-graphrag
The Flexible GraphRAG MCP Server integrates document processing, knowledge graph building, hybrid search, and AI query capabilities via the Model Context Protocol (MCP) for clients like Claude Desktop and MCP Inspector.
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.
viberag
Local codebase semantic search (RAG) for AI coding assistants via MCP server.