Mnemo MCP logo

Mnemo MCP

by n24q02m

Local SQLite AI memory with FTS5 and vector search, lifecycle management, JSONL import/export, and optional encryption.

Install Mnemo MCP

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": {
    "n24q02m-mnemo-mcp": {
      "command": "uvx",
      "args": [
        "--python",
        "3.14",
        "n24q02m-mnemo"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx --python 3.14 n24q02m-mnemo

No response to initialize.

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

n24q02m/mnemo-mcp gives MCP clients a persistent memory store backed by local SQLite. It combines SQLite FTS5 text search with vector retrieval, embedding-based duplicate detection, ranking, and temporal or importance signals. Agents can add, search, list, update, archive, restore, delete, import, and export memories through granular tools. Reach for it when an agent needs local, durable preferences, facts, decisions, or project conventions without depending on a hosted memory service.

Use cases

  • Save user preferences across sessions
  • Search project conventions before answering
  • Update facts when they change
  • Export memory data for backup
  • Restore archived context

Key features

  • SQLite FTS5 and vector hybrid search
  • Local Qwen3 embeddings and reranking
  • Memory deduplication and lifecycle management
  • JSONL import and export
  • Soft archiving with restore support
  • Optional AES-256-GCM encryption

Tools15

What Mnemo MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.0k tokens of context

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.

16/16 checks healthy over the last 110d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · n24q02m-mnemo (PyPI)

Adoption & maintenance

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

GitHub stars14Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed15Callable tools this server registers over MCP.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How Mnemo MCP works

What n24q02m/mnemo-mcp does

n24q02m/mnemo-mcp provides persistent memory for MCP-compatible AI clients. It stores memories in a local SQLite database and exposes separate operations for writing, finding, reviewing, changing, archiving, and removing records. Typical records include user preferences, facts, skills, tasks, conversations, and decisions.

The server is designed for a search-before-write workflow: query existing memories first, then add only information that is new. Search results provide the identifiers needed to update or delete a record later. Archived records remain recoverable through dedicated listing and restore operations.

How it works

Retrieval combines SQLite FTS5 full-text search with vector search. Results are fused with Reciprocal Rank Fusion, then can be reranked and adjusted using temporal decay and importance. Local Qwen3 embedding and reranking support are provided through Fastretrieval's local registry, while optional model-provider cells can handle tasks such as chat compression or reranking.

The database uses SQLite WAL mode and is stored under ~/.n24q02m/mnemo/, or under $N24Q02M_HOME/mnemo/ when that home directory is configured. Older data under ~/.mnemo/ is migrated by copying it into the new data root when the resolved destination is missing. Cross-machine backup and migration use external rclone workflows rather than an embedded synchronization service.

Setup and configuration

Install the Python distribution with either:

  • pip install n24q02m-mnemo
  • uvx --python 3.14 n24q02m-mnemo

The n24q02m-mnemo console script runs the MCP server. Its mcp subcommand uses stdio by default; HTTP mode is available with --http. The mnemo console script provides a CLI-oriented memory interface and does not serve MCP requests.

Embedding-model files can be downloaded ahead of time with the configuration warmup action. Set MNEMO_ENCRYPTION_KEY to enable AES-256-GCM encryption for memory text, tags, source, and subject. Existing stores can be converted with the encrypt and decrypt CLI commands.

Tools and capabilities

The granular memory tools cover:

  • Adding new memories with content, categories, and tags.
  • Natural-language search and category-filtered listing.
  • Updating or deleting records by memory ID.
  • Exporting and importing JSONL data for backups or migration.
  • Viewing database statistics, including counts, categories, and embedding status.
  • Listing archived records and restoring them by ID.
  • Consolidating related memories within a category using an LLM.

The config tool reports configuration and database status, changes supported settings, warms the embedding model, and performs bounded embedding backfills. A deprecated composite memory dispatcher remains for backward compatibility, but the specialized tools are the intended interface.

Limitations and notes

The store is local-first: memory data resides in a SQLite file on the machine running the server. Optional cloud model calls use configured OpenAI-compatible provider cells, while local embedding support avoids requiring an API key for the default retrieval path. Consolidation and some compression or importance-scoring behavior require an LLM provider.

The server can soft-archive low-value or stale memories and run periodic archive sweeps after captures. Archived data is outside the active search pool until restored. The legacy composite tool is deprecated and may be removed in a future release, so new integrations should call the granular tools directly.

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

n24q02m/mnemo-mcp is an MCP server that connects AI clients to a local SQLite memory database. Its main tools add, search, list, update, delete, archive, restore, import, export, and consolidate memories, using FTS5 and vector retrieval to find persistent preferences, facts, decisions, and project context.

Install it with `pip install n24q02m-mnemo` or run it through `uvx --python 3.14 n24q02m-mnemo`. The `n24q02m-mnemo` command starts the MCP server, using stdio by default; add the `mcp` subcommand or select HTTP mode with `--http` as appropriate.

It stores memories in a local SQLite database under `~/.n24q02m/mnemo/` by default. Setting `N24Q02M_HOME` changes the base directory to `$N24Q02M_HOME/mnemo/`. Cross-machine backup and migration can use rclone outside the server.

Yes. Set `MNEMO_ENCRYPTION_KEY` to enable AES-256-GCM encryption for memory text, tags, source, and subject. The bundled `encrypt` and `decrypt` CLI commands convert an existing store.

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