
Mnema
ai.zimac由 zimac.ai 發布v0.2.0更新於 Oct 24, 2026
Local-first, formally verified memory for AI agents: consult/learn/related/list over MCP.
概覽
為 AI 助理提供本機持久記憶庫,可透過 MCP 查詢、寫入與瀏覽記憶。
- 可以做什麼
- Mnema 為 AI 助理執行一個共用的本機記憶庫,並提供四個 MCP 工具:consult(行動前檢索記憶)、learn(記錄一筆持久事實)、related(走訪圖譜鄰居)、list(瀏覽近期項目)。檢索結合詞法搜尋與圖譜擴散激活,可選語意嵌入,每個回答都附帶信心區間。同一個記憶庫可被 Claude Code、Claude Desktop、Cursor、指令碼與 CI 等多個用戶端共用。
- 適用情境
- 當你希望助理跨工作階段、跨用戶端記住持久事實,又不想把這些記憶上傳到雲端時,值得安裝。適合需要在行動前查閱既有經驗的助理、指令碼與 CI。若只需要單次工作階段的上下文,則意義不大。
- 執行需求
- 以本機程序(stdio)方式在 macOS 或 Linux 上執行,可透過 .mcpb 套件或獨立二進位檔安裝。預設資料存放在 ~/.mnema,並在 自動啟動本機守護程序。將 MNEMA_URL 指向遠端儲存時,需要 MNEMA_TOKEN 作為 bearer 憑證。選用環境變數:MNEMA_DATA_DIR、MNEMA_URL、MNEMA_TOKEN。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mnema,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Mnema
Local-first, formally verified memory for AI agents — one shared store, every client, over MCP.
Your agents rent their intelligence from a lab; their memory should be yours.
Mnema is a single, durable store of what your agents have learned — consult it
before you act, learn a durable fact, walk the related graph, list what's
recent. Data lives in ~/.mnema on your machine and nothing leaves it unless you
point it somewhere.
- Verified engine. The embedded engram database is formally specified and machine-checked (property catalog discharged by 250+ tests, an exhaustive CRDT conformance model checker, Kani proofs, and a TLA⁺ model). Every released binary passed that gate on its exact commit.
- Local-first. An open, append-only segment format in
~/.mnema. No cloud, no account. - One store, every client. Claude Code, Claude Desktop, Cursor, your scripts, and your CI all talk to the same memory. Recall is lexical + graph spreading-activation (plus optional semantic embeddings), with an honest confidence band on every answer.
This repository hosts the public release bundles (
.mcpb) and prebuilt binaries. The product, docs, and downloads live at mnema.zimac.ai.
Install
From the MCP Registry (recommended)
Mnema is published to the official MCP Registry
as ai.zimac/mnema. Any registry-aware client can install it by name; it
pulls the platform .mcpb bundle from this repo's releases and verifies its
fileSha256.
.mcpb bundle (manual)
Grab the bundle for your platform from the latest release and open it with an MCP-bundle-aware client (e.g. Claude Desktop → Extensions):
A .mcpb is a ZIP of a manifest.json, the mnema binary, and this README.
Each is dry-run verified (the bundled binary completes an MCP initialize
handshake) before release.
Headless binary (curl | sh)
For agents, scripts, and CI — installs the standalone mnema binary:
(macOS universal + Linux x86_64 prebuilt; anything else builds from source. The macOS GUI app is a separate download at mnema.zimac.ai.)
Give your agents memory
That's the whole setup: mnema mcp auto-starts the shared local store if it
isn't running, and the session gets four tools — consult (search before you
act), learn (record a durable fact), related (graph neighbours), list
(browse). Any MCP client works; the generic config is:
Point it at a shared / team store
The same binary bridges to a remote Mnema (a token-protected mnema serve or a
hosted learnings pod) instead of the local one:
With a non-loopback URL nothing is auto-started — it's a pure authenticated bridge.
Configuration
Links
- Product & downloads: https://mnema.zimac.ai
- Registry entry:
ai.zimac/mnemaon https://registry.modelcontextprotocol.io - Releases (
.mcpb+ binaries): https://github.com/Zimac-AI/mnema/releases
Mnema is a Zimac project.
來源:README.md,提交 3ad94ce
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。