mcpbeat Sign in

M3 Memory MCP Server

by skynetcmd Your server? Claim it
local only

M3 Memory runs on your own machine — the client starts it, so there is no endpoint to ping. 1 480 installs a week from pypi. Last commit 26 Oct 2026.

Local-first, cloud-friendly memory — 100+ tools, 99.2% LongMemEval-S retrieval@8, hybrid search.

Installs per day peak 1 199 · avg 469 · -39% w/w
a month agotoday
1 480
Installs / week
pypi · m3-memory
30
Stars
1 open issue
26 Oct 2026
Last commit
from GitHub
Apache-2.0
License
Python

What the code does

We read the source, 1 h ago · rules 995398eba69f

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a dangerous call enrich_pending.dry_run → bin/m3_upgrade.py:181, enrich_pending.dry_run → bin/m3_upgrade.py:242, enrich_pending.dry_run → bin/m3_upgrade.py:264 и ещё 10
        return subprocess.run(cmd, timeout=timeout).returncode  # nosec B603 - argv list, no shell
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] m3_memory/install_os.py:1
этот файл ставится пользователю, но в репозитории его нет
_LAUNCHD_PLIST = "~/Library/LaunchAgents/com.m3memory.cognitiveloop.plist"
        out = subprocess.run(["ifconfig", iface], capture_output=True, text=True, timeout=2).stdout
        candidates.append(os.path.join(m3lib, nm))
Builds a database query by concatenation bin/pg_sync.py:505, [пакет] bin/pg_sync.py:505
        pg_cur.execute(select + " WHERE wh_arrived_at > %s" + kind_sql, (watermark, *kind_params))
    exec(code, {"__file__": str(bridge), "__name__": "__main__"})  # nosec B102

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add m3-memory -- uvx m3-memory
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.m3-memory]
command = "uvx"
args = ["m3-memory"]
.cursor/mcp.json
{
  "mcpServers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "m3-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}

Alternatives to M3 Memory

same job, measured the same way
Sverklo
by sverklo

Local-first MCP code intelligence: 37 tools — hybrid search, blast-radius, diff review, memory.

346 installs/wk local only
Memento
by scrypster

Persistent memory for AI tools. Local-first knowledge graph with hybrid search.

local only
KEPTA — the memory for AI systems
by damiantodorovic

Local encrypted memory for AI: hybrid search, 8 MCP tools, one file you own. Free, no cloud.

402 installs/wk local only
Memtomem
by memtomem

Markdown-first long-term memory for AI agents. Hybrid BM25 + vector search, runs locally.

2 532 installs/wk local only
Tacitus MCP Server
by ionasrobert

Long-term memory for AI agents: local-first PKM with provenance and hybrid search.

61 installs/wk local only
MCP Memory Graph
by yonasvalentin

Local-first memory for Claude Code and any MCP client: hybrid search + knowledge graph, $0/token.

249 installs/wk local only
Tokennuke
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

82 installs/wk local only
Codemunch Pro
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

73 installs/wk local only

M3 Memory — questions

Answers built from our own checks of this server.

Why is there no uptime for M3 Memory?
M3 Memory runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package m3-memory was installed 1 480 times last week.
How do I connect M3 Memory?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls m3-memory straight from pypi; nothing to host, nothing to sign up for.
How many people use M3 Memory?
The pypi package m3-memory was installed 1 480 times in the last week. Week over week that is -39%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is M3 Memory open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 30 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.