Local-first by default
SQLite + FTS5 search. No vector database required. No mandatory cloud account. Your project history doesn't quietly leak to a SaaS.
A local-first MCP server that gives Claude Code, Codex, Cursor and any stdio-MCP client durable project memory — decisions, patterns, pitfalls, architecture notes, and team-shared knowledge.
$ npm install -g @lfrmonteiro99/memento-memory-mcp
$ memento-mcp install
$ memento-mcp import claude-md
$ memento-mcp ui # open the local inspector
The decision you defended in three meetings? Gone next session.
Every chat starts with the same paragraph of project lore.
Hand-pasted memory burns context windows you'd rather spend on code.
Six memory types, ranked and retrieved by intent. Your agent stops guessing and starts remembering.
SQLite + FTS5 search. No vector database required. No mandatory cloud account. Your project history doesn't quietly leak to a SaaS.
Team-scoped memories serialize to .memento/memories/. Review, diff, commit, share — like normal project files.
Adaptive ranking with utility feedback. The right context lands in the prompt — not all of it, the right of it.
FTS5 and vector results merged through one ranker. Bring your own key when you want semantic search. Skip it when you don't.
<private>…</private> regions are excluded from search, embeddings, sync and LLM calls. Secret scrubbing at write time.
.memento/policy.toml controls required tags, banned patterns, retention, and vault promotion — checked into the repo.
Capture the end-of-session signal deterministically, or with optional LLM-assisted summaries via Anthropic or OpenAI.
memento-mcp ui opens a browser inspector for memories, sessions, projects, sync drift, analytics and health.
Decisions, pitfalls and patterns surface during a session.
Memories are written to local SQLite with type, scope and tags.
FTS5 + optional embeddings, scored by type, recency and utility.
The right slice lands in your agent's prompt at the right time.
{
"type": "decision",
"title": "Use repository classes for complex SQL",
"body": "Keeps business logic out of controllers; easier perf tuning.",
"scope": "project",
"tags": ["architecture", "backend"],
"created_at": "2026-04-25T12:04:11Z"
} npm install -g @lfrmonteiro99/memento-memory-mcp memento-mcp install Configures Claude Code, Codex, Cursor, or any other stdio-MCP client.
memento-mcp import claude-md --dry-run
memento-mcp import claude-md --no-confirm memento-mcp ui # local browser inspector
memento-mcp sync init # share team memory via git
memento-mcp sync pull " Stop pasting the same project explanation into every new chat like a medieval scribe with npm installed. "— the README, unrepentantly