MQ

mhalder/qdrant-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

36 stars 25 forks 品質 76 トレンド 16MIT

mhalder/qdrant-mcp-server は [https://github.com/mhalder/qdrant-mcp-server.] からインポートされた MCP サーバー候補です

概要

mhalder/qdrant-mcp-server は [https://github.com/mhalder/qdrant-mcp-server.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

複数の組み込みプロバイダでQdrantベクターデータベースを使用して、モデルコンテキストプロトコル(MCP)サーバーをセマンティック検索機能を提供します。

##特徴

-ゼロ設定: Ollama - 必要な API キー無しの箱から働かせて下さい

  • プライバシー・ファースト: ローカル埋め込みとベクトルストレージ - データは、あなたのマシンを離れません
  • コードベクター化: AST-aware chunking と semantic コード検索でインデックス化したインテリジェントなコードベース -Git履歴検索: 過去の変更、修正、パターンを上回るセマンティック検索のインデックスコミット履歴 -Advanced Search: コンテキスト検索(code + git with correlations)と複数のリポジトリを横断検索
  • 複数のプロバイダー: Ollama(デフォルト)、OpenAI、Cohere、Voyage AI
  • ハイブリッド検索:より優れた結果を得るためにセマンティックとキーワード検索を組み合わせる -Semantic Search:メタデータフィルタリングによる自然言語検索 -Incremental Indexing:効率的なアップデート - 変更されたファイルのみを再インデックス -Configurable Prompts:コード変更なしでガイドされたワークフローのカスタムプロンプトを作成する
  • Rate Limiting:指数関数的なbackoffの理性的な回転
  • 完全なCRUD: コレクションや文書の作成、検索、管理

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Qdrant MCP Server

A Model Context Protocol (MCP) server providing semantic search capabilities using Qdrant vector database with multiple embedding providers.

Features

  • Zero Setup: Works out of the box with Ollama - no API keys required
  • Privacy-First: Local embeddings and vector storage - data never leaves your machine
  • Code Vectorization: Intelligent codebase indexing with AST-aware chunking and semantic code search
  • Git History Search: Index commit history for semantic search over past changes, fixes, and patterns
  • Advanced Search: Contextual search (code + git with correlations) and federated search across multiple repositories
  • Multiple Providers: Ollama (default), OpenAI, Cohere, and Voyage AI
  • Hybrid Search: Combine semantic and keyword search for better results
  • Semantic Search: Natural language search with metadata filtering
  • Incremental Indexing: Efficient updates - only re-index changed files
  • Configurable Prompts: Create custom prompts for guided workflows without code changes
  • Rate Limiting: Intelligent throttling with exponential backoff
  • Full CRUD: Create, search, and manage collections and documents
  • Structured Logging: JSON logging via Pino with configurable log levels
  • Flexible Deployment: Run locally (stdio) or as a remote HTTP server
  • API Key Authentication: Connect to secured Qdrant instances (Qdrant Cloud, self-hosted with API keys)

Quick Start

Prerequisites

  • Node.js 22.x or 24.x
  • Podman or Docker with Compose support

Installation

# Clone and install
git clone https://github.com/mhalder/qdrant-mcp-server.git
cd qdrant-mcp-server

# Node 22.x
npm install

# Node 24.x (requires C++20 flag for native module compilation)
CXXFLAGS='-std=c++20' npm install

# Start services (choose one)
podman compose up -d   # Using Podman
docker compose up -d   # Using Docker

# Pull the embedding model
podman exec ollama ollama pull nomic-embed-text  # Podman
docker exec ollama ollama pull nomic-embed-text  # Docker

# Build
npm run build

Configuration

Local Setup (stdio transport)

claude mcp add --transport stdio qdrant -- node /path/to/qdrant-mcp-server/build/index.js

Or add to ~/.claude.json:

{
  "mcpServers": {
    "qdrant": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/qdrant-mcp-server/build/index.js"]
    }
  }
}

For Qdrant Cloud or secured instances, add --env QDRANT_API_KEY=your-key or set in env config.

Try it:

Create a collection called "notes" and add a document about machine learning
GitHub で README 全文を見る

インストール

docker exec ollama ollama pull nomic-embed-text # Docker
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "qdrant": { "type": "stdio", "command": "node", "args": ["/path/to/qdrant-mcp-server/build/index.js"] } } }