Persistent agent memory as plain Markdown in your repo - readable, diffable, with provenance.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
A structured, portable, auditable memory format for AI agents β a database whose files you can read.
MnemoDB is a plain-text, Markdown-compatible file format (.mem.md) for the
persistent memory of AI agents, plus the engine and tooling around it. A memory
is just a Markdown heading with a one-line metadata span:
It renders in any Markdown viewer, diffs cleanly in git, you can hand-edit it β
and a program can read every field with no ambiguity. Every existing
CLAUDE.md / AGENTS.md is already a valid (untyped) MnemoDB file, so adoption
requires renaming nothing and migrating nothing.
AI agents already have some memory. CLAUDE.md loads a flat file into context
every session. Claude's memory tool
gives the model a /memories folder and lets it organize files however it
likes. Both work. MnemoDB is not trying to replace them β it's the structure
and discipline they don't provide.
The difference is philosophy. "Give the model a folder and trust it to organize" is simple and often good enough. MnemoDB is the opposite bet: a defined format with real guarantees. That buys you four things a free-form folder or a flat file doesn't:
compact pass that archives what's expired or replaced. A flat memory file
only grows and eventually rots; MnemoDB can forget on purpose, auditably.user, agent, or tool. Tool-sourced content (e.g. text scraped from a web
page) is flagged untrusted and can never supersede a human instruction, so a
poisoned memory can't hijack future sessions. This matters precisely because
agents write memory automatically.mnemo trace tool (or mnemo trace tool/session-abc) lists exactly
what one source put in your memory β the question a provenance-free folder
can't answer at all. An optional owner: records who is accountable for a
memory, as distinct from where it came from; doctor flags decisions without
one, but only once a store actually uses owners.git diff shows
exactly what your agent learned or changed β no opaque database, no cloud
dashboard. mnemo doctor lints for staleness, contradictions, and damage.And the tools are memory-semantic, not raw file ops. A generic memory tool gives the model create/delete/replace on a folder; MnemoDB gives it operations that understand the structure β inspect an entry's full history, ask the store to report on itself, forget something auditably and recoverably (and never erase a higher-trust memory), or change what loads into context β each with the trust and lifecycle rules built in.
When MnemoDB is worth it: you want the agent to maintain memory itself
across many sessions without it decaying, you work across more than one AI tool,
or you need to audit and trust what's in memory. When it's probably overkill:
a short CLAUDE.md you curate by hand already does the job. We'd rather tell you
that up front.
Easiest β the Claude Code plugin (bundles the MCP server, a skill that teaches the agent when to recall/remember, and a session-start hook, so it works with no config to paste):
The .memory/ folder appears in your project the moment the agent remembers
something (just say "remember that we use pnpm"). Want it scaffolded up front
β e.g. to commit an empty store or migrate a CLAUDE.md? npx @mnemodb/cli init
is optional and does that.
Manual β just the MCP server (you add the usage instruction yourself):
Full walkthrough: docs/USAGE.md.
spec/SPEC-v0.1.md β the format specification (CC BY 4.0)packages/core β @mnemodb/core: parse, serialize, index, resolve, lifecycle, merge, validate (TypeScript, zero runtime deps, Apache-2.0)packages/cli β the mnemo CLI: init, list, show, doctor, compact, migrate, tracepackages/mcp β @mnemodb/mcp: the memory engine as an MCP server for Claude Code, Cursor, and any MCP client. 11 memory-semantic tools β things a plain memory folder can't do: memory_recall, memory_list, memory_show, memory_history (supersession lineage), memory_stats (the store's self-report), memory_remember, memory_forget (auditable, trust-gated), memory_pin (context-budget control), memory_review, memory_compact, memory_bootexamples/trust-model-demo.mjs β a runnable proof of the trust model: a tool-sourced (untrusted) memory can neither supersede nor forget a memory you wrote. The one thing a provenance-free memory folder can't do. Run it: node examples/trust-model-demo.mjsspec/AUDIT-2026-08-10.md β the adversarial security auditfixtures/ β conformance corpus; dogfood/ is MnemoDB's own real memory store, kept in MnemoDB format since day onev0.1 β early. Real feedback wanted, not stars. Published to npm; security- hardened by an adversarial audit; enforced as a ship gate on every release. If you try it, the useful questions are: did it ever recall something genuinely helpful, did it get in your way, and did you trust β and ever actually open β the files? Open an issue with honest notes.
Where it's headed: ROADMAP.md β priorities are driven by feedback, so if something there (or not there) matters to you, say so in an issue.
License: Apache-2.0 (code), CC BY 4.0 (spec). See CHANGELOG.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mnemodb)<a href="https://allmcps.com/mcp/mnemodb"><img src="https://allmcps.com/api/badge/mnemodb?style=directory" alt="Mnemodb on AllMCPs" /></a>