# Mneme Memory [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/slow-stack/mneme  
**GitHub Stars:** 266  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mneme-memory

## Description
Cross-session memory for AI coding agents via six tools; local-first SQLite store.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What Mneme Memory does

Mneme Memory provides persistent memory for AI coding workflows. Information worth keeping from a conversation can be distilled into a local store so later sessions can recover relevant project context, user preferences, and prior decisions. Memory is separate from the active chat, so closing or clearing a conversation does not remove information that has already been retained.

The storage model is deliberately inspectable: SQLite holds the primary database, alongside ten Markdown mirror files that can be opened, edited, and exported. Manual edits are preserved when the mirrors are merged back into the database. Memory entries retain provenance, including where they came from and when they were changed. Automated consolidation also records processing details such as input snapshots, decisions, and result hashes.

## How it works

At the end of a conversation, Mneme extracts and distills information that may be useful later. When a new request arrives, relevant memories can be injected into the session. Retrieval considers multiple signals, including recency, importance, and usage, rather than simply appending the newest records.

During idle periods, `autoDream` consolidates the collection. It can combine duplicates, compress stale information into summaries, and archive older material. Conflicting memories are frozen for review instead of being silently resolved. The system supports separation by agent or workspace, allowing different contexts to maintain distinct memory scopes.

Semantic retrieval can use a local embedding model. With a local model configured, retrieval operates without an external API key. Consolidation and summarization use the host model by default, and can also be configured for fully local operation or disabled.

## Setup and configuration

The package requires Node.js 24 or newer because its database layer uses `node:sqlite`. The associated DeepSeek Harness integration supports DSH 0.1.x and 0.2.x. For the DSH plugin installation, the documented commands are:

```bash
dsh plugin --profile web add @modusensus/dsh-mneme
dsh web
```

The repository is a monorepo: the installable package is inside `dsh-mneme/`, not at the repository root. Git or tarball installation references must target that subdirectory.

The standalone MCP distribution is named `mneme-memory` and provides a zero-dependency stdio server. The default memory location is `~/.mneme/memory`, containing the SQLite database and Markdown mirrors. Legacy data under `~/.dsh/memory` remains eligible for use. Local embedding models and runtime files are stored under `~/.mneme/models` and `~/.mneme/runtime`, while CLI and MCP connection settings are kept under `~/.dsh-mneme`. A custom memory directory can be selected with `MNEME_MEMORY_DIR`.

## Tools and capabilities

- Six MCP tools for interacting with persistent memory.
- Automatic extraction of useful facts, preferences, and decisions.
- Contextual recall based on relevance, recency, importance, and usage.
- Idle consolidation through duplicate merging, compression, and archiving.
- Conflict freezing for review rather than automatic overwriting.
- A local SQLite store with ten editable Markdown mirrors.
- Agent and workspace-level memory isolation.
- Provenance and audit information for memory changes and consolidation.
- A settings panel for browsing, filtering, searching, editing, and deleting records.
- An HTTP interface and standalone daemon for other programs that need shared access.

## Limitations and notes

Mneme Memory is local-first and does not use a Mneme-hosted service, telemetry, analytics, or remote logging. Removing the plugin does not remove the memory database; data directories must be deleted separately if a full cleanup is required. Both current and legacy directories may exist, and custom locations also need to be removed manually.

The server is designed for local memory rather than a hosted, multi-user memory service. Consolidation and summarization may use the configured host model unless those features are disabled or configured with local models. When both current and legacy databases exist, the directory-selection behavior determines which store is used, so old data should be reviewed before cleanup.

Mneme Memory is released under the MIT license.

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

