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
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.
claude mcp add codemem -- uvx codemem-mcp serve
{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp",
"serve"
]
}
}
}
[mcp_servers.codemem]
command = "uvx"
args = ["codemem-mcp", "serve"]
{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp",
"serve"
]
}
}
}
{
"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).
We read the source, 6 d ago · rules 995398eba69f
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.
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.
Local memory & session search across fifty-three coding agents: Claude Code, Codex, Cursor.
Agent memory, anchored to your code: local facts, skills and tasks for coding agents.
Memory across sessions, a live code map, undo for every change and a fact check
Persistent memory for AI agents — shared .brain across Claude Code, Cursor & Codex
Shared project memory for Claude Code, Codex and Cursor: decisions, corrections, overlap warnings.
Memory for AI agent teams across tools, sessions, repositories, and teammates.
Shared memory across devices, sessions, and agents for OpenClaw, Claude Code, and Codex.
Code map and memory for AI coding agents: key functions, line ranges, callers, why code changed.
Answers built from our own checks of this server.