Memento logo

Memento

Local SQLite memory for MCP-compatible AI assistants, with durable structured memories and local-first operation.

Install Memento

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "memento": {
      "command": "npx",
      "args": [
        "-y",
        "@psraghuveer/memento",
        "serve"
      ],
      "env": {
        "MEMENTO_DB": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env MEMENTO_DB=YOUR_VALUE_HERE --transport stdio memento -- npx -y @psraghuveer/memento serve

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y @psraghuveer/memento serve

t (node:events:519:28) npm error at TLSSocket.emit (node:domain:489:12) npm error at addChunk (node:internal/streams/readable:561:12) npm error npm error Node.js v22.23.4 npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3 npm notice To update run: npm install -g npm@12.2.3 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-12-01T23_42_21_998Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The memento MCP server gives MCP-compatible AI assistants a shared, durable memory store backed by a local SQLite database. It runs over stdio, supports structured memory read and write operations, and includes search and confirmation workflows. Use it when preferences, project conventions, and decisions should persist across assistants without relying on a vendor-hosted memory service.

Use cases

  • Remember user preferences across AI sessions
  • Search prior project decisions and conventions
  • Share durable memory across MCP clients
  • Install curated engineering memory packs

Key features

  • Local SQLite-backed memory
  • MCP stdio transport
  • Structured memory read and write
  • Memory search and confirmation
  • YAML memory pack management
  • No outbound network calls by default

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/29 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @psraghuveer/memento (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars25Stargazers on the source repository.
npm downloads482Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Memento works

What memento does

The memento MCP server provides a local memory layer for AI assistants. It stores durable, structured information about a person, their work, and decisions in SQLite, allowing separate MCP-capable clients to use the same memory store. The design is LLM-agnostic, so the database is not tied to one model provider or assistant vendor.

Memento fits the Knowledge & Memory category for workflows where an assistant should recall information between sessions. Examples include remembering a preferred package manager, preserving project conventions, or retrieving a decision made in an earlier conversation. A new installation starts empty unless you add memories directly or install a bundled pack.

How it works

The server communicates with clients through the Model Context Protocol over standard input and output. By default, it uses a database in the XDG data directory, typically ~/.local/share/memento/memento.db on POSIX systems. You can select another database file with the MEMENTO_DB environment variable or the --db option.

MCP-capable assistants can read and write durable memories. The documented interaction includes searching stored memories and confirming relevant results. Memento does not make outbound network calls by default, which keeps the default data path on the local machine.

Memory packs provide a separate way to populate a store. Four bundled packs are documented: engineering-simplicity, pragmatic-programmer, twelve-factor-app, and google-sre. Packs can be previewed, installed, listed, removed, or created from existing memories.

Setup and configuration

The memento MCP server requires Node.js 22.11 or newer. A C/C++ toolchain may also be needed to build better-sqlite3 when a platform-specific prebuilt package is unavailable.

Run npx @psraghuveer/memento init to create the database, apply migrations, and generate client configuration snippets. The interactive setup can also configure a preferred name, install a bundled skill, add a starter pack, and place a persona snippet in supported file-based client instruction files. Use --no-prompt for scripted or CI environments.

Run npx @psraghuveer/memento serve to start the stdio server directly. The repository also documents doctor, status, context, and ping commands for diagnostics, store inspection, configuration details, and transport checks. After adding the generated MCP configuration to a client, restart that client and use verify-setup for a write, search, and cleanup round trip.

Tools and capabilities

The memento MCP server supports:

  • Reading and writing durable structured memories through MCP.
  • Searching stored memories for relevant context.
  • Confirming memory results before they are used.
  • Sharing one local store across MCP-compatible assistants.
  • Installing curated YAML memory packs and managing their provenance with pack tags.
  • Operating without outbound network calls by default.

Limitations and notes

Memento is local-first, so the database is tied to the machine and path where it is configured. A new store has no memories until you add them or install a pack. Clients differ in how they expose MCP instructions and skills; the README identifies the persona snippet as the reliable way to place guidance in an assistant's system prompt. UI-only clients may require manual copying of that snippet.

The server uses stdio rather than a hosted network endpoint. Node.js 22.11 or newer is required, and native SQLite dependencies may require local build tools.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Memento

memento is an MCP server that connects MCP-compatible AI assistants to a local SQLite memory store. Its main tools support durable memory reading and writing, searching stored memories, and confirming results. It is LLM-agnostic and lets multiple assistants use the same locally managed memory without outbound network calls by default.

Run `npx @psraghuveer/memento init` with Node.js 22.11 or newer. The command creates the SQLite database, runs migrations, and prints MCP configuration snippets for supported clients. Add the relevant snippet to your client, restart it, and use `verify-setup` to test the connection.

Memento stores the database in the XDG data directory by default, typically `~/.local/share/memento/memento.db` on POSIX systems. Set `MEMENTO_DB` or pass `--db` to use another path.

Yes, memento documents Cursor as a supported MCP client. Run `init`, copy the generated Cursor configuration, and restart Cursor. Cursor User Rules may require manually pasting the persona snippet into the appropriate settings field.

Install a bundled pack with `memento pack install <id>`. The documented packs include `engineering-simplicity`, `pragmatic-programmer`, `twelve-factor-app`, and `google-sre`; you can preview a pack first and list or uninstall packs later.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMemento AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/memento?style=directory)](https://allmcps.com/mcp/memento)
HTML Embed
<a href="https://allmcps.com/mcp/memento"><img src="https://allmcps.com/api/badge/memento?style=directory" alt="Memento on AllMCPs" /></a>