Memory Vault
Memory Vault is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local-first AI memory layer with hybrid search. It has 65 GitHub stars, is released under the MIT license and runs locally with 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.
- Official
- Needs API key
- Databases
- MIT
- Actively maintained
Install Memory Vault
Generated from the server's MCP registry entry. Replace your-value with your own values.
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": "your-value",
"DB_PORT": "your-value",
"DB_NAME": "your-value",
"DB_USER": "your-value",
"DB_PASSWORD": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env DB_HOST=your-value --env DB_PORT=your-value --env DB_NAME=your-value --env DB_USER=your-value --env DB_PASSWORD=your-value --transport stdio memory-vault -- 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.0Cursor
{
"mcpServers": {
"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": "your-value",
"DB_PORT": "your-value",
"DB_NAME": "your-value",
"DB_USER": "your-value",
"DB_PASSWORD": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "db_password",
"description": "DB_PASSWORD",
"password": true
}
],
"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": "your-value",
"DB_PORT": "your-value",
"DB_NAME": "your-value",
"DB_USER": "your-value",
"DB_PASSWORD": "${input:db_password}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | 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… |
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_PASSWORDsecret | Yes | Postgres password for DB_USER |
Tools (6)
Parsed from the Tools section of the README; check the repository for the current list.
recallSearch memories with hybrid search (vector + full-text + RRF)
rememberStore a new memory — auto-classified and embedded
forgetSoft-delete a memory by chunk ID
purge_forgottenPermanently delete memories forgotten more than N days ago
move_memoryMove a memory to another space, rebuilding its graph entries
memory_statusDatabase health, chunk counts, embedding model info
About Memory Vault
The memory database for AI applications. Self-hosted Postgres + pgvector with hybrid search, MCP-native, and a knowledge graph baked in.
- ai-memory
- claude
- hybrid-search
- knowledge-graph
- mcp
- open-source
- pgvector
- postgres
- rag
- self-hosted
Similar MCP servers
More databases MCP servers
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
DatabasesRustButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
DatabasesTypeScriptDBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
DatabasesTypeScriptLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DatabasesC#Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
DatabasesTypeScriptMCP Memory Service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
DatabasesPython
What is Memory Vault?
Memory Vault is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local-first AI memory layer with hybrid search. It has 65 GitHub stars, is released under the MIT license and runs locally with 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. The source code is at github.com/MihaiBuilds/memory-vault.
How do I install the Memory Vault MCP server?
Add the command 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 to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Memory Vault free?
The server is open source under the MIT license, so running it is free. It needs credentials (DB_PASSWORD) for the service it connects to, which may require a paid account.
Is Memory Vault actively maintained?
The most recent commit was on Sep 30, 2026. The latest release is v1.6.0, published Sep 10, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.