# mcp-memento [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/annibale-x/mcp-memento  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-memento

## Description
An MCP server that provides persistent memory and context management across sessions

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

```json
"mcpServers": {
  "mcp-memento": {
    "command": "uvx",
    "args": ["mcp-memento"],
    "env": {
      "MEMENTO_PROFILE": "",
      "MEMENTO_DB_PATH": ""
    }
  }
}
```

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

## Documentation

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

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

