Memento logo

Memento

Memento stores, searches, reinforces, and forgets agent memories through MCP tools and a local SQLite database.

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-2": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp-server@latest"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

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

npx -y memento-mcp-server@latest

ror Cannot read properties of null (reading 'edgesOut') npm error npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-09T16_00_05_858Z-debug-0.log npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2 npm notice To update run: npm install -g npm@12.2.2 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-09T15_59_43_559Z-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

Memento MCP server gives agents persistent memory across conversations using four memory types: working, episodic, semantic, and procedural. It stores memories in SQLite, combines FTS5 and vector search, and supports tags, feedback, anchors, relations, TTL-based forgetting, and procedural version changes. Use it when an agent needs to recall prior context, inject relevant instructions within a token budget, or maintain reusable workflows. Claude Code can also connect lifecycle hooks for memory capture and instruction injection.

Use cases

  • Persist user preferences and project decisions across conversations
  • Recall relevant facts with hybrid text and vector search
  • Inject selected instructions within a fixed token budget
  • Maintain and compare reusable procedural workflows
  • Track relationships between related memories

Key features

  • Four memory types: working, episodic, semantic, and procedural
  • Hybrid FTS5 and vector search with tag filters
  • Anchors, neighbors, feedback, pinning, and TTL-based forgetting
  • Procedural diff and rollback
  • Memory relations and triple extraction
  • SQLite storage with stdio and HTTP deployment options

Tools22

What Memento lets your agent do. Expand a tool for its parameters.

Self-reported~167 tokens of context

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.

19/19 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · memento-mcp-server@latest (npm)

Adoption & maintenance

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

npm downloads3.5kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed22Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Memento works

What Memento does

Memento provides an MCP-based memory layer for agents. Memories can be classified as working, episodic, semantic, or procedural, allowing short-lived context, experiences, factual knowledge, and repeatable workflows to be handled separately.

The server supports the full memory lifecycle: create entries, search them, record whether recall was helpful, pin important items, remove memories, and inspect neighboring or related memories. Anchors provide named slots for context that should be restored later. Procedural memories can be compared and rolled back between versions.

Memento also supports extracting triples from content or message collections and storing explicit relations between memories. Introspection, telemetry, and memory export tools are available for inspection and data handling.

How it works

Memory retrieval uses hybrid search based on FTS5 and vectors, with tag filtering available through recall. The memory_injection tool selects relevant context under a requested token budget, while search_local searches memories associated with an anchor slot.

Memories can be reinforced through feedback and managed with forgetting policies, including TTL-based cleanup. The server can keep related memories connected through graph-style relations. Procedural workflows use dedicated operations for version differences and rollback.

Memento runs locally with SQLite as its primary memory store. It can also run as an HTTP MCP service for multi-agent deployments, with browser sessions protecting administrative routes and bearer-token or API-key authentication for MCP and tool routes.

Setup and configuration

The package manager supported for the standard installation is npm. For an MCP client such as Cursor, run:

Terminal
npx memento-mcp-server@latest

A typical stdio configuration points the command at the package and sets DB_PATH to an absolute SQLite database path:

config.json
{
  "mcpServers": {
    "memento": {
      "command": "npx",
      "args": ["memento-mcp-server@latest"],
      "env": { "DB_PATH": "/absolute/path/to/data/memory.db" }
    }
  }
}

Global installation is also available with npm i -g memento-mcp-server, which installs the memento CLI. Claude Code can install Memento as a plugin and store its database under ${CLAUDE_PLUGIN_DATA}/memory.db. The MEMENTO_CAPTURE setting controls lifecycle capture for the Claude Code hook, and MEMENTO_TOOLSET=full exposes the complete tool set in tools/list.

Tools and capabilities

The default MCP tool list contains recall, remember, memory_injection, and feedback. The remaining registered tools can be exposed with MEMENTO_TOOLSET=full.

  • Store, query, rate, pin, unpin, and delete memories.
  • Traverse memory neighbors and manage anchor slots.
  • Save procedures, compare versions, and roll back workflows.
  • Extract triples and create, inspect, or remove memory relations.
  • Retrieve introspection and telemetry summaries.
  • Export memories using filters.

The remember operation accepts content, memory type, tags, importance, source, and privacy scope. recall accepts a query, filters, and result limit. memory_injection accepts a query and token budget for targeted context restoration.

Limitations and notes

The MCP interface exposes memory operations, while several administrative functions are HTTP-only, including anchor restoration, embedding migration, episodic-to-semantic conversion, and meta-memory statistics. The HTTP management interface separates browser-session access from header-authenticated MCP and tool routes.

The standard setup uses a local SQLite database. HTTP deployment, Docker, source builds, environment overlays, and multi-agent operation use separate installation and operational procedures. Memento is licensed under MIT.

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 AI agents to a persistent SQLite memory store. Its main tools let agents remember and recall information, inject relevant context within a token budget, provide feedback, manage anchors, and maintain procedural memories across conversations.

Install it with npm by running `npx memento-mcp-server@latest` in an MCP client configuration, or use `npm i -g memento-mcp-server` for a global installation. Set `DB_PATH` to an absolute path for the SQLite memory database.

Yes, Memento works with Cursor through its `.cursor/mcp.json` project configuration or the user-level `~/.cursor/mcp.json` file. Configure the server with the `npx memento-mcp-server@latest` command and optionally set `DB_PATH`.

Set `MEMENTO_TOOLSET=full` in the server environment. Without that setting, `tools/list` shows `recall`, `remember`, `memory_injection`, and `feedback`, while the other registered tools remain callable.

Yes, Memento can store procedural memories with `remember_procedure`, compare versions with `procedural_diff`, and restore an earlier version with `procedural_rollback`. These tools support reusable workflows and their version history.

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-2?style=directory)](https://allmcps.com/mcp/memento-2)
HTML Embed
<a href="https://allmcps.com/mcp/memento-2"><img src="https://allmcps.com/api/badge/memento-2?style=directory" alt="Memento on AllMCPs" /></a>