MCP directory
C

codemem

by github.com/jeang42 · v0.1.0 · updated Sep 25, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx codemem-mcp==0.1.0

Environment variables

  • 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

More MCP servers