Skip to main content
Glama

MCP Qdrant Server with OpenAI Embeddings

OpenAI 埋め込みを備えた MCP Qdrant サーバー

この MCP サーバーは、Qdrant ベクター データベースと OpenAI 埋め込みを使用したベクター検索機能を提供します。

特徴

  • OpenAI埋め込みを使用したQdrantコレクションのセマンティック検索
  • 利用可能なコレクションの一覧
  • コレクション情報を見る

前提条件

  • Python 3.10以降がインストールされている
  • Qdrantインスタンス(ローカルまたはリモート)
  • OpenAI APIキー

インストール

  1. このリポジトリをクローンします:
    git clone https://github.com/yourusername/mcp-qdrant-openai.git cd mcp-qdrant-openai
  2. 依存関係をインストールします:
    pip install -r requirements.txt

構成

次の環境変数を設定します。

  • OPENAI_API_KEY : OpenAI API キー
  • QDRANT_URL : QdrantインスタンスへのURL(デフォルト: " http://localhost:6333 ")
  • QDRANT_API_KEY : Qdrant APIキー(該当する場合)

使用法

サーバーを直接実行する

python mcp_qdrant_server.py

MCP CLIで実行

mcp dev mcp_qdrant_server.py

Claude Desktopへのインストール

mcp install mcp_qdrant_server.py --name "Qdrant-OpenAI"

利用可能なツール

クエリコレクション

OpenAI 埋め込みによるセマンティック検索を使用して Qdrant コレクションを検索します。

  • collection_name : 検索するQdrantコレクションの名前
  • query_text : 自然言語で検索クエリ
  • limit : 返される結果の最大数(デフォルト: 5)
  • model : 使用する OpenAI 埋め込みモデル (デフォルト: text-embedding-3-small)

リストコレクション

Qdrant データベース内の利用可能なすべてのコレクションを一覧表示します。

コレクション情報

特定のコレクションに関する情報を取得します。

  • collection_name : 情報を取得するコレクションの名前

Claude Desktopでの使用例

Claude Desktop にインストールすると、次のようなツールを使用できるようになります。

What collections are available in my Qdrant database? Search for documents about climate change in my "documents" collection. Show me information about the "articles" collection.
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

このサーバーは、Qdrant ベクター データベースと OpenAI 埋め込みを使用したセマンティック検索機能を有効にし、ユーザーがコレクションを照会したり、利用可能なコレクションを一覧表示したり、コレクション情報を表示したりできるようにします。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. 使用法
            1. サーバーを直接実行する
            2. MCP CLIで実行
            3. Claude Desktopへのインストール
          2. 利用可能なツール
            1. クエリコレクション
            2. リストコレクション
            3. コレクション情報
          3. Claude Desktopでの使用例

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
              Last updated -
              2
              681
              Python
              Apache 2.0
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              5
              4
              TypeScript
              Apache 2.0
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables semantic search capabilities by providing tools to manage Qdrant vector database collections, process and embed documents using various embedding services, and perform semantic searches across vector embeddings.
              Last updated -
              89
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              Enables semantic search across multiple Qdrant vector database collections, supporting multi-query capability and providing semantically relevant document retrieval with configurable result counts.
              Last updated -
              46
              TypeScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/amansingh0311/mcp-qdrant-openai'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server