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.1.
github.com/MihaiBuilds/memory-vault (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
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.1"
],
"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.1Cursor
{
"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.1"
],
"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.1"
],
"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
Dbtrail
dbtrail/dbtrail
MySQL change tracking with instant row-level recovery and forensic attribution for compliance.
Active · last commit Oct 26, 2026
OfficialDatabasesGoAlibabacloud Dataworks MCP Server
aliyun/alibabacloud-dataworks-mcp-server
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface.
Maintained · last commit Jun 16, 2026
OfficialDatabasesTypeScriptReverie
knowall-ai/mcp-reverie
Graph memory that dreams: Neo4j knowledge-graph memory for AI agents with hybrid search.
Maintained · last commit Oct 17, 2026
OfficialDatabasesJavaScriptInsForge
InsForge/insforge-mcp
MCP server for InsForge BaaS — database, storage, edge functions, and deployments.
Maintained · last commit Oct 23, 2026
OfficialDatabasesTypeScriptAppwrite MCP Server
appwrite/mcp
Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN.
Active · last commit Oct 25, 2026
OfficialDatabasesPythonDbmcp
haymon-ai/dbmcp
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention.
Active · last commit Oct 22, 2026
OfficialDatabasesRust
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.1 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 Oct 10, 2026. The latest release is v1.6.1, published Oct 9, 2026. appsgit only lists MCP servers with a commit in the last six months.