
Memento
Run a local-first SQLite memory layer so any LLM-backed agent in Claude Code or Cursor recalls context without vendor lock-in.
Overview
Memento is a MCP server for the Build phase that provides a local-first, LLM-agnostic SQLite memory layer for coding agents.
What is this MCP server?
- Local-first SQLite via optional MEMENTO_DB path
- LLM-agnostic memory layer for any MCP client
- Start with npx @psraghuveer/memento serve (v0.9.2)
- Default DB under XDG-style ~/.local/share/memento/memento.db
- Stdio MCP—data stays on your machine unless you relocate the DB
- Package version 0.9.2
- Required positional subcommand: serve
- Single optional env var MEMENTO_DB for database path
What problem does it solve?
Agents lose thread across days and model switches because context windows reset and cloud chat history does not fit a solo builder’s repo-centric workflow.
Who is it for?
Solo builders who want private, portable agent memory on their machine with minimal SaaS dependencies.
Skip if: Teams that require multi-user synced cloud memory out of the box or zero local disk footprint.
What do I get? / Deliverables
After npx memento serve and MCP registration, agents read and write durable local memory that survives restarts and model changes.
- Running stdio Memento MCP server
- On-disk SQLite memory store for agent recall
- Cross-session continuity independent of chosen LLM
Recommended MCP Servers
Journey fit
Listed under Build agent-tooling because installation happens when wiring the stack, but memory is useful across Idea through Operate whenever the agent works. Agent-tooling fits npx serve stdio MCP and MEMENTO_DB configuration—not backend business APIs or ship test runners.
How it compares
Local SQLite memory MCP, not a hosted personality platform or enterprise vector DB appliance.
Common Questions / FAQ
Who is com.runmemento/memento for?
Solo developers and agent users who want local, LLM-agnostic persistent memory through MCP.
When should I use com.runmemento/memento?
Use it whenever you run long-horizon agent work and need memories to persist across sessions from Idea through Operate.
How do I add com.runmemento/memento to my agent?
Run npx @psraghuveer/memento serve with stdio MCP config, optionally set MEMENTO_DB, and register the server in Claude Code or Cursor.