About mnema
Mnema is a local-first shared memory store for AI agents, aimed at people using agents across clients, scripts, and CI. Its formally verified engine combines lexical and graph-based recall, with optional semantic embeddings and confidence bands.
Key features
- 01Durable local memory store
- 02Consult, learn, related, and list tools
- 03Lexical and graph-based recall
- 04Optional semantic embeddings
- 05Confidence band on each answer
Use cases
- 01Share learned facts across agent clients
- 02Record durable facts for later retrieval
- 03Browse recent memories and related entries
MCP support
Mnema exposes four memory tools over MCP: consult, learn, related, and list. Clients can connect to the local store or bridge to a token-protected remote Mnema.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMnema
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):
| Platform | Asset |
|---|---|
| macOS (universal) | mnema-<version>-macos-universal.mcpb |
| Linux (x86_64) | mnema-<version>-linux-x86_64.mcpb |
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:
curl -fsSL https://mnema.zimac.ai/install.sh | sh
(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
claude mcp add mnema -- mnema mcp
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:
{ "mcpServers": { "mnema": { "command": "mnema", "args": ["mcp"] } } }
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:
MNEMA_URL=https://memory.example.com MNEMA_TOKEN=<secret> mnema mcp
With a non-loopback URL nothing is auto-started — it's a pure authenticated bridge.
Configuration
| Env | Default | What |
|---|---|---|
MNEMA_DATA_DIR | ~/.mnema | Where the store lives |
MNEMA_URL | http://127.0.0.1:7077 | Store the CLI/MCP bridge targets |
MNEMA_TOKEN | — | Bearer credential for a remote store |
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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.