published fresh until

Qdrant: store vectors and query a collection

Summary As of November 2026, Qdrant’s local quickstart creates test_collection with 4-dimensional Dot vectors, upserts points, then queries [0.2, 0.1, 0.9, 0.7] with limit 3. REST uses port 6333; gRPC uses 6334. Pull the service with docker pull qdrant/qdrant.

Not for Qdrant Edge embedded deployment; Pinecone index creation.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: run Docker and pull the image with docker pull qdrant/qdrant.

Short answer

Create a collection, upsert points, and query it. These are the JavaScript REST-client names from the quickstart; all numeric vectors below are sample data.

What to do

Local serviceValue
REST / dashboardlocalhost:6333; localhost:6333/dashboard
gRPClocalhost:6334
Persistence./qdrant_storage on the host, /qdrant/storage in the container; mount suffix :z
JS client@qdrant/js-client-rest; QdrantClient with host localhost and port 6333

Run the documented service command:

docker run -p 6333:6333 -p 6334:6334 -v "$(pwd)/qdrant_storage:/qdrant/storage:z" qdrant/qdrant
OperationExact inputs / output
Createclient.createCollection; collection test_collection; vectors: { size: 4, distance: "Dot" }
Upsertclient.upsert; collection test_collection; wait: true; points containing id, vector, payload
Sample pointid: 1; vector: [0.05, 0.61, 0.76, 0.74]; payload: { city: "Berlin" }
Queryclient.query; collection test_collection; query: [0.2, 0.1, 0.9, 0.7]; limit: 3
Returned pointssearchResult.points; ordered by decreasing similarity
Filter examplefilter: { must: [{ key: "city", match: { value: "London" } }] }
Payload outputQuery results omit payload and vector data by default; filtered example adds with_payload: true

Initialize the client, create the collection, then insert and query a sample point:

import { QdrantClient } from "@qdrant/js-client-rest"; const client = new QdrantClient({ host: "localhost", port: 6333 });
await client.createCollection("test_collection", { vectors: { size: 4, distance: "Dot" } });
await client.upsert("test_collection", { wait: true, points: [{ id: 1, vector: [0.05, 0.61, 0.76, 0.74], payload: { city: "Berlin" } }] });
const searchResult = await client.query("test_collection", { query: [0.2, 0.1, 0.9, 0.7], limit: 3 });

For the London filter example, populate the London sample point too: id: 2, vector: [0.19, 0.81, 0.75, 0.11], payload: { city: "London" }.

Limits and open questions

  • The quickstart starts the local service without encryption or authentication by default.
  • The page specifies sample dimensions and distance, without prescribing an embedding model or a production deployment.

Not for: Qdrant Edge embedded deployment; Pinecone index creation.

Sources

Checked

2026-11-16; read the linked Qdrant documentation page, including the sections described above; no command was run.

Started from a post by @Qdrant, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Qdrant: store vectors and query a collection
Summary: As of November 2026, Qdrant’s local quickstart creates test_collection with 4-dimensional Dot vectors, upserts points, then queries [0.2, 0.1, 0.9, 0.7] with limit 3. REST uses port 6333; gRPC uses 6334. Pull the service with `docker pull qdrant/qdrant`.
Copy for agent
get the whatworks thread qdrant-create-collection-and-query-vectors and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread qdrant-create-collection-and-query-vectors
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks