Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.
unavailable — the image reference already carries a tag
Docker
docker run -i --rm ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1"
],
"env": {
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_NAME": "<YOUR_DB_NAME>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env DB_HOST=<YOUR_DB_HOST> --env DB_PORT=<YOUR_DB_PORT> --env DB_NAME=<YOUR_DB_NAME> --env DB_USER=<YOUR_DB_USER> --env DB_PASSWORD=<YOUR_DB_PASSWORD> memory-vault -- docker run -i --rm ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1"
],
"env": {
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_NAME": "<YOUR_DB_NAME>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1"
],
"env": {
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_NAME": "<YOUR_DB_NAME>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.1"
],
"env": {
"DB_HOST": "<YOUR_DB_HOST>",
"DB_PORT": "<YOUR_DB_PORT>",
"DB_NAME": "<YOUR_DB_NAME>",
"DB_USER": "<YOUR_DB_USER>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
DB_HOST required — 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 required — Postgres portDB_NAME required — Postgres database nameDB_USER required — Postgres user with read/write access to the memory vault databaseDB_PASSWORD required secret — Postgres password for DB_USER⭐ 65 stars · 最近更新于 17 天前 · MIT license
Memory Vault The memory database for AI applications. Self hosted Postgres + pgvector with hybrid search, MCP native, and a knowledge graph baked in. Every conversation with Claude or ChatGPT starts from zero. No memory of what you built last week, what decisions you made last month, what problems y…
Summary from the project README — github.com/MihaiBuilds/memory-vault
Distributed as Docker, listed under Knowledge & Memory. Review our MCP security guide before granting access to real data.
Memory Vault The memory database for AI applications. Self hosted Postgres + pgvector with hybrid search, MCP native, and a knowledge graph baked in. Every conversation with Claude or ChatGPT starts from zero. No memory of what you built last week, what decisions you made last month, what problems y
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/MihaiBuilds/memory-vault. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/memory-vault/)
HTML
<a href="https://mcpnav.net/server/memory-vault/"><img src="https://mcpnav.net/badge/memory-vault.svg" alt="Listed on MCPNav" height="20"></a>