# memento [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/veerps57/memento.git  
**GitHub Stars:** 25  
**npm Downloads (last month):** 482  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memento

## Description
Local-first, LLM-agnostic memory layer for AI assistants.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "memento": {
    "command": "npx",
    "args": ["-y","@psraghuveer/memento","serve"],
    "env": {
      "MEMENTO_DB": ""
    }
  }
}
```

**Requires environment variables:** `MEMENTO_DB` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/memento/readme_

