codemem runs on your own machine — the client starts it, so there is no endpoint to ping. 120 installs a week from pypi. Last commit 6 Oct 2026.
Shared memory for coding agents: projects, reusable code, sessions and commits across machines
We read the source, 5 d ago · rules ccca72095570
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.
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
{
"mcpServers": {
"codemem": {
"args": [
"codemem-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.codemem]
command = "uvx"
args = ["codemem-mcp"]
{
"mcpServers": {
"codemem": {
"args": [
"codemem-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"codemem": {
"args": [
"codemem-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
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).
The author declared them in the registry entry; get the values from the project itself.
Shared memory across devices, sessions, and agents for OpenClaw, Claude Code, and Codex.
Project memory across sessions for AI agents. A queryable decision log in the repo.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Project memory for coding agents: requirements, decisions, code graph and delivery telemetry.
Shared, project-aware memory for Claude Code, Codex, and other agents with human review.
Deterministic context selection for AI coding agents. Local memory that compounds across sessions.
Persistent cross-session memory shared by Codex, Claude Code, ChatGPT, and other AI agents.
Shared memory for AI coding agents. Save once, reuse from Cursor, Claude Code, Codex.
Answers built from our own checks of this server.