Skip to main content

Add your description here

Project description

better-qdrant-mcp

A MCP server implemented with fastmcp, OpenAI embeddings, and qdrant-client. It provides three tools equivalent to the Node.js version:

  • memory-store
  • memory-search
  • memory-debug

Requirements

  • Python 3.12+
  • Qdrant reachable via HTTP

Install deps (using uv or pip)

# using uv (recommended)
uv sync
# or with pip
pip install -e .

Environment variables

  • QDRANT_URL (default: http://localhost:6333)
  • QDRANT_API_KEY (optional)
  • COLLECTION_NAME (optional default collection)
  • OPENAPI_API_KEY or OPENAI_API_KEY (required)
  • OPENAI_BASE_URL (optional)
  • OPENAI_EMBEDDING_MODEL (default: text-embedding-3-small)

Run (stdio)

uvx better-qdrant-mcp

You can still run it via Python directly if you prefer:

python -m better_qdrant_mcp

Configure in MCP clients as a stdio server. Example (cursor-like):

{
  "mcpServers": {
    "qdrant-mcp-python": {
      "type": "stdio",
      "command": "uvx",
      "args": ["better-qdrant-mcp"],
      "env": {
        "QDRANT_URL": "http://localhost:6333",
        "COLLECTION_NAME": "long_term_memory"
      }
    }
  }
}

Tools

  • memory-store(information, metadata?: dict, collection_name?: str) -> str
  • memory-search(query, limit?: int=5, collection_name?: str) -> str
  • memory-debug(collection_name?: str) -> str

memory-search uses hybrid search in Qdrant (dense + sparse). If the collection is configured with named vectors dense and sparse, queries are ranked by fusing dense OpenAI embeddings and sparse BM25 scores; otherwise it falls back to dense-only search.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

better_qdrant_mcp-0.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

better_qdrant_mcp-0.2.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file better_qdrant_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: better_qdrant_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.6

File hashes

Hashes for better_qdrant_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 64547847967512baa2859697561880381ccb834ef100b7a98213434461177b54
MD5 71857bd83bc2e6f54707a89ca28a78a2
BLAKE2b-256 c3f84a2592c8bf75c6a5bc706548c2b2f463ab758484503350c2961148a3e924

See more details on using hashes here.

File details

Details for the file better_qdrant_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for better_qdrant_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 808ca46a834d5c5b535b502205ce20c83a16c48d3e3ff3e0a8c3ca59183600f3
MD5 7507995766e5007292d9b480ad9fdb63
BLAKE2b-256 e5ffe87710fa5d47bc8d7c221b7b847cf1ddbda49720e7d37cd6a5e0b2758a9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page