db-memory
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@db-memorysearch memory for handling duplicate entries"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
db-memory
A vector-DB MCP server that gives Claude conversational memory: it stores solved problems + solutions as vectors and resurfaces the most relevant ones when a new request looks similar to something solved before.
Switchable backend —
VECTOR_BACKEND=local|cloud, no code change.local→ Chroma, embedded on disk. Offline, no account.cloud→ Qdrant Cloud, managed, shared across machines.
Small/fast local embeddings —
all-MiniLM-L6-v2(384-dim). No API key, runs on CPU in ms.
Tools exposed
Tool | What it does |
| Find past solved issues similar to the current request |
| Store a solved issue for future retrieval |
| Show active backend + how many memories are stored |
Related MCP server: MCP Memory
Setup
cd ~/code/mcp/db-memory
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # edit if you want cloudRun / test standalone
mcp dev memory_server.py # opens the MCP Inspector UIRegister with Claude Code
Local backend (default):
claude mcp add db-memory -- \
~/code/mcp/db-memory/.venv/bin/python ~/code/mcp/db-memory/memory_server.pyThen /mcp in Claude Code shows the three tools. Claude will call
search_memory when a request resembles a past one, and save_memory after
solving something.
Switching to cloud
Create a free cluster at cloud.qdrant.io, copy the URL + API key.
In
.env(or the MCP env):VECTOR_BACKEND=cloud QDRANT_URL=https://YOUR-CLUSTER.cloud.qdrant.io:6333 QDRANT_API_KEY=...
Same embeddings, same tools — only the storage moves. (The two backends don't share data; re-save or migrate if you switch with existing memories.)
Notes
Embedding dimension is fixed by the model (384 for MiniLM). If you change
EMBED_MODEL, delete the old Chromamemory_db/or use a fresh Qdrant collection — vectors of different sizes can't mix.An MCP tool only runs when Claude invokes it; it can't passively log every message. For guaranteed full capture, log each turn to the same DB from your app (or a Claude Code
Stophook) and keep this server for retrieval.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/Ak1Ena/vector-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server