Skip to content
mihaibuilds avatar

Memory Vault

mihaibuilds/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
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads with recall and memory_status, combining vector and full-text search, and retrieve for keyed JSON values
  • Writes with remember, store, move_memory, and forget; permanent removal is handled by purge_forgotten and delete
  • 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 tools

Public 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

Parameters* required
keystring
valueobject
retrieveRetrieve a JSON value by key1 params

Retrieve a JSON value by key

Parameters* required
keystring
deleteDelete a stored JSON value by key1 params

Delete a stored JSON value by key

Parameters* required
keystring

Configuration

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: 5432

Postgres port

DB_NAME*default: memory_vault

Postgres database name

DB_USER*default: memory_vault

Postgres user with read/write access to the memory vault database

DB_PASSWORD*secret

Postgres password for DB_USER

Readme

Memory Vault

Tests License: MIT Python 3.11+ Latest Release Docker Image MCP Registry Ruff

The memory database for AI applications. Self-hosted Postgres + pgvector with hybrid search, MCP-native, and a knowledge graph baked in.


View the full README on GitHub

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 & Context