Skip to main content
Glama
Better Qdrant MCP Server

Better Qdrant MCP Server

by wrediam

より優れたQdrant MCPサーバー

Qdrantベクターデータベースの機能を強化するモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、Qdrantコレクションの管理、ドキュメントの追加、セマンティック検索の実行のためのツールを提供します。

特徴

  • コレクションの一覧: 利用可能なすべてのQdrantコレクションを表示

  • ドキュメントの追加: さまざまな埋め込みサービスを使用して、ドキュメントを処理して Qdrant コレクションに追加します。

  • 検索:ベクターデータベース全体でセマンティック検索を実行します

  • コレクションの削除: Qdrantデータベースからコレクションを削除します

Related MCP server: doc-lib-mcp

インストール

npm install -g better-qdrant-mcp-server

または、npx で直接使用します。

npx better-qdrant-mcp-server

構成

サーバーは設定に環境変数を使用します。これらはプロジェクトルートの.envファイルで設定できます。

# Qdrant Configuration
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=your_api_key_if_needed

# Embedding Service API Keys
OPENAI_API_KEY=your_openai_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
OLLAMA_ENDPOINT=http://localhost:11434

サポートされている埋め込みサービス

  • OpenAI : APIキーが必要です

  • OpenRouter : APIキーが必要です

  • Ollama : ローカル埋め込みモデル (デフォルトのエンドポイント: http://localhost:11434 )

  • FastEmbed : ローカル埋め込みモデル

クロードとの使用

この MCP サーバーを Claude で使用するには、MCP 設定構成ファイルに追加します。

{
  "mcpServers": {
    "better-qdrant": {
      "command": "npx",
      "args": ["better-qdrant-mcp-server"],
      "env": {
        "QDRANT_URL": "http://localhost:6333",
        "QDRANT_API_KEY": "your_api_key_if_needed",
        "DEFAULT_EMBEDDING_SERVICE": "ollama",
        "OPENAI_API_KEY": "your_openai_api_key",
        "OPENAI_ENDPOINT": "https://api.openai.com/v1",
        "OPENROUTER_API_KEY": "your_openrouter_api_key",
        "OPENROUTER_ENDPOINT": "https://api.openrouter.com/v1",
        "OLLAMA_ENDPOINT": "http://localhost:11434",
        "OLLAMA_MODEL": "nomic-embed-text"
      }
    }
  }
}

コマンド例

リストコレクション

use_mcp_tool
server_name: better-qdrant
tool_name: list_collections
arguments: {}

ドキュメントを追加

use_mcp_tool
server_name: better-qdrant
tool_name: add_documents
arguments: {
  "filePath": "/path/to/your/document.pdf",
  "collection": "my-collection",
  "embeddingService": "openai",
  "chunkSize": 1000,
  "chunkOverlap": 200
}

検索

use_mcp_tool
server_name: better-qdrant
tool_name: search
arguments: {
  "query": "your search query",
  "collection": "my-collection",
  "embeddingService": "openai",
  "limit": 5
}

コレクションを削除

use_mcp_tool
server_name: better-qdrant
tool_name: delete_collection
arguments: {
  "collection": "my-collection"
}

要件

  • Node.js >= 18.0.0

  • 実行中のQdrantサーバー(ローカルまたはリモート)

  • 使用したい埋め込みサービスのAPIキー

ライセンス

マサチューセッツ工科大学

Available Tools

4 tools
add_documentsC

Add documents to a Qdrant collection with specified embedding service

Inputs: collection (required), embeddingService (required), filePath (required), chunkOverlap, +1 more.

delete_collectionC

Delete a Qdrant collection

Inputs: collection (required).

list_collectionsB

List all available Qdrant collections

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: add_documents handles document insertion, delete_collection removes collections, list_collections enumerates them, and search performs similarity queries. There is no overlap in functionality, making tool selection straightforward.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (add_documents, delete_collection, list_collections, search). The naming is uniform and predictable, with no deviations in style or convention.

    Tool Count3/5

    With only 4 tools, the set feels thin for a vector database server, lacking operations like collection creation, document updates, or deletion. While the tools cover basic CRUD aspects, the scope is limited and may require workarounds for full functionality.

    Completeness2/5

    There are significant gaps in the tool surface for a Qdrant server: no create_collection tool, no update or delete document operations, and no management of embeddings or configurations. This incomplete coverage will likely cause agent failures in common workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that enables semantic search and retrieval of documentation using a vector database (Qdrant). This server allows you to add documentation from URLs or local files and then search through them using natural language queries.
      135
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server for Retrieval-Augmented Generation (RAG) operations. It provides tools for building and querying vector-based knowledge bases from document collections, enabling semantic search and document retrieval capabilities.
      15 PyPI
      3
      MIT