Back to Home
m2ux icon

concept-rag

Verified Safe

by 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

Run Command
npm start -- ~/.concept_rag

Environment 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

Stats

Interest Score33
Security Score9
Cost ClassMedium
Avg Tokens15000
Stars3
Forks0
Last Update2026-01-19

Tags

RAGLLMVector DatabaseKnowledge GraphSemantic SearchConcept ExtractionDocument AnalysisLanceDBTypeScriptNode.js