C

codemem

MCP server · by jeang42

Developer Tools Python v0.1.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.1.0

Python
uvx codemem-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp"
      ]
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs 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

GitHub

⭐ 2 stars · 最近更新于 37 天前 · Apache-2.0 license

About this server

Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install codemem?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is codemem free to use?

The MCP server itself is free to install. The source is public on https://github.com/jeang42/codemem. Any third-party service it calls may require its own API key and account.

Which clients support codemem?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/codemem.svg)](https://mcpnav.net/server/codemem/)

HTML

<a href="https://mcpnav.net/server/codemem/"><img src="https://mcpnav.net/badge/codemem.svg" alt="Listed on MCPNav" height="20"></a>