Mnemon — Persistent Layered Memory for AI Agents
@nikitacometa
About Mnemon — Persistent Layered Memory for AI Agents
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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mnemon-mcp": {
"command": "mnemon-mcp"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
More Memory & Knowledge MCP servers
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
Notion MCP Server
suekouA Model Context Protocol server for connecting Notion to MCP-compatible clients
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Rust Docs MCP Server
Govcraft🦀 Prevents outdated Rust code suggestions from AI assistants. This MCP server fetches current crate docs, uses embeddings/LLMs, and provides accurate context via a tool call.
Zettelkasten MCP Server
entanglrA Model Context Protocol (MCP) server that implements the Zettelkasten knowledge management methodology, allowing you to create, link, explore and synthesize atomic notes through Claude and other MCP-compatible clients.
Comments