memory_status
Memory status
Who you are on this Keephaven, whether you can write, and how much of your quota is used.
无需输入参数。

io.github.dafarusd由 GitHub 账号 dafarusd 发布v0.1.0更新于 Oct 29, 2026
Agent memory on your own Keephaven home server: files, append-only journal, search.
为 AI 助手提供持久记忆:文件与只追加日志存放在用户自己的 Keephaven 家庭服务器上,支持搜索、读取、写入和删除。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Your agent's memory, on a box in your house. An MCP server that gives an AI agent a long-term memory stored on a Keephaven, not on a vendor's server.
Works with MCP clients that run local servers, like Claude Desktop, Claude Code and Cursor.
claude_desktop_config.json:For Claude Code:
It installs straight from GitHub, so the first start takes a minute while it builds. Needs Node 20 or newer.
The machine running the agent has to reach the box: same home network, the Keephaven's own Wi-Fi, or your Tailscale tailnet when Remote access is on.
The box runs one Python file with no dependencies. Run that same file anywhere with Python 3:
Then point the MCP server at http://127.0.0.1:8790 with that token. The file is modules/agent-memory.py in the Keephaven repo.
skill/keephaven/ is an agent skill (a SKILL.md plus a read-only check.py): how to use a Keephaven as memory, and how to boot one in a VM and report what works. check.py was run against the Photos SSD image booted in QEMU: setup page, then ready, Photos up, Immich 3.0.3.
Built by @Dafarusd. MIT License.
来源:README.md,提交 8d6f316
Memory status
Who you are on this Keephaven, whether you can write, and how much of your quota is used.
无需输入参数。
List memory files
List the files in your memory, optionally under a folder prefix like 'people' or 'projects/keephaven'.
prefixRead a memory file
Read one file from your memory. Returns its text and an etag; pass the etag to memory_write to avoid overwriting a newer copy.
path必填Write a memory file
Create or replace one file in your memory (UTF-8 text, up to 10 MB). Paths are plain segments of letters, digits, _ . - separated by '/'. journal/ is not writable here: use journal_append.
path必填content必填if_matchDelete a memory file
Delete one file from your memory on the box. Journal files can't be deleted. A paired backup box keeps what it already received.
path必填Add to your journal
Append one entry to your append-only journal: what you did, decided, or learned. Nothing in the journal can be edited or deleted afterwards, so it's the record your future sessions can trust.
datatagstext必填Read your journal
Read your most recent journal entries, oldest first. Use at the start of a session to pick up where you left off.
limitsinceSearch your memory
Case-insensitive text search across your memory files and journal. Returns matching lines with file and line number.
limitquery必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
{ "mcpServers": { "keephaven": { "command": "npx", "args": ["-y", "github:dafarusd/keephaven-mcp"], "env": { "KEEPHAVEN_URL": "http://keephaven-xxxx.local:8790", "KEEPHAVEN_TOKEN": "khm_..." } } }}claude mcp add keephaven -e KEEPHAVEN_URL=http://keephaven-xxxx.local:8790 -e KEEPHAVEN_TOKEN=khm_... -- npx -y github:dafarusd/keephaven-mcppython3 agent-memory.py serve --data ./mem --bind 127.0.0.1 --dev-token khm_try-it-locally