MCP.so
Sign In
Servers

Mnemon — Persistent Layered Memory for AI Agents

@nikitacometa

Persistent 4-layer memory (episodic, semantic, procedural, resource) backed by SQLite FTS5. Fact versioning, Snowball stemming (EN+RU), BM25 ranking. Zero-cloud, single-file database. 7 MCP tools.

Overview

What is Mnemon — Persistent Layered Memory for AI Agents?

Mnemon — Persistent Layered Memory for AI Agents gives any MCP-compatible client (Claude Code, Cursor, Windsurf, or your own) a structured long-term memory backed by a single SQLite database on your machine. It uses a layered memory model (episodic, semantic, procedural, resource) with different lifetimes and access patterns, all without API keys, cloud services, or telemetry.

How to use Mnemon — Persistent Layered Memory for AI Agents?

Install globally via npm: npm install -g mnemon-mcp. Then configure the server in your MCP client’s configuration file. The server exposes seven MCP tools for storing, searching, updating, deleting, inspecting, exporting, and maintaining memory entries.

Key features of Mnemon — Persistent Layered Memory for AI Agents

  • Four memory layers with configurable lifetimes (decay, stable, rarely changes)
  • Seven MCP tools: add, search, update, delete, inspect, export, health
  • Full-text search (FTS5) with BM25 ranking and Snowball stemming
  • Optional vector search via OpenAI or Ollama embeddings with hybrid ranking
  • Fact versioning: version chains with superseding, full history via memory_inspect
  • Fully local: single SQLite database, no external services or API keys

Use cases of Mnemon — Persistent Layered Memory for AI Agents

  • Give AI agents persistent long-term memory across sessions
  • Store and retrieve user preferences, facts, and relationships
  • Maintain workflow rules, conventions, and procedural knowledge
  • Keep reference material and book notes with automatic decay
  • Log events and sessions for episodic recall

FAQ from Mnemon — Persistent Layered Memory for AI Agents

What memory layers does Mnemon provide?

Episodic (events, sessions; decays with 30-day half-life), Semantic (facts, preferences; stable), Procedural (rules, workflows; rarely changes), and Resource (reference material; decays slowly over 90 days).

Does Mnemon require any cloud services or API keys?

No. It runs entirely locally with a single SQLite database. No external services, no API keys, no telemetry.

How does search work in Mnemon?

Search uses FTS5 with BM25 ranking, multi-word AND with progressive OR fallback, and Snowball stemmer for English and Russian. Optional vector search via OpenAI or Ollama embeddings uses hybrid ranking with Reciprocal Rank Fusion.

What are the system requirements for Mnemon?

Node.js ≥22. No other external dependencies.

How does Mnemon handle fact updates?

Updates can be performed in-place or as versioned replacements (superseding chain). Search always returns the latest version, while memory_inspect reveals the full version history. Deleting a memory reactivates its predecessor if any.

Tags

More from Memory & Knowledge