local-memory-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@local-memory-mcp帮我搜索上次关于知识图谱设计的记忆"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
local-memory-mcp
本地向量 + 知识图谱记忆 MCP Server,基于 LanceDB 和 Kuzu。
所有数据保存在本地 ~/.kimi-memory/,不依赖外部云服务,适合给 Kimi Code、workbuddy、Cursor 等 Agent 提供跨会话共享记忆。
特性
向量语义检索:使用 BGE 中文 Embedding 模型,支持同义词召回
知识图谱关系:用 Kuzu 存储记忆之间的主题、项目、工具、时间关系
短期 / 长期记忆:自动分层,支持 promote、decay、consolidate
跨 Agent 共享:通过 MCP 协议接入任意支持 MCP 的 Agent
本地备份:一键导出 JSONL + 打包数据目录到百度网盘同步空间
Related MCP server: Memsolus MCP Server
快速开始
cd ~/.kimi-code/skills/local-memory-mcp
python scripts/install.py安装脚本会:
创建 Python 虚拟环境
安装 LanceDB、Kuzu、sentence-transformers 等依赖
预下载 BGE-small 中文 Embedding 模型
注册 MCP Server 到 Kimi Code
然后重启 Kimi Code CLI即可使用。
数据目录
~/.kimi-memory/
├── lancedb/ # 向量数据库
├── kuzu/ # 图数据库
├── models/ # 本地 Embedding 模型
├── backups/ # 备份文件
└── config.yaml # 配置文件备份
# 导出 JSONL 并打包到百度网盘同步目录
python scripts/backup.py
# 只导出 JSONL
python scripts/backup.py --jsonl-only
# 指定目标目录
python scripts/backup.py --target D:\\Backups\\kimi-memory环境变量
变量 | 说明 | 默认值 |
| 数据根目录 |
|
| Embedding 模型 |
|
| 默认搜索条数 |
|
| 短期记忆过期天数 |
|
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Shared long-term memory for AI agents: save and recall context as a searchable knowledge graph.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides persistent AI agent memory using a local vector database for long-term semantic storage and short-term session scratchpads. It enables low-latency memory operations including search, storage, and bulk management without external cloud dependencies.

Memsolus MCP Serverofficial
AlicenseAqualityDmaintenanceProvides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.1419MIT- AlicenseNot gradedqualityDmaintenanceProvides persistent knowledge graph memory for AI agents, enabling them to store, recall, and query facts about people, projects, and relationships across sessions.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.135MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mason-yb-zhang/local-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server