RagDocs MCP Server
Used to run Qdrant vector database for local storage of document embeddings
Supported as a content type for documents added to the system
Required as a runtime environment for the MCP server
Provides free embeddings for vector representation of documents
Provides paid embeddings for vector representation of documents as an alternative to Ollama
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
RagDocs MCP Server
A Model Context Protocol (MCP) server that provides RAG (Retrieval-Augmented Generation) capabilities using Qdrant vector database and Ollama/OpenAI embeddings. This server enables semantic search and management of documentation through vector similarity.
Features
Add documentation with metadata
Semantic search through documents
List and organize documentation
Delete documents
Support for both Ollama (free) and OpenAI (paid) embeddings
Automatic text chunking and embedding generation
Vector storage with Qdrant
Related MCP server: Qdrant Retrieve MCP Server
Prerequisites
Node.js 16 or higher
One of the following Qdrant setups:
Local instance using Docker (free)
Qdrant Cloud account with API key (managed service)
One of the following for embeddings:
Ollama running locally (default, free)
OpenAI API key (optional, paid)
Available Tools
1. add_document
Add a document to the RAG system.
Parameters:
url(required): Document URL/identifiercontent(required): Document contentmetadata(optional): Document metadatatitle: Document titlecontentType: Content type (e.g., "text/markdown")
2. search_documents
Search through stored documents using semantic similarity.
Parameters:
query(required): Natural language search queryoptions(optional):limit: Maximum number of results (1-20, default: 5)scoreThreshold: Minimum similarity score (0-1, default: 0.7)filters:domain: Filter by domainhasCode: Filter for documents containing codeafter: Filter for documents after date (ISO format)before: Filter for documents before date (ISO format)
3. list_documents
List all stored documents with pagination and grouping options.
Parameters (all optional):
page: Page number (default: 1)pageSize: Number of documents per page (1-100, default: 20)groupByDomain: Group documents by domain (default: false)sortBy: Sort field ("timestamp", "title", or "domain")sortOrder: Sort order ("asc" or "desc")
4. delete_document
Delete a document from the RAG system.
Parameters:
url(required): URL of the document to delete
Installation
npm install -g @mcpservers/ragdocsMCP Server Configuration
{
"mcpServers": {
"ragdocs": {
"command": "node",
"args": ["@mcpservers/ragdocs"],
"env": {
"QDRANT_URL": "http://127.0.0.1:6333",
"EMBEDDING_PROVIDER": "ollama"
}
}
}
}Using Qdrant Cloud:
{
"mcpServers": {
"ragdocs": {
"command": "node",
"args": ["@mcpservers/ragdocs"],
"env": {
"QDRANT_URL": "https://your-cluster-url.qdrant.tech",
"QDRANT_API_KEY": "your-qdrant-api-key",
"EMBEDDING_PROVIDER": "ollama"
}
}
}
}Using OpenAI:
{
"mcpServers": {
"ragdocs": {
"command": "node",
"args": ["@mcpservers/ragdocs"],
"env": {
"QDRANT_URL": "http://127.0.0.1:6333",
"EMBEDDING_PROVIDER": "openai",
"OPENAI_API_KEY": "your-api-key"
}
}
}
}Local Qdrant with Docker
docker run -d --name qdrant -p 6333:6333 -p 6334:6334 qdrant/qdrantEnvironment Variables
QDRANT_URL: URL of your Qdrant instanceFor local: "http://127.0.0.1:6333" (default)
For cloud: "https://your-cluster-url.qdrant.tech"
QDRANT_API_KEY: API key for Qdrant Cloud (required when using cloud instance)EMBEDDING_PROVIDER: Choice of embedding provider ("ollama" or "openai", default: "ollama")OPENAI_API_KEY: OpenAI API key (required if using OpenAI)EMBEDDING_MODEL: Model to use for embeddingsFor Ollama: defaults to "nomic-embed-text"
For OpenAI: defaults to "text-embedding-3-small"
License
Apache License 2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Ingest, manage, and retrieve documents for RAG-powered AI applications
Versioned documentation registry and semantic search for AI tools and coding assistants.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
The Needle MCP server enables semantic search on documents stored in files like PDFs, DOCX, and XLSX by connecting AI applications to external data sources. It provides capabilities to create and manage document collections, perform natural language searches on stored content, and retrieve relevant information without requiring exact keyword matches.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceFacilitates knowledge graph representation with semantic search using Qdrant, supporting OpenAI embeddings for semantic similarity and robust HTTPS integration with file-based graph persistence.13 npm24MIT
- AlicenseNot gradedqualityDmaintenanceEnables semantic search across multiple Qdrant vector database collections, supporting multi-query capability and providing semantically relevant document retrieval with configurable result counts.46 npmMIT
- FlicenseNot gradedqualityDmaintenanceThis server enables semantic search capabilities using Qdrant vector database and OpenAI embeddings, allowing users to query collections, list available collections, and view collection information.7-

Agentsetofficial
AlicenseAqualityDmaintenanceAn open-source platform for Retrieval-Augmented Generation (RAG). Upload documents and query them ⚡134 npm30MIT