Skip to main content

codemem

io.github.jeang42/codemem

v0.1.0Updated Sep 25, 2026local · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add codemem -e 'CODEMEM_DATA=~/.codemem' -e CODEMEM_HOST=0.0.0.0 -e CODEMEM_PORT=8055 -e OLLAMA_URL=http://127.0.0.1:11434 -e CODEMEM_EMBED=true -- uvx codemem-mcp==0.1.0 serve

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

7 settings.

  • CODEMEM_DATA
    Env var· optional
    Directory for the database and backupsDefault: ~/.codemem
  • CODEMEM_DB
    Env var· optional
    Path to the SQLite database (overrides CODEMEM_DATA)
  • CODEMEM_HOST
    Env var· optional
    Address to bind. The server has no authentication; use 127.0.0.1 unless the network is trustedDefault: 0.0.0.0
  • CODEMEM_PORT
    Env var· optional
    Port for MCP (/mcp) and the web UI. The transport URL assumes 8055Default: 8055
  • OLLAMA_URL
    Env var· optional
    Ollama base URL for embeddings (semantic search). Without it, search is BM25 onlyDefault: http://127.0.0.1:11434
  • CODEMEM_EMBED
    Env var· optional
    Set to false to disable embeddings entirelyDefault: true
Show 1 more
  • GIT_ROOT
    Env var· optional
    Directory of bare git repos to read for the commit feedDefault: /srv/git

Listed in the official MCP Registry since Sep 25, 2026. Mirrored daily; last checked Nov 26, 2026.