@qdrant-memory/mcp
v0.2.4
Published
Self-hosted agentic memory MCP server backed by Qdrant, inspired by supermemory. Provides semantic memory storage, entity/relation knowledge graph, and optional reranking as MCP tools.
Downloads
193
Maintainers
Readme
@qdrant-memory/mcp
Self-hosted agentic memory MCP server backed by Qdrant vector database. Provides semantic memory storage, entity/relation knowledge graph, and optional reranking as MCP tools for AI agents.
Features
- Semantic Memory — Store and search memories with vector embeddings
- Knowledge Graph — Entity/relation graph for structured knowledge
- Local Embeddings — Uses ONNX models (no external API needed)
- Remote Embeddings — OpenAI-compatible API support
- Optional Reranking — Cross-encoder reranking for better results
- HTTP Transport — Run as a server or via stdio
- Health Checks — Built-in
/healthand/readyendpoints
Installation
npm install @qdrant-memory/mcpQuick Start
1. Start Qdrant
docker run -p 6333:6333 qdrant/qdrant2. Run the server
npx @qdrant-memory/mcpOr via code:
import { server } from "@qdrant-memory/mcp";
// Start with HTTP transport (default port 26080)
server.run({ transport: "http" });
// Or stdio for Claude Desktop
server.run({ transport: "stdio" });Configuration
| Variable | Default | Description |
|----------|---------|-------------|
| QDRANT_URL | http://localhost:6333 | Qdrant server URL |
| QDRANT_API_KEY | — | Qdrant API key |
| TRANSPORT | http | stdio or http |
| PORT | 26080 | HTTP server port |
| COLLECTION_PREFIX | memory | Prefix for collection names |
| EMBEDDING_URL | — | Remote embedding URL (OpenAI-compatible) |
| EMBEDDING_MODEL | — | Model name for remote embedding |
| RERANKING_URL | — | Remote reranking URL |
| RERANKING_MODEL | — | Model name for reranking |
Local Embeddings
By default, uses Xenova/all-MiniLM-L6-v2 via ONNX — no external service required.
MCP Tools
Memory
memory_save— Save a memorymemory_search— Search memories by similaritymemory_save_batch— Save multiple memoriesmemory_search_batch— Batch searchmemory_update— Update a memorymemory_get— Get a memory by IDmemory_forget— Delete memoriesmemory_scroll— List memories with paginationmemory_stats— Get memory statisticsmemory_export/memory_import— Backup/restore
Entities
entity_create— Create an entityentity_get— Get entity by nameentity_search— Search entitiesentity_list— List all entitiesentity_add_observations— Add observationsentity_update— Update entity
Relations
relation_create— Create a relationrelation_search— Search relationsrelation_list— List relationsrelation_delete— Delete a relation
Docker
docker run -e QDRANT_URL=http://host.docker.internal:6333 \
-p 26080:26080 \
ghcr.io/miniaxolotl/qdrant-memoryOr use docker-compose.yml from the repo for full stack.
License
MIT
