
一个本地优先的AI记忆系统,具备混合搜索、MCP集成和知识图录。
概览
自架 Postgres + pgvector,采用混合搜索、MCP 原生和内置知识图谱。 和Claude或ChatGPT的每次对话都是从零开始的。你不记得上周做了什么,上个月做了什么决定,已经解决了哪些问题。你要么从头重新解释,要么粘上一堵背景墙,希望能放进窗口。 Memory Vault 是底层的持久层。它将你希望 AI 记住的内容——决策、对话、笔记、项目上下文——存储在一个带有混合语义+关键词搜索功能的 Postgres 数据库中。Claude 可以通过 MCP 在任何会话中回忆和存储记忆,你可以通过本地大型语言模型与自己的记忆聊天,或者你可以在 REST API 上构建自己的 AI 工具。 用本地大型语言模型与你的保险库聊天。每个答案都显示了它所依据的具体记忆——点击任意来源以核实。 记忆宝库的第一个稳定版本。
概述(AI 翻译)
AI应用的内存数据库。 自托管Postgres + pgvector,支持混合搜索、MCP原生,并内置知识图谱。
和Claude或ChatGPT的每次对话都是从零开始的。你不记得上周做了什么,上个月做了什么决定,已经解决了哪些问题。你要么从头重新解释,要么粘上一堵背景墙,希望能放进窗口。
Memory Vault 是底层的持久层。它将你希望 AI 记住的内容——决策、对话、笔记、项目上下文——存储在一个带有混合语义+关键词搜索功能的 Postgres 数据库中。Claude 可以通过 MCP 在任何会话中回忆和存储记忆,你可以通过本地大型语言模型与自己的记忆聊天,或者你可以在 REST API 上构建自己的 AI 工具。
Chat用本地大型语言模型(LLM)管理你的保险库。每个答案都显示了它所依据的具体记忆——点击任意来源即可verify.
状态
v1.0 — 2026-05-07发布。 Memory Vault 的第一个稳定版本。M1-M7(混合搜索、Docker、MCP、REST API、仪表盘、知识图谱、本地LLM聊天)均已发布且稳定。
详见CHANGELOG。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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 you’ve already solved. You either re-explain everything from scratch, or paste in a wall of context and hope it fits in the window.
Memory Vault is the persistent layer underneath. It stores what you want your AI to remember — decisions, conversations, notes, project context — in a single Postgres database with hybrid semantic + keyword search. Claude can recall and store memories during any session via MCP, you can chat with your own memories through a local LLM, or you can build your own AI tool on top of the REST API.
Chat with your vault using a local LLM. Every answer shows the exact memories it was grounded in — click any source to verify.
Status
v1.0 — released 2026-05-07. First stable release of Memory Vault. M1-M7 (hybrid search, Docker, MCP, REST API, dashboard, knowledge graph, local LLM chat) all shipped and stable.
See CHANGELOG.md for the full per-release history, or GitHub Releases for the platform-native view.
Semver from here forward — the public surface (REST API endpoints, MCP tool signatures, DB schema) is stable. Breaking changes only on a major version bump.
Quick Start (Docker)
git clone https://github.com/MihaiBuilds/memory-vault.git
cd memory-vault
docker compose up -d
That’s it. PostgreSQL + pgvector + Memory Vault, running and ready. Migrations run automatically on first start.
# Check it's working
docker compose exec app memory-vault status
# Ingest a file
docker compose exec app memory-vault ingest /path/to/file.md --space default
# Search
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"memory-vault": {
"command": "/path/to/memory-vault/.venv/bin/python",
"args": ["-m", "memory_vault.mcp"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "5432",
"DB_NAME": "memory_vault",
"DB_USER": "memory_vault",
"DB_PASSWORD": "memory_vault"
}
}
}
}