codemem

io.github.jeang42/codemem

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp"
      ],
      "env": {
        "CODEMEM_DATA": "~/.codemem",
        "CODEMEM_HOST": "0.0.0.0",
        "CODEMEM_PORT": "8055",
        "OLLAMA_URL": "http://127.0.0.1:11434",
        "CODEMEM_EMBED": "true",
        "GIT_ROOT": "/srv/git"
      }
    }
  }
}
Environment variables
  • CODEMEM_DATADirectory for the database and backups
  • CODEMEM_HOSTAddress to bind. The server has no authentication; use 127.0.0.1 unless the network is trusted
  • CODEMEM_PORTPort for MCP (/mcp) and the web UI. The transport URL assumes 8055
  • OLLAMA_URLOllama base URL for embeddings (semantic search). Without it, search is BM25 only
  • CODEMEM_EMBEDSet to false to disable embeddings entirely
  • GIT_ROOTDirectory of bare git repos to read for the commit feed

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.0
Registry
active
Published
9/25/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that codemem is listed here — it’s also the link we check for a free listing.

codemem — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-jeang42-codemem?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="codemem — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![codemem — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-jeang42-codemem?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.