mcpbeat Sign in

codemem MCP Server

local only

codemem runs on your own machine — the client starts it, so there is no endpoint to ping. 131 installs a week from pypi. Last commit 6 Oct 2026.

Shared memory for coding agents: projects, reusable code, sessions and commits across machines

Installs per day peak 31 · avg 16 · +7% w/w
a month agotoday
131
Installs / week
pypi · codemem-mcp
3
Stars
0 open issues
6 Oct 2026
Last commit
from GitHub
Apache-2.0
License
Python

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 codemem -- uvx codemem-mcp serve
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp",
        "serve"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.codemem]
command = "uvx"
args = ["codemem-mcp", "serve"]
.cursor/mcp.json
{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp",
        "serve"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "codemem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codemem-mcp",
        "serve"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: CODEMEM_DATA (Directory for the database and backups), CODEMEM_DB (Path to the SQLite database (overrides CODEMEM_DATA)), CODEMEM_HOST (Address to bind. The server has no authentication; use 127.0.0.1 unless the network is trusted), CODEMEM_PORT (Port for MCP (/mcp) and the web UI. The transport URL assumes 8055), OLLAMA_URL (Ollama base URL for embeddings (semantic search). Without it, search is BM25 only), CODEMEM_EMBED (Set to false to disable embeddings entirely), GIT_ROOT (Directory of bare git repos to read for the commit feed).

What the code does

We read the source, 6 d ago · rules 995398eba69f

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.

        r = subprocess.run(["git", "-C", str(p), *a], capture_output=True, text=True, timeout=30)
 try{$('#main').innerHTML=await fn(arg)}catch(err){$('#main').innerHTML=`<p class="dirty">error: ${esc(err.message)}</p>`}}

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

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to codemem

same job, measured the same way
Deja Vu
by vshulcz

Local memory & session search across fifty-three coding agents: Claude Code, Codex, Cursor.

4 797 installs/wk local only
amem
by sslugic

Agent memory, anchored to your code: local facts, skills and tasks for coding agents.

4 026 installs/wk local only
Imperal MCP
by imperalcloud

Memory across sessions, a live code map, undo for every change and a fact check

3 734 installs/wk local only
Nucleus
by eidetic-works

Persistent memory for AI agents — shared .brain across Claude Code, Cursor & Codex

1 100 installs/wk 28 tools answering
KLYPIX Shared Project Memory
by dahshanlabs

Shared project memory for Claude Code, Codex and Cursor: decisions, corrections, overlap warnings.

486 installs/wk local only
Engram
by engram

Memory for AI agent teams across tools, sessions, repositories, and teammates.

348 installs/wk 17 tools answering
Engrm
by dr12hes

Shared memory across devices, sessions, and agents for OpenClaw, Claude Code, and Codex.

210 installs/wk local only
knock
by hasangilani

Code map and memory for AI coding agents: key functions, line ranges, callers, why code changed.

194 installs/wk local only

codemem — questions

Answers built from our own checks of this server.

Why is there no uptime for codemem?
codemem 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 codemem-mcp was installed 131 times last week.
How do I connect codemem?
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 codemem-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use codemem?
The pypi package codemem-mcp was installed 131 times in the last week. Week over week that is +7%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is codemem open source?
Yes — it is published under the Apache-2.0 licence, written in Python and 3 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.