Skip to main content

MCP server for Qdrant vector database with local embedding support

Project description

mcp-server-qdrant

CI

Rust MCP server for Qdrant with local BERT embeddings. Single binary, no Python.

Why not the official Python one?

ONNX Python wheels are painful to package in Nix (especially aarch64-linux). This is a Rust rewrite with Nix-native packaging and a pure-Rust default backend (Candle) that has zero native dependencies.

Usage

Claude Desktop / Claude Code

With uvx (recommended):

{
  "mcpServers": {
    "qdrant": {
      "command": "uvx",
      "args": ["mcp-server-qdrant-rs"],
      "env": {
        "QDRANT_URL": "http://localhost:6334",
        "COLLECTION_NAME": "my-collection"
      }
    }
  }
}

With rvx:

{
  "mcpServers": {
    "qdrant": {
      "command": "rvx",
      "args": ["mcp-server-qdrant"],
      "env": {
        "QDRANT_URL": "http://localhost:6334",
        "COLLECTION_NAME": "my-collection"
      }
    }
  }
}
Other installation methods

With Nix:

nix run github:vaporif/mcp-server-qdrant

# ONNX backend
nix run github:vaporif/mcp-server-qdrant#onnx

As a flake input:

{
  inputs.mcp-server-qdrant.url = "github:vaporif/mcp-server-qdrant";
  nixpkgs.overlays = [ mcp-server-qdrant.overlays.default ];
}

With cargo:

cargo install mcp-server-qdrant

From releases:

Download a prebuilt binary from GitHub Releases.

With Docker:

docker build -t mcp-server-qdrant .
docker run -p 8000:8000 -e QDRANT_URL=http://host.docker.internal:6334 -e COLLECTION_NAME=my-collection mcp-server-qdrant

HTTP Transport

mcp-server-qdrant --transport streamable-http --port 8000

Debugging

RUST_LOG=debug mcp-server-qdrant

Environment Variables

Variable Default Description
QDRANT_URL Qdrant server URL
QDRANT_API_KEY Qdrant API key
QDRANT_LOCAL_PATH Local storage path (instead of URL)
COLLECTION_NAME Default collection name
QDRANT_SEARCH_LIMIT 10 Max search results
QDRANT_READ_ONLY false Read-only mode
EMBEDDING_MODEL sentence-transformers/all-MiniLM-L6-v2 Model name
MCP_TRANSPORT stdio stdio, sse, streamable-http
HOST 127.0.0.1 Bind host for SSE/HTTP
PORT 8000 Bind port for SSE/HTTP

Embedding Backends

Feature Description
candle (default) Pure Rust. No native deps.
onnx ONNX Runtime. Provide ORT_DYLIB_PATH.
onnx-fetch ONNX with auto-download.

Development

nix develop    # dev shell
just check     # clippy + test + fmt + taplo + typos
just test      # run tests
just lint      # clippy + fmt
just deny      # dependency audit
just e2e       # e2e tests (needs Qdrant)

License

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_x86_64.whl (8.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_aarch64.whl (8.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_x86_64.whl (7.8 MB view details)

Uploaded Python 3macOS 14.0+ x86-64

mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_arm64.whl (14.2 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 635a13e4cf205112676a9e3b43b6e0c12c56504abc037d849ab0e86cffe45afd
MD5 1cde1ecb46d8b73d68e5f63572e01f1f
BLAKE2b-256 3e01b87f15e07da59995d05000259b8bec8133fb6aaa8d4e3846c8df48439599

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yaml on vaporif/mcp-server-qdrant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5d9f37202adb71f99300108825f2131ab923e2312bcb26750d67d6540aa7f091
MD5 b7742a54674f370278714ad25fc7590f
BLAKE2b-256 475baac28824b2685f509c680a818a5f8b04d8ff00bd6aced4ac8fb170738672

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_qdrant_rs-0.1.6-py3-none-musllinux_1_2_aarch64.whl:

Publisher: release.yaml on vaporif/mcp-server-qdrant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 8a2dc42b7df0331055d1f263b40d30269fcc899be426a4f6d9a30233eb84fdf6
MD5 c3962ec7902e41f8f327f2673e71ccc3
BLAKE2b-256 8b906a6e9ebb9ca5a0900b41bfe09cfe04db8e9cd4a3bc44d55ec6de115d221f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_x86_64.whl:

Publisher: release.yaml on vaporif/mcp-server-qdrant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8556f911cf8534322025d35ecddf2cd240000f62f383bcd37be675db6910aafb
MD5 5386be2c15e5a944e8d45133ca28aa60
BLAKE2b-256 83c89b85a6f5f9bd28cc311100bda2dc0a1d43390e8dbac25fd03a31198085e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_qdrant_rs-0.1.6-py3-none-macosx_14_0_arm64.whl:

Publisher: release.yaml on vaporif/mcp-server-qdrant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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