Skip to main content
Glama
Qdrant RAG MCP Server

Qdrant RAG MCP Server

by chikhio123

Qdrant RAG Tool

Minimal RAG ingestion and search tool for .md and .txt files.

Layout

  • data/: put documents here

  • ingest.py: chunk documents, embed them, and upsert into Qdrant

  • search.py: embed a query and search Qdrant

  • .env: runtime configuration and secrets

Related MCP server: Qdrant MCP Server

Usage

cd /opt/qdrant/rag
source .venv/bin/activate
python ingest.py
python search.py "Qdrant 是什么"

The ingester uses a stable point ID based on source + chunk_index. Before ingesting a file, it deletes existing chunks for the same source, so rerunning ingestion for the same file does not create duplicates. Use python ingest.py --prune to delete sources from Qdrant after removing their files from data/.

Current defaults:

  • Embedding endpoint: https://ai.gitee.com/v1

  • Embedding model: Qwen3-Embedding-8B

  • Embedding dimensions: 4096

  • Rerank model: Qwen3-Reranker-8B

  • Ask model: deepseek-v4-flash-free through OpenCode Zen

  • Qdrant collection: docs_qwen3_embedding_8b

MCP

The MCP server exposes RAG tools:

  • rag_health

  • rag_search

  • rag_ask

  • rag_source_stats

  • rag_get_chunk

  • rag_get_source

  • rag_update_source

  • rag_delete_source

It listens on 127.0.0.1:8765 by default, with the MCP endpoint at /mcp.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides RAG capabilities for semantic document search using Qdrant vector database and Ollama/OpenAI embeddings, allowing users to add, search, list, and delete documentation with metadata support.
      16 npm
      16
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables semantic search and document management using a local Qdrant vector database with OpenAI embeddings. Supports natural language queries, metadata filtering, and collection management for AI-powered document retrieval.
      107 npm
      36
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables semantic search and retrieval-augmented generation (RAG) using Qdrant vector database. Supports indexing documents from URLs and local directories, with flexible embedding options using Ollama or OpenAI.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides retrieval-augmented generation (RAG) capabilities by ingesting various document formats into a persistent ChromaDB vector store. It enables semantic search and retrieval using either OpenAI or Ollama embeddings for processing local files, directories, and URLs.
      1
      MIT