Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

Mnemosyne

Lets your AI agent keep long-term memory in one local SQLite file, with the evidence behind each memory.

157 stars on GitHubby 28naem-delLicense MITUpdated 20 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add mnemosyne -- npx -y mnemosy-ai mcp --db "<db>" --workspace "<workspace>" --agent "<agent>"

What to fill in

NameWhat it isRequired
MNEMOSYNE_INDEX_MODEDense index used for semantic recall; defaults to autoNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Remember that the build needs Node 22 and note where that came from.
What did you know about our deploy process last Tuesday?

What it is

Mnemosyne stores what an agent learned together with its source and trust level, all in one local SQLite file. When a source is corrected, the memories that depended on it are retired, so the next agent does not repeat an outdated lesson. It works over MCP, a command line, a TypeScript library or HTTP.

What it can do

  • Save memories with their source and trust tier
  • Recall relevant memories for a task
  • Correct a source and retire dependent memories
  • Replay what the agent believed at a past time
  • bisect: find the records that pushed expected results out of a retrieval
  • mnemosy demo: run an offline demo of the main features

When to use

  • β€ΊWhen you want your coding agent to remember lessons between sessions
  • β€ΊWhen you need to see where a stored memory came from
  • β€ΊWhen a fact changes and you want the old lessons that relied on it removed

What you need

Node.js 22.16 or newer. The local engine needs no model API key, database server or Docker.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The readme lists an MIT license.

Does it need an API key or the cloud?

No. The local engine needs no model API key, database server or Docker.

Which version should I install?

The stable release is 2.0.0. A newer 3.0.0 release candidate is available with the next tag.

Which clients does it work with?

It has MCP setup for Claude Code, Cursor and Codex, plus a TypeScript SDK, a CLI and authenticated HTTP.

Where is the data stored?

In one SQLite file on your machine, for example the path you give with --db.

Is it the same as the Python mnemosyne-memory project?

No. The readme says they share a name only and are separate projects.

If it does not work

  • β€ΊCheck that Node.js 22.16 or newer is installed with node --version.
  • β€ΊRestart your AI app fully after running claude mcp add so it picks up the server.
  • β€ΊPass a writable path to --db so the SQLite file can be created.

5 new skills a week. 1 minute to read.