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