Mnemo MCP logo

Mnemo MCP

Local-first persistent AI memory with hybrid retrieval, SQLite storage, and embedding maintenance controls.

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

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

mnemo-mcp provides persistent AI memory backed by a local SQLite database and hybrid retrieval. Its MCP config tool reports server status, updates runtime settings, downloads the embedding model, and backfills missing vectors. Retrieval combines full-text and vector search with ranking, reranking, temporal decay, and importance signals. Use it when an AI client needs durable, local-first memory rather than transient conversation context.

Use cases

  • Store durable facts, preferences, and decisions across AI sessions
  • Search memories with combined keyword and semantic retrieval
  • Maintain time-aware entities and relationships
  • Repair missing embedding vectors in a local memory database

Key features

  • SQLite-backed local memory storage
  • FTS5 and vector hybrid search
  • Typed memory capture and semantic deduplication
  • Temporal knowledge graph support
  • Local embedding and reranking models
  • Embedding download and backfill controls

Tools1

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

Self-reported~28 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.

12/12 checks healthy over the last 49d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · mnemo-mcp (PyPI)

Adoption & maintenance

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

GitHub stars14Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.

How Mnemo MCP works

What mnemo-mcp does

mnemo-mcp is a local-first memory system for AI applications. It stores memory in a SQLite database under ~/.mnemo/ and supports hybrid retrieval using SQLite FTS5 and vector search through sqlite-vec. Results can be combined with Reciprocal Rank Fusion, reranked, and adjusted using temporal decay and importance signals.

The memory model supports typed entries for conversations, facts, preferences, skills, tasks, and decisions. The wider memory system also includes semantic duplicate detection, importance scoring, archive and restore behavior, and optional consolidation of related short-term memories into longer-term summaries.

Its knowledge-graph features track entities and relationships, with bitemporal fields for representing changes over time. Graph proximity can influence retrieval, and historical queries can use time-aware actions such as entity search, graph inspection, and history lookup.

How it works

The server runs locally through the mnemo command; the older mnemo-mcp command remains available. A local SQLite file is used as the primary store, with write-ahead logging enabled. Fastretrieval supplies a local model registry for Qwen3 ONNX embeddings and reranking, so the basic local setup does not require API keys.

Optional model-backed operations use per-task provider settings, including chat, reranking, and related tasks. OpenRouter is preconfigured as a provider option, while the provider interface follows the OpenAI API style. Compression can reduce the amount of memory passed between turns and skips gracefully when its provider is not configured.

The MCP-facing config tool exposes operational controls rather than a broad list of separate memory operations. It can inspect status, change runtime settings, prepare the embedding model before use, and repair records that lack embedding vectors.

Setup and configuration

Install the PyPI package with either command:

Terminal
pip install n24q02m-mnemo

or:

bash
uvx n24q02m-mnemo

Run the server with mnemo, or use the legacy mnemo-mcp command. The default storage location is ~/.mnemo/. Local embeddings and reranking are available through Fastretrieval's built-in registry without API keys. Cloud-backed tasks can be configured through the relevant model provider cells.

Backups and migration between machines use rclone outside the server rather than an embedded synchronization system.

Tools and capabilities

  • config: inspect server status and update runtime settings
  • Pre-download the configured embedding model
  • Backfill missing embedding vectors
  • Store typed memories with semantic duplicate detection
  • Search using full-text and vector retrieval with fused ranking
  • Apply temporal and importance-aware retrieval behavior
  • Maintain entity relationships and time-aware memory history
  • Archive less important, older memories and restore them when needed

Limitations and notes

The default design is local and SQLite-based, so cross-machine backup or migration requires an external rclone workflow. Cloud model calls are optional rather than required for the local embedding setup. Knowledge-graph automatic extraction is opt-in through KG_AUTO_ENABLED. Clients that need historical-inclusive results must use time-aware querying rather than assuming default results include superseded records.

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

mnemo-mcp is an MCP server that connects AI clients to a local SQLite-backed persistent memory store. Its exposed config tool reports server status, changes runtime settings, pre-downloads the embedding model, and backfills missing embedding vectors. It is intended for local-first memory workflows with hybrid retrieval.

Install it with `pip install n24q02m-mnemo` or run it through `uvx n24q02m-mnemo`. Start the server with `mnemo`; the legacy `mnemo-mcp` command is also available.

mnemo-mcp stores memory in a local SQLite database under `~/.mnemo/`. The database uses write-ahead logging, and cross-machine backup or migration is handled externally with `rclone`.

Yes, Cursor can use mnemo-mcp as a standard MCP server. The server can run locally through its command-line entry point, and its local-first storage does not require a hosted database.

No, the local embedding setup does not require an API key. Fastretrieval's built-in registry provides Qwen3 ONNX embedding and reranking models; optional cloud-backed tasks use configurable provider settings.

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