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.Optional web dashboard — flip on
WEB_UI=onto browse the store in your browser. Off by default.
Tools exposed
Tool | What it does |
| Find past solved issues — returns lightweight headers (id + title + similarity) to save tokens |
| Fetch the full problem + solution text for the ids you actually want |
| Store a solved issue for future retrieval (fire-and-forget background write). Claude confirms with you — "Did this solve your problem?" — before saving |
| Edit a memory in place; re-embeds if the problem text changes |
| Permanently remove out-of-date or wrong entries |
| Show active backend + how many memories are stored |
Retrieval is two-stage: search_memory returns only headers, then you call
get_memory for the few you need — so a search never dumps every full solution
into the context.
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 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.)
Web dashboard (optional)
A read-only page for browsing what's in the store — searchable, auto-refresh, shows every memory. Off by default; you turn it on and pick the port purely with env vars. When on, it autostarts with the MCP server (which Claude Code launches), running in a daemon thread — no extra process, no new dependencies (Python stdlib only).
Set these in the env block where the server is registered (e.g. the
db-memory entry in ~/.claude.json), then restart Claude Code:
"env": { "WEB_UI": "on", "WEB_PORT": "8765", "WEB_HOST": "127.0.0.1" }Env | Default | Meaning |
|
|
|
|
| Port to serve on |
|
| Bind address — localhost-only by default; set |
Then open http://localhost:8765. The page is a plain template at
web/index.html that you can edit freely; the server just serves it plus two
read-only JSON endpoints it calls (/api/stats, /api/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.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables clients like Cursor, Claude, and Windsurf to remember user information and preferences across conversations using vector search technology.Last updated40MIT
- Alicense-qualityDmaintenanceA server that gives MCP clients (Cursor, Claude, Windsurf, etc.) the ability to remember user information across conversations using vector search technology.Last updated40149MIT
- Alicense-qualityDmaintenanceAn MCP server that gives Claude persistent memory by storing conversation context, entities, and enabling semantic search across sessions.Last updated331MIT
- Flicense-qualityDmaintenanceA personal memory MCP server for Claude Code that stores and retrieves memories via natural language, supporting text, images, files, and secrets with vector search.Last updated
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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