Memory Vault
Persistent, self-hosted memory store on Postgres with pgvector and hybrid search.
- CCM score
- 64 of 100
- GitHub stars
- 67
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env vars
- 5
- last updated
- Nov 16, 2026
Own this MCP server? Claim it
What it does
- Reads with
recallandmemory_status, combining vector and full-text search, andretrievefor keyed JSON values - Writes with
remember,store,move_memory, andforget; permanent removal is handled bypurge_forgottenanddelete - Runs self-hosted via Docker Compose or a local Python setup, with a PostgreSQL 16 and pgvector dependency and no cloud calls
- Designed for giving Claude and other AI tools persistent recall of decisions, notes, and project context across sessions
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
storeStore a JSON value under a key2 params
Store a JSON value under a key
keystringvalueobjectretrieveRetrieve a JSON value by key1 params
Retrieve a JSON value by key
keystringdeleteDelete a stored JSON value by key1 params
Delete a stored JSON value by key
keystringConfiguration
DB_HOST*Hostname of the Postgres+pgvector instance Memory Vault connects to (e.g. 'host.docker.internal' when Postgres runs on the host, 'localhost' when running natively, or the service name when both run in compose)
DB_PORT*default: 5432Postgres port
DB_NAME*default: memory_vaultPostgres database name
DB_USER*default: memory_vaultPostgres user with read/write access to the memory vault database
DB_PASSWORD*secretPostgres password for DB_USER
Readme
Memory Vault
The memory database for AI applications. Self-hosted Postgres + pgvector with hybrid search, MCP-native, and a knowledge graph baked in.
Details
- Repository
- github.com/mihaibuilds/memory-vault
- Website
- mihaibuilds.com
- Categories
- Memory & Context, Databases
- Package
ghcr.io/mihaibuilds/memory-vault-mcp:1.7.0- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active
Questions
Is Memory Vault a good MCP server for memory in Claude Code?
Memory Vault ranks in the top 50 of the Memory & Context category on Claude Marketplaces, alongside servers such as Headroom, Basic Memory and obsidian-wiki. It stands out because it is a local-first memory layer that stores decisions, notes and project context in a self-hosted Postgres database with pgvector.
What tools does the Memory Vault MCP server expose?
Memory Vault exposes three tools: store, which saves a JSON value under a key, retrieve, which fetches a stored value by key, and delete, which removes a stored value by key. Its README also describes recall, remember, forget and memory_status for hybrid semantic and keyword search.
What do I need to run the Memory Vault MCP server?
The server needs a running Postgres instance with pgvector and the environment variables DB_HOST, DB_PORT, DB_NAME, DB_USER and DB_PASSWORD, where DB_PASSWORD is a secret. It runs over stdio from the published OCI package, and the GitHub repository at https://github.com/mihaibuilds/memory-vault has Docker Compose and no-Docker setup steps.
Does Memory Vault keep my data on my own machine?
Yes, Memory Vault is self-hosted and local-first, so your memories stay in the Postgres database you run. It is released under the MIT license and offers hybrid semantic and keyword search over the memories it stores.
Similar to Memory Vault
More Memory & ContextCludesebbsssss23 starsPortable agent memory with hybrid recall, decay, and export, stored locally or hosted.
YourMemorysachitrafa275 starsPersistent memory store connecting AI agents to recall, write, and update tools with decay and graph linking.
Cognitive Ai Memorysachitrafa275 starsPersistent memory for Claude with decay and recall, stored locally in DuckDB or Postgres.
M3 Memoryskynetcmd32 starsPersistent, local-first memory store for assistants: saves, searches, and supersedes facts across sessions.
MCP AutoMemverygoodplugins67 starsPersistent graph-vector memory via FalkorDB and Qdrant: store, recall, relate, update, and delete memories.
Mem0mem0ai661 starsLong-term memory access via Mem0's hosted API: add, search, update, and delete memories.