mnemo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mnemorecall what we decided about the database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mnemo
Give your AI agents a git repo as a brain.
π Live site: https://joaquimlegal.github.io/mnemo/
mnemo is persistent, local-first memory for AI agents (OpenCode, Claude Code,
Cursor, Codexβ¦). Agents remember by writing Markdown files into a git repo β
so you get auditability, branching, snapshots, and rollback for free.

$ mm new "We chose Postgres" --body "over Mongo, because of transactions" --tags decision,db --importance 0.9
wrote main/20260811-221936-2d37
$ mm search "which database did we pick"
20260811-221936-2d37 0.81 [main] We chose Postgres
$ mm log
4e246fa mem: add 20260811-221936-2d37 - We chose Postgres
$ mm undo # revert the last change β history is preserved
$ mm branch exp # fork an alternative memory timelineWhy
LLM agents are stateless: every session forgets everything. You repeat decisions, preferences, and context over and over β burning tokens and letting the agent re-open settled questions.
mnemo fixes the pain points:
Cross-session onboarding β a new session reads yesterday's memories and starts knowing.
Multi-agent shared reality β the planner writes decisions, the implementer reads them.
Auditability β
git logshows exactly what the agent knew, and when. (The requirement the agent community keeps asking for in 2026.)Token economy β recall the 3 memories that matter instead of re-reading the whole project.
100% local β memory is a folder on your machine. No cloud, no lock-in.
Related MCP server: Engram
How
βββββββββββββββββββββββ
agent ββββββΆβ MCP server (mm mcp) ββββ
βββββββββββββββββββββββ β
βββββββββββββββββββββββ β .mnemo/ (a git repo)
OpenCode βββΆβ plugin (auto) ββββΌβββΆ memories/<agent>/<id>.md
plugin β capture + seed β β βββ frontmatter + markdown
βββββββββββββββββββββββ β search: BM25 + recency + importance
human ββββββΆβ mm CLI ββββ audit: git log / diff / revert
βββββββββββββββββββββββEvery memory is a human-readable Markdown file with metadata, and every mutation is a git commit. Search is classic BM25 plus a recency/importance rank β zero dependencies, ~90% recall@1 on synthetic corpora.
Install & use
npm i -g mnemo-mem
# in your project:
mm init
mm setup-opencode # installs the OpenCode plugin + MCP config, then restart OpenCodeThe OpenCode plugin makes memory automatic: at the end of a session it summarizes what was decided/learned and stores it; at the start of the next session it seeds the agent with the recent highlights. You don't maintain memory β it happens.
For other agents, add the MCP server:
{ "mcpServers": { "mnemo": { "command": "mm", "args": ["mcp"] } } }And drop prompts/AGENTS.md into your project so agents
know to call recall before work and remember after decisions.
CLI reference
mm init / new / ls / search / cat / rm
mm log | undo | revert <commit> | snapshot <tag> | tags | branches | branch | switch
mm mcp | setup-opencodeDocumentation
docs/01-architecture.mdβ the one idea, module by moduledocs/02-git-substrate.mdβ why git, not a vector DBdocs/03-search.mdβ BM25 + hybrid ranking, with mathdocs/04-mcp.mdβ the MCP tools and the OpenCode plugin
Roadmap
Core store (Markdown + frontmatter, per-agent profiles)
Git substrate (auto-commit, branches, undo, snapshots)
Search (BM25 + recency/importance ranking, optional embeddings)
MCP server + OpenCode plugin (auto-capture + auto-recall)
Consolidation (auto-compress many small memories into an executive summary)
Semantic search defaults, more embedders
Benchmarks on real agent sessions
Develop
npm install
npm test # vitest β 32 tests
npm run build # tsc
npm run benchmark # recall@k on 100/1000-memory corpora
bash scripts/demo.sh # watch it work
vhs -o demo.gif scripts/demo.tape # regenerate the README GIF (needs vhs + ttyd)License
MIT β Β© 2026 JoaquimLegal
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceSelf-hosted MCP memory server that gives a multi-agent fleet one shared, git-backed memory for search, read, and write.81MIT
- AlicenseAqualityAmaintenanceA self-hosted MCP server that gives AI agents shared, long-term memory over a git-backed folder of markdown, enabling persistent knowledge search, read, and write without a database.16269MIT
- AlicenseAqualityBmaintenanceMCP server for persistent, cross-session, local-first memory for AI agents, storing memories as Markdown files with SQLite indexing for hybrid search.24Apache 2.0
- AlicenseAqualityCmaintenanceA local-first MCP server that provides a shared Markdown-based memory for AI coding agents, enabling cross-agent context persistence via tools like memory_search and memory_capture.101MIT
Related MCP Connectors
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Cloud-hosted MCP server for durable AI memory
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoaquimLegal/mnemo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server