Memory Vault MCP Server
by mihaibuildsio.github.MihaiBuilds/memory-vaultv1.6.0
Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Memory Vault MCP server
Install in Claude Code
claude mcp add memory-vault -e DB_HOST='<db-host>' -e DB_PORT=5432 -e DB_NAME=memory_vault -e DB_USER=memory_vault -e DB_PASSWORD='<db-password>' -- docker run -i --rm -e DB_HOST -e DB_PORT -e DB_NAME -e DB_USER -e DB_PASSWORD ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0Install in Cursor
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_PORT",
"-e",
"DB_NAME",
"-e",
"DB_USER",
"-e",
"DB_PASSWORD",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0"
],
"env": {
"DB_HOST": "<db-host>",
"DB_PORT": "5432",
"DB_NAME": "memory_vault",
"DB_USER": "memory_vault",
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_PORT",
"-e",
"DB_NAME",
"-e",
"DB_USER",
"-e",
"DB_PASSWORD",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0"
],
"env": {
"DB_HOST": "<db-host>",
"DB_PORT": "5432",
"DB_NAME": "memory_vault",
"DB_USER": "memory_vault",
"DB_PASSWORD": "<db-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"memory-vault": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_PORT",
"-e",
"DB_NAME",
"-e",
"DB_USER",
"-e",
"DB_PASSWORD",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0"
],
"env": {
"DB_HOST": "<db-host>",
"DB_PORT": "5432",
"DB_NAME": "memory_vault",
"DB_USER": "memory_vault",
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"memory-vault": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DB_HOST",
"-e",
"DB_PORT",
"-e",
"DB_NAME",
"-e",
"DB_USER",
"-e",
"DB_PASSWORD",
"ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0"
],
"env": {
"DB_HOST": "<db-host>",
"DB_PORT": "5432",
"DB_NAME": "memory_vault",
"DB_USER": "memory_vault",
"DB_PASSWORD": "<db-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DB_HOST | yes | — | 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 | yes | — | Postgres port |
| DB_NAME | yes | — | Postgres database name |
| DB_USER | yes | — | Postgres user with read/write access to the memory vault database |
| DB_PASSWORD | yes | yes | Postgres password for DB_USER |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 9d ago · GitHub
Latest release
2026-09-10 · 29d ago · GitHub · v1.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-10 · 29d ago · official registry · v1.6.0
FAQ
›How do I install the Memory Vault MCP server in Claude Code?
Run: claude mcp add memory-vault -e DB_HOST='<db-host>' -e DB_PORT=5432 -e DB_NAME=memory_vault -e DB_USER=memory_vault -e DB_PASSWORD='<db-password>' -- docker run -i --rm -e DB_HOST -e DB_PORT -e DB_NAME -e DB_USER -e DB_PASSWORD ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Memory Vault require an API key?
Yes. It expects DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD, of which 1 is a secret.
›Can I use Memory Vault as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Memory Vault in the official MCP registry?
Yes, as io.github.MihaiBuilds/memory-vault.
Alternatives to Memory Vault
Other database MCP servers.