Mneme Memory logo

Mneme Memory

Local-first cross-session memory for AI coding agents, using SQLite, editable Markdown mirrors, and six MCP tools.

Install Mneme Memory

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

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for Mneme Memory, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

Mneme Memory MCP server gives AI coding agents cross-session memory backed by a local SQLite database and editable Markdown mirrors. Its six MCP tools let clients work with stored memories, while automatic distillation, retrieval, and idle consolidation maintain the memory store across conversations. Use it when an agent needs to retain project context, preferences, or decisions without sending memory to a hosted service. The server runs over stdio and can be attached to MCP clients including Claude Code, Cursor, and Codex.

Use cases

  • Retain project decisions between coding sessions
  • Recall developer preferences in later conversations
  • Review and edit agent memories as Markdown files
  • Keep separate memory stores for agents or workspaces
  • Run semantic memory retrieval without an external API key

Key features

  • Local SQLite storage with editable Markdown mirrors
  • Six MCP memory tools over stdio
  • Automatic memory distillation and contextual recall
  • Idle consolidation with duplicate merging and archiving
  • Conflict freezing and provenance tracking
  • Agent and workspace memory isolation

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.

22/22 checks healthy over the last 54d

Adoption & maintenance

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

GitHub stars266Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Mneme Memory works

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.

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 Mneme Memory

Mneme Memory is an MCP server that connects AI coding agents to a local SQLite memory store with editable Markdown mirrors. Its six memory tools support cross-session recall and updates, while automatic distillation, retrieval, and idle consolidation preserve useful project context, preferences, and decisions without requiring a hosted Mneme service.

Install the standalone `mneme-memory` stdio package through your MCP client, or install the DSH plugin with `dsh plugin --profile web add @modusensus/dsh-mneme` followed by `dsh web`. Node.js 24 or newer is required; Git and tarball installs must target the repository's `dsh-mneme/` subdirectory.

Yes, Mneme Memory works with Cursor through its stdio MCP server. The server is also named for use with Claude Code and Codex, and exposes six memory tools that clients can attach to their coding workflows.

Mneme Memory stores its primary database and Markdown mirrors in `~/.mneme/memory` by default. It can continue using legacy data under `~/.dsh/memory`, while model and runtime caches reside under `~/.mneme/models` and `~/.mneme/runtime`. `MNEME_MEMORY_DIR` can select a custom memory location.

Yes, the memory store is local and Mneme Memory does not use a Mneme-hosted service, telemetry, analytics, or remote logging. Semantic retrieval can run fully offline with a local embedding model; consolidation and summarization also require local configuration or can be disabled.

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