================== /// MCP /// /// HAN /// ================== [server:online] [protocol:ready]
hannesrudolph/mcp-ragdocs
by hannesrudolph
MCP server that performs RAG-style documentation retrieval via vector search (Qdrant) to enrich LLM responses.
search_documentation
Search stored documentation using a natural-language query and return the most relevant excerpts.
list_sources
Return a complete list of all documentation sources currently indexed in the system.
extract_urls
Crawl a specified webpage, extract every hyperlink found, and optionally enqueue them for later indexing.
remove_documentation
Permanently remove specified documentation sources from the database by their URLs.
list_queue
List all URLs that are currently waiting in the documentation processing queue.
run_queue
Process and index every URL presently in the queue, continuing until the queue is empty or an unrecoverable error occurs.
clear_queue
Immediately remove all pending URLs from the processing queue, effectively resetting it.
Installation
git clone https://github.com/hannesrudolph/mcp-ragdocs.git
cd mcp-ragdocs
# with npm
npm install
# or with pnpm
pnpm install
cp .env.example .env
# then edit .env and provide at least the following keys
OPENAI_API_KEY=<your-openai-key>
# (optional) VECTOR_DB_URL=<postgres/pinecone/chroma url>
EMBEDDING_MODEL=text-embedding-3-small
npm run build
npm start # production build
# or hot-reload for development
npm run dev