
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

mnemo is a memory service for AI coding agents that exposes MCP tools and keeps durable, project-scoped project memory in a local SQLite database.
mnemo — persistent local memory for AI coding agents via MCP is cataloged as an MCP server attributed to jmeiracorbal. mnemo is a memory service for AI coding agents that exposes MCP tools and keeps durable, project-scoped project memory in a local SQLite database. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for mnemo — persistent local memory for AI coding agents via MCP are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Memories are kept locally in SQLite with FTS5 on the user's machine.
Yes; activation is opt-in per project, and global hooks stay inert without a valid .mnemo.
README.md · ecd475cf9cb2 · Fetched 2026-11-13 13:44:50 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Same source of truth across Claude Code, Codex, Cursor, OpenCode and Pi.
Quick Start · Why mnemo? · How it works · Agents · Docs · Community · Roadmap
Agents forget. Markdown memory drifts. Hooks race. Setup fails silently.
| Without mnemo | With mnemo |
|---|---|
| Decisions vanish between sessions | Durable project memory in local SQLite |
MEMORY.md, editor memory and chat notes diverge | One project-scoped source of truth for every supported agent |
| Global hooks run everywhere, or nowhere useful | Opt-in via .mnemo; unmarked projects are ignored |
| Silent misconfiguration | mnemo doctor explains exactly what is wired; mnemo doctor --fix repairs it |
mnemo does not claim every harness. It ships a stable memory contract that any harness can implement and validate.
# 1. Install the latest stable release
curl -sSf https://raw.githubusercontent.com/jmeiracorbal/mnemo/main/install.sh | bash
# 2. Activate in a project
cd your-project
mnemo init --agent=all
# 3. Verify
mnemo doctor --agent=all --path=.
Then in your agent: mem_save a decision, close the session, open another — mem_search / mem_context finds it.
mnemo search "SQLite" --project "$(mnemo json id < .mnemo)"
The installer and mnemo update follow the latest published stable release (v1.0.1). Use mnemo update --prerelease only to opt into prereleases. See the Installation guide for updates and agent-specific setup.
project/
├── .mnemo # project ID + activated agents (Git-trackable)
├── AGENTS.md # shared memory authority
├── CLAUDE.md # Claude rules when selected
├── .cursor/ # Cursor rules when selected
└── .pi/ # Pi prompt extensions when selected
Git tracking is opt-in: mnemo init no longer adds .mnemo to .gitignore and does not change Git tracking. To share an existing project ID across clones, run mnemo track inside the repository. This explicit command removes legacy .mnemo ignore rules and stages only .mnemo without changing its ID. Review and commit the resulting changes; mnemo never commits or pushes them. Existing installations: after updating mnemo, run mnemo track in each repository you want to migrate; updating alone will not change Git state. The marker currently contains the project ID and activated agent names, not stored memories or credentials. A project ID is not an authorization token: a future cloud service must enforce user/organization access on every operation (OWASP API1:2023, Broken Object Level Authorization).
See Durable Events for delivery and failure semantics.
.mnemomem_save, mem_search, mem_context, mem_doctor, and moremnemo doctor / mnemo doctor --fix, project merge/rename, mnemo memories reviewmnemo update for releases| Agent | MCP | Hooks / runtime | Global instructions | Skill | Status |
|---|---|---|---|---|---|
| Claude Code | Yes | Session hooks | Yes | Yes | Supported |
| Codex | Yes | Session hooks | Yes | Yes | Supported |
| Cursor | Yes | Prompt hook | Yes | Yes | Supported |
| OpenCode | Yes | Plugin events | Yes | Yes | Supported |
| Pi | Native tools | Native extension | Yes | Yes | Supported |
Codex requires an interactive hook trust review after install — details in Agent Integrations.
Claude Code uses CLAUDE_CONFIG_DIR for its config directory when set, and defaults to ~/.claude. Its MCP configuration .claude.json lives in that directory when CLAUDE_CONFIG_DIR is set, and in $HOME otherwise.
The agent adapters and durable event controller are maintained inside Mnemo (internal/adapters and internal/events). The CLI and MCP server use these packages directly.
| Path | Command |
|---|---|
Pinned stable (v1.0.1) | curl -sSf https://raw.githubusercontent.com/jmeiracorbal/mnemo/main/install.sh | MNEMO_VERSION=v1.0.1 bash |
| Latest stable | curl -sSf https://raw.githubusercontent.com/jmeiracorbal/mnemo/main/install.sh | bash |
| One agent | bash -s -- --agent=codex |
| All agents | bash -s -- --agent=all |
| From source | go build -o ~/.local/bin/mnemo ./cmd/mnemo/ |
The installer configures every agent: instructions, MCP server, hooks and skills. mnemo ships no agent plugins. If you installed the mnemo Claude Code or Codex plugin from an earlier release, mnemo doctor reports it and mnemo doctor --fix removes it and restores the installer setup.
Full update flags and uninstall steps: Installation.
| Guide | Contents |
|---|---|
| Wiki home | User documentation and navigation |
| Installation | Binary, controller, activation, updates |
| Agent integrations | Native IDs, hooks, tools, Codex trust |
| Durable events | Controller architecture and failure behavior |
| CLI reference | Commands, MCP tools, search modes |
| Troubleshooting | Diagnostics and controller recovery |
| Storage | SQLite, migrations, sqlc |
| Roadmap | Planned product and maintenance work |
.mnemomnemo doctor --fix repairs itStar the repo if mnemo helps your agent workflow — it signals that local, agent-neutral memory is worth building.
Apache 2.0: use, modify and distribute freely; retain the copyright notice and include NOTICE in all distributions.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for mnemo — persistent local memory for AI coding agents via MCP from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mnemo)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.