Local-first agentic memory β 100+ tools, 92% LongMemEval-S, hybrid search, GDPR, zero cloud.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A memory layer that outlives your agents. You switch from Claude Code to Cursor, upgrade your model, start fresh next week β and everything your tools learned about your project is gone. You re-explain the same decisions, the same preferences, the same hard-won context, over and over.
M3 fixes that. It's a private, local-first memory your agents share and build on β so your project's knowledge accumulates instead of resetting every time the agent does. One memory store, on your machine, that your tools and agents read from and write to β whether that's Claude Code, Cursor, Gemini CLI, or any MCP-compatible agent.
Under the hood, M3 treats agent memory as a distributed-systems infrastructure problem, not a simple retrieval feature β a shared, evolving, bitemporal, contradiction-aware knowledge base that multiple heterogeneous agents and machines read and write, built to stay consistent over months and years.
It runs where your data has to stay. A single pip install with no account, no
API key, and no outbound calls β at home in a homelab, on a corporate or
government network, or fully air-gapped. The embedder runs in-process and
local, the store is a file you own, and installation works with no internet at all.
On the metric that isolates the memory layer β retrieval accuracy, no answer model
or judge involved β M3 reaches 99.2% session-hit-rate @ k=10 and 100% @ k=20 on
LongMemEval-S.
One decision saved from a conversation, then recalled by a different agent in a new session, on a different machine. Captioned throughout, so it reads fine muted.
https://github.com/user-attachments/assets/09ab194a-d2a0-4fe5-a7db-69ae8225e39b
Player not loading? Download the video to play locally.
That's the whole install. No cloud account, no API key, no external embedding service.
Save a decision β from any agent, or straight from the shell:
Next week, in a different agent, on a different model β ask in your own words:
The query shares no keywords with the stored text β no "RS256", no "JWT" β and still finds it. That's the hybrid engine: BM25 for exact terms, local BGE-M3 vectors for meaning, MMR for diversity. Your agent calls the same tools over MCP, so it recalls this automatically instead of asking you again.
New here? The 5-Minute Getting Started Guide walks the same path with more context, and Core Tools lists the five you'll use most.
The Quickstart above is the whole product for most people: shared memory, wired into your agents, working offline. Everything below is optional surface you can ignore until you want it β each row says what it costs to turn on.
| π€ | Coding agents Β· included in the base installm3 setup auto-detects and wires m3 into Claude Code, Cursor, Cline, Gemini CLI, Google Antigravity, Aider, OpenCode, OpenClaw, Hermes β one shared memory across every agent, and any agent you add later is picked up automatically. (See MCP Client Install) |
| π₯ | Multi-agent synchronization Β· included in the base install agents coordinate through one store: memory scoped per agent / org / user, direct handoffs into another agent's inbox, shared tasks with a recursive task tree, and opt-in SQL-layer isolation so an agent's private notes stay private. Concurrent readers and writers are safe by design (WAL + retry), so a planner, an implementer and a reviewer can work at the same time. (See Multi-Agent Orchestration) |
| π₯οΈ | Web dashboard, open to all users β not just developers Β· included in the base install a built-in, backend-agnostic control panel (default http://127.0.0.1:8088): browse memory, read your auto-generated Memory Wiki, explore the interactive knowledge graph, and watch system health / load. Just run m3 dashboard. (See Dashboard Guide) |
| π | Auto-generated wiki + Obsidian export Β· core feature β in the base install, nothing extra to enablem3 wiki generate compiles your canonical memories (pinned, high-confidence, beliefs, procedures) and indexed files into a browsable, interlinked Markdown vault β one page per topic, real hyperlinks for every relationship, and provenance links down to the source document each fact came from. Renders on GitHub, in a self-contained offline HTML viewer, or as an Obsidian vault (--obsidian for graph view + backlinks). (See Wiki Guide) |
| π | PostgreSQL Β· needs m3-memory[postgres]; SQLite is the default and needs nothingrun M3 on a first-class PostgreSQL primary backend ( M3_DB_BACKEND=postgres) for a shared, server-hosted store, with cross-device sync to a PostgreSQL warehouse. SQLite stays the zero-infrastructure default. (See Architecture Β· Sync) |
Also a drop-in memory backend for LangChain / LangGraph, CrewAI, and PydanticAI β see the framework guides.
Every path gains automatic contradiction supersession, bitemporal historical queries, local sovereign embedding, and the full 100+ MCP tool set.
A full, feature-by-feature comparison table β M3 vs Mem0, Letta, Zep, Graphiti, LangChain Memory / LangMem, agentmemory, Chronos, Hindsight, Mastra OM, Memento, and more β with sourced benchmarks and honest "when to choose the other tool" guidance, lives in COMPARISON.md.
Short version: M3 is the local-first, MCP-native option that stays yours and works across every agent β where cloud services (Mem0), full agent runtimes (Letta), and graph-database systems (Zep, Graphiti) each ask you to adopt their infrastructure. See the comparison guide for the row-by-row detail.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/m3-memory)<a href="https://allmcps.com/mcp/m3-memory"><img src="https://allmcps.com/api/badge/m3-memory?style=directory" alt="M3 Memory on AllMCPs" /></a>