MCP Memento logo

MCP Memento

Persistent SQLite memory for MCP clients, with search, confidence tracking, relationships, and configurable tool profiles.

Install MCP Memento

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-memento": {
      "command": "uvx",
      "args": [
        "mcp-memento"
      ],
      "env": {
        "MEMENTO_PROFILE": "YOUR_VALUE_HERE",
        "MEMENTO_DB_PATH": "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_PROFILE=YOUR_VALUE_HERE --env MEMENTO_DB_PATH=YOUR_VALUE_HERE --transport stdio mcp-memento -- uvx mcp-memento

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

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx mcp-memento

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

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 mcp-memento MCP server gives MCP clients persistent memory backed by a local SQLite database. It exposes tools for storing and recalling knowledge, with confidence decay, importance-based ranking, tagging, and relationships between memories. Choose it when an agent needs shared context across sessions, projects, or supported development environments. Configuration is available through CLI arguments, environment variables, or a YAML file.

Use cases

  • Store solutions for recurring bugs and configuration problems
  • Recall architecture decisions across development sessions
  • Share a local knowledge base across MCP-enabled editors
  • Track relationships between concepts and solution patterns

Key features

  • Persistent SQLite-backed memory
  • Full-text and fuzzy memory search
  • Confidence decay and validation boosts
  • Protected critical memories
  • Relationship mapping and graph navigation
  • Core, Extended, and Advanced tool profiles

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.

25/26 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · mcp-memento (PyPI)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Memento works

What mcp-memento MCP server does

The mcp-memento MCP server gives AI assistants a persistent knowledge store that remains available across conversations and development tools. Agents can save solutions, decisions, facts, and session summaries, then retrieve them later through MCP tool calls. The storage is local SQLite, so the same database can be shared by multiple configured clients.

Memento is designed for explicit agent use rather than autonomous observation. An assistant must be instructed to save or retrieve information, either during a conversation or through agent rules such as system prompts, .cursorrules, or CLAUDE.md files. This makes it suitable for teams or individuals who want control over what enters the knowledge base.

How it works

The mcp-memento MCP server stores memories with fields such as type, title, content, tags, and importance. A typical workflow is to save a solved problem, then search for it later with a natural-language query. The repository documents tools including store_memento for writing knowledge and recall_mementos for finding it.

Search results are ordered using confidence and importance. Confidence can increase when stored knowledge is successfully validated, while unused knowledge normally loses 5% confidence per month. Security, authentication, and API-key memories are protected from this decay. The server also maintains relationships between concepts, using 35 documented relationship types across seven semantic categories. Graph navigation and pattern analysis are available in the broader profiles.

Three profiles expose different tool sets: Core provides 13 tools for essential operations, Extended provides 17 tools with features such as statistics, contextual search, and decay control, and Advanced provides 25 tools for administration and graph analysis.

Setup and configuration

Install the package with pipx install mcp-memento or pip install mcp-memento. Configure the MCP server with the memento command. Settings can be supplied as command-line arguments, environment variables, or ~/.mcp-memento/config.yaml; the documentation recommends choosing one configuration method consistently.

The main settings shown in the README are the profile and database path. A command-line setup can select the Extended profile and point to ~/.mcp-memento/context.db. The equivalent environment variables are MEMENTO_PROFILE and MEMENTO_DB_PATH. The server can also be connected to Gemini CLI, with the exact command-line syntax depending on the installed Gemini CLI version.

Tools and capabilities

The mcp-memento MCP server supports:

  • Storing and recalling typed memories with titles, content, tags, and importance.
  • Full-text, fuzzy matching across stored memories.
  • Confidence tracking, validation boosts, decay, and protected critical memories.
  • Relationships between memories and graph-based navigation.
  • Automatic maintenance of confidence data and relationship integrity.
  • Core, Extended, and Advanced tool profiles.
  • Shared SQLite storage for supported IDEs, CLI agents, MCP clients, Docker deployments, and export/import workflows.

Supported integrations documented by the project include Zed, Cursor, Windsurf, VS Code, Claude Desktop, Gemini CLI, Claude CLI, Python MCP clients, Docker, and command-line workflows.

Limitations and notes

Memento does not independently watch an editor or decide what to remember. The connected AI assistant must invoke its tools, unless custom agent instructions establish rules for saving and recalling information. The example calls in the README describe MCP interactions, not functions to import directly from a Python package.

The project is marked beta in its repository badges, and the README requires Python 3.10 or newer. Storage is local SQLite rather than a described hosted service, so deployment and database-path choices determine how clients share data.

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 MCP Memento

mcp-memento is an MCP server that connects AI assistants and development tools to a shared local SQLite memory store. Its main tools let agents save knowledge with store_memento and retrieve it with recall_mementos, while confidence tracking, search, tagging, and relationships organize information across sessions.

Install it with pipx install mcp-memento or pip install mcp-memento. Then configure the memento command in your MCP client using CLI arguments, MEMENTO_PROFILE and MEMENTO_DB_PATH, or a YAML file at ~/.mcp-memento/config.yaml.

Yes, mcp-memento documents Cursor as a supported integration. Add the memento command to Cursor's MCP configuration, choose a profile and database path if needed, and let the assistant invoke the memory tools.

No, mcp-memento does not autonomously monitor the screen or save information by itself. The connected AI assistant must be instructed to use its tools, unless system prompts or files such as .cursorrules and CLAUDE.md define automatic memory rules.

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 PreviewMCP Memento AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-memento?style=directory)](https://allmcps.com/mcp/mcp-memento)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-memento"><img src="https://allmcps.com/api/badge/mcp-memento?style=directory" alt="MCP Memento on AllMCPs" /></a>