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
MCP Apple Notes
RafalWilinskiTalk with your notes in Claude. RAG over your Apple Notes using Model Context Protocol.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Solomd
zhitongblogA markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
Semantic Scholar MCP Server
YUZongminA FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
Comments