mnemosyne
Zero-cloud AI memory that works everywhere. SQLite-backed. One pure-Python dependency.
Mnemosyne is a local-first AI memory layer that runs entirely on SQLite without requiring cloud services or external dependencies. It implements a three-tier BEAM (Bilevel Episodic-Associative Memory) architecture combining working memory, episodic long-term storage, and temporal knowledge graphs. The system works with any MCP-compatible client (Claude Code, Cursor, Windsurf, Codex) and agent framework through built-in MCP server support, Python SDK, or platform-specific integrations. Developers get hybrid search combining vector similarity, full-text ranking, and importance scoring, all executed inside a single SQLite database with binary-compressed embeddings for minimal storage overhead.
Key Features
Use Cases
- 01Equipping Claude Code or Cursor with persistent memory so the AI remembers user preferences, project context, and past conversations across sessions
- 02Building multi-session agent workflows where project-specific knowledge, decisions, and entity relationships persist beyond individual chat threads
- 03Synchronizing desktop and VPS agent instances so memories recorded during local development are available to remote deployed agents
- 04Enabling agents to maintain temporal knowledge graphs tracking who worked on what and when, with version chains for evolving facts
- 05Privacy-conscious deployments requiring zero cloud dependencies and optional client-side encryption for synced memory
- 06Benchmarking memory system performance against LongMemEval and BEAM datasets with reproducible local SQLite storage
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
mnemosyne — FAQ
What is Mnemosyne?+
Mnemosyne is a local-first AI memory system built on SQLite that provides persistent memory storage and retrieval for AI agents and assistants. It runs entirely on your machine with no cloud services required and integrates via MCP, Python SDK, or platform-specific adapters.
How do I add Mnemosyne to Claude Code or Cursor?+
Install with `pip install mnemosyne-memory`, then add an MCP server entry to your client's configuration JSON (claude.json for Claude Code, .cursor/mcp.json for Cursor) with command "mnemosyne" and args ["mcp"]. Restart the client to activate the memory tools.
Which AI clients and frameworks does Mnemosyne support?+
Mnemosyne works with any MCP-compatible client including Claude Code, Cursor, Codex, and Windsurf. It also has native integrations for OpenWebUI, OpenClaw, Pi, Hermes Agent, and any Python-based agent via direct SDK import.
Do I need API keys or external services?+
No external services are required. By default Mnemosyne uses local FastEmbed embeddings with no API keys. You can optionally configure a remote embedding API by setting MNEMOSYNE_EMBEDDING_API_URL and MNEMOSYNE_EMBEDDING_API_KEY for lower-resource environments.
Is Mnemosyne free and open source?+
Yes, Mnemosyne is released under the MIT license and is completely free. All core functionality runs locally with a single pip install and one SQLite file.
How much RAM and storage does Mnemosyne need?+
The core package uses ~50 MB RAM. Adding local embeddings requires ~800 MB, and the full feature set needs ~1.5 GB. Storage is minimal: 10 million messages compress to 7.2 MB in the benchmark tests due to episodic compression and binary vectors.
How do I install mnemosyne?+
Open the source repository on GitHub and follow its README. mnemosyne is a mcp server — MCP Agents Market links you directly to the official repo.
Is mnemosyne free?+
mnemosyne is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.