EMM
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EMMsearch memory for our prior decisions on the API design"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EMM — Extended Memory Management
Persistent memory for AI agents — local, lightweight, model-independent, and MCP-native.
EMM is a standalone memory layer that gives AI agents persistent long-term memory without tying your data to a specific model, provider, or application.
Your memory belongs to you, not to the model using it.
Any MCP-compatible AI client can access the same memory store, allowing models and applications to be replaced without losing accumulated knowledge.
The idea
Large language models have context windows, not durable memory. Keeping an ever-growing history inside the context is inefficient, expensive, and eventually impractical.
EMM takes a different approach:
Store everything. Keep the active context small. Retrieve only what matters.
The complete memory store lives locally in SQLite. Agents receive only a compact memory map and retrieve relevant information on demand through MCP. This keeps context overhead small even as the memory database grows.
Related MCP server: elephantasm-mcp
Core principles
Model-independent — memory survives changes of model, provider, or AI application.
MCP-native — designed to work with any MCP-capable agent.
Local-first — your memory remains under your control.
Persistent — knowledge survives sessions and conversations.
Context-efficient — only relevant memory enters the model context.
Lightweight — designed as a small standalone service with minimal dependencies.
Portable — one database can move between machines and clients.
Scoped — memories can belong to individual projects or remain globally available.
Lifecycle-aware — memories can evolve, supersede older information, decay in relevance, and be archived.
Deterministic core — EMM manages storage and retrieval while reasoning remains the responsibility of the agent.
Memory architecture
EMM organizes memory conceptually into three layers:
Hot → Warm → Cold
Hot memory contains the small amount of information an agent should always have available, such as the memory protocol, directives, project map, and current checkpoint.
Warm memory contains searchable summaries, triggers, metadata, and references.
Cold memory contains the full stored information and is retrieved only when needed.
The result is a memory system whose storage can continue growing without requiring the model's active context to grow with it.
An AI model should be replaceable. Your memory shouldn't be. One memory. Any model.
Features
🔌 Any MCP client — Claude Code, Claude Desktop, OpenCode, LM Studio, Antigravity
🧠 One shared database, portable between machines, plain SQLite you can inspect or back up yourself
🧹 Self-managing — decay and opt-in archival keep old, unused entries from cluttering search, with thresholds you control (see below)
🗂️ Project scoping — keep facts from bleeding between unrelated projects, or share them everywhere
🌐 Web dashboard, login-protected — browse, search, and edit memory from a browser (
--transport http); the AI-facing MCP endpoint stays open for client compatibility, only the human dashboard requires signing in⚙️ Configurable from the dashboard — decay half-life, archive threshold, and the login itself are editable in Settings, not fixed constants
📦 Standalone binaries — run it with no Node.js installed at all
Install
git clone https://github.com/tkraljevic/EMM.git
cd EMM
npm install && npm run build
node scripts/install.mjs # auto-detects your AI clients and registers EMMOr, for a guided one-shot setup: double-click setup.bat (Windows) or run
./EMM-Macs/setup.command (macOS). Prefer a prebuilt binary or manual
per-client config? See docs/BINARIES.md and
docs/CLIENTS.md.
Restart your AI client, then say "call memory_index" — you should see
the == EMM MEMORY PROTOCOL v1 == block.
Usage
Add a short rule to your system prompt / CLAUDE.md so agents use it
without being asked:
At session start call
memory_index(passscope: <project/repo name>for project-specific work). Before saying you don't know about prior work, decisions, or preferences, callmemory_search. On long sessions, callmemory_checkpointevery ~15-20 turns. At session end, store onedigestsentry summarizing what happened.
Learn more
Doc | Covers |
Manual MCP config for each client | |
Project scoping, memory decay & archival, moving memory between computers, HTTP transport & dashboard login/settings | |
Standalone binaries — building and cross-building them | |
Running tests, dev commands | |
Design decisions, rejected alternatives, roadmap |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP memory server. One memory your agents share — across models, devices and apps.
Persistent memory for AI agents to retain, retrieve, and recall conversation context through MCP.
Persistent personal memory for AI assistants — save, search, and recall across every MCP client.
- EngramOAuthapp.getengram
Persistent, verbatim, searchable memory for AI assistants — one memory across every MCP client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP-native, local-first memory server that gives AI agents persistent, structured memory across sessions and tools, enabling them to maintain identity and context without reconfiguration.3MIT
- AlicenseAqualityCmaintenanceMCP server for long-term agent memory, providing persistent memory, searchable knowledge, and evolving identity for AI agents.53Apache 2.0
- FlicenseNot gradedqualityBmaintenanceA persistent memory server for AI agents using MCP protocol, enabling semantic storage and retrieval of dialogues, documents, and agent states.-
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with persistent memory, cross-agent sharing, and context management, enabling them to remember conversations, track complex tasks, and evolve skills across tools.2MIT