# Memento [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/scrypster/memento  
**GitHub Stars:** 9  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memento-3

## Description
Persistent memory for AI tools. Local-first knowledge graph with hybrid search.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/scrypster/memento), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/scrypster/memento.git
```

2. Run:

```sh
cd memento
```

3. Start the server:

```sh
./launch.sh
```

4. Start the server:

```sh
docker compose --profile postgres up -d
```

5. Install:

```sh
go build -o memento-mcp ./cmd/memento-mcp/
```

## Documentation

## What the Memento MCP server does

The Memento MCP server adds persistent memory to MCP-compatible AI tools. It stores decisions, preferences, project context, and other durable information so an assistant can retrieve it in later sessions. Memories are represented in a knowledge graph with entities, relationships, timestamps, and confidence scores.

It can also support shared team knowledge when multiple users connect to the same PostgreSQL database. Memories can be attributed to a user through the `MEMENTO_USER` setting.

## How it works

A memory is stored quickly, while enrichment runs in the background. Local Ollama models perform tasks such as entity extraction, relationship mapping, and embedding generation. This keeps the initial store operation from waiting for enrichment to finish; newly stored memories are searchable immediately.

Search combines full-text matching with semantic vectors and reciprocal-rank fusion. Related context can also be discovered by traversing entity relationships across multiple hops. Retrieval supports natural-language queries, memory IDs, pagination, and filters. The system can explain why particular memories were returned and can assemble recent session context grouped by topic.

The Memento MCP server also models memory changes over time. Memories can move through states such as planning, active, paused, blocked, completed, and archived. A newer version can supersede an older one while preserving the history. Soft-deleted memories remain recoverable during their grace period, and contradiction detection can identify conflicting or outdated information.

## Setup and configuration

The documented quick start uses Docker, or a local installation with Go 1.23 or newer, Node.js 18 or newer, and Ollama. Clone the repository and run `./launch.sh`; the script performs checks, builds the components, and prints a connection command for the AI client. The initial setup downloads Ollama models of approximately 5 GB.

The local web interface is available at `http://localhost:6363/integrations`. It generates client-specific configurations, provides connection testing and troubleshooting, and can create settings for project-scoped workspaces. Generic MCP configurations use the executable path and `MEMENTO_DATA_PATH`. Set `MEMENTO_USER` when memory attribution should use an explicit identity rather than the detected Git configuration.

For team use, each teammate points Memento at the same PostgreSQL database. Separate personal and shared connections can be used when private context should not enter the shared store.

## Tools and capabilities

The Memento MCP server exposes 20 tools across several areas:

- Core memory operations: `store_memory`, `recall_memory`, `find_related`, `update_memory`, and `forget_memory`.
- Search and analysis: `traverse_memory_graph`, `detect_contradictions`, `explain_reasoning`, and `get_session_context`.
- Lifecycle and history: `update_memory_state`, `evolve_memory`, `consolidate_memories`, and `get_evolution_chain`.
- Recovery: `restore_memory`, `list_deleted_memories`, and `retry_enrichment`.
- Projects: `create_project`, `add_project_item`, `get_project_tree`, and `list_projects`.

Claude Code users can add instructions that make the client proactively store decisions and recall relevant context. The integrations page can generate those instructions with local paths and connection settings.

## Limitations and notes

The project is identified as version 0.1.0-alpha, so it should be evaluated with that maturity level in mind. Local Ollama models are required for the documented enrichment workflow, and the first setup downloads several gigabytes of model data. Team sharing requires a common PostgreSQL database; local personal storage and shared storage are separate configuration choices.

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

