Mnemo
Click on "Install 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., "@MnemoRemember that I prefer dark mode in all apps."
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.
Mnemo
A portable, user-level memory layer for AI agents — shared across agents, exposed over MCP, with no embeddings required by default.
Named after Mnemosyne, the goddess of memory. Mnemo is a single-file, portable memory layer that any MCP-capable host can mount. Migrating it is as simple as copying one database file.
Features
User-level, cross-agent memory — different agents remember the same you.
MCP stdio server — mountable by any Model Context Protocol host.
No embeddings by default — a deterministic, auditable, portable blend of SQLite + FTS5 (BM25 full-text) + a lightweight relations table.
Optional vectors —
sqlite-vec+ a localbge-smallmodel available as an opt-in (disabled by default) enhancement.Web admin UI — a zero-build local React app to browse, search, edit, delete, inspect audit chains and relation graphs, and run consolidation.
Chinese full-text search — write-time segmentation via the built-in
Intl.Segmenter(zero dependencies) makes even two-character terms recallable.
Related MCP server: memento
Design principles
Hybrid architecture (full-text + relations, vectors optional).
Facts carry a validity period rather than being destructively overwritten.
Agent-generated facts are first-class and stored.
Background consolidation (dedup / conflict expiry / aging).
Everything is readable, editable, and deletable.
Quick start
npm install
npm run build # tsc -> dist/
npm test # node --experimental-strip-types --testWeb admin UI
npm run build
npm run ui # serves http://127.0.0.1:4173 (alias: mnemo-ui)From the browser you can browse/filter (by scope / kind / subject / tag), run full-text search (two-character CJK terms are recallable), create / edit / soft-delete / hard-delete facts, inspect audit chains (the superseded_by lineage), view the relation graph (SVG), and run consolidation manually (dry-run preview → commit).
Backend (
src/web.ts): a zero-dependency Node HTTP server (node:http) that reusesstore.ts/consolidate.tsto read and write the SQLite database directly, with a REST surface under/api/*. Configurable viaMNEMO_UI_PORT(default 4173),MNEMO_UI_HOST(default 127.0.0.1), andMNEMO_DB.Frontend (
public/): React 18 loaded from a CDN via importmap, with JSX compiled in the browser by Babel-standalone — no npm dependencies and no build step.The UI and any mounted stdio MCP server share the same database file safely (SQLite WAL, multiple connections).
MCP tools
Seven MCP tools are exposed:
Tool | Purpose |
| Store a fact (with scope / kind / source / validity). |
| BM25 full-text search (CJK-aware). |
| List / filter facts. |
| Edit a fact (keeps the old version as superseded). |
| Soft or hard delete. |
| Create a typed relation between two facts. |
| Deterministic housekeeping (dedup, conflict expiry, aging). |
Tool prefix: mcp__mnemo__*.
Storage & runtime
Storage:
better-sqlite3(prebuilt binary, no compilation) + FTS5 (unicode61) + afact_tagstable + arelationstable; opened with WAL,busy_timeout, andforeign_keyson.Chinese retrieval: write-time segmentation with
Intl.Segmenter(zero dependencies) so two-character words are recallable.The five principles in practice:
source ∈ {user, agent};valid_from/valid_until/superseded_by(old facts are marked invalid, never dropped); soft and hard delete;dedup_key-based conflict expiry; UTC timestamps throughout.The runtime database defaults to
~/.dsh/mnemo.dband is independent of the code location; override it with theMNEMO_DBenvironment variable.
Mounting in an MCP host (stdio)
mnemo:
command: node
args: ["<path-to>/Mnemo/dist/index.js"]
env:
MNEMO_DB: "~/.dsh/mnemo.db" # shared database; this is also the defaultBuild first (npm install && npm run build to produce dist/index.js), then point your host's MCP configuration at it. The stdio transport ships with the MCP SDK, so mounting works out of the box.
Documentation
docs/design.md— full design document (storage schema, MCP tool interface, consolidation, injection strategy, milestones).
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a memory layer for personal agents, enabling MCP-compatible agents to store and query profile, factual, episodic, and procedural memory.MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent memory for AI coding agents via MCP, enabling agents to store and semantically recall facts, events, and lessons across sessions, all running locally without cloud dependencies.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceLocal-first AI memory layer with hybrid retrieval and brain-inspired namespaces. Enables agents to save, search, and manage memories directly via MCP tools.5MIT
- AlicenseNot gradedqualityBmaintenanceProvides persistent semantic memory for AI agents via MCP, enabling them to remember, recall, list, update, and forget memories with vector-based similarity search.ISC
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Person-owned AI memory that learns, not just stores — portable context for any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bladeJumper/Mnemo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server