Skip to content
MCP server

codemem

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

Install
Pricing
Open source
Runs
Remotely
Version
0.1.0
Listing updated
5 days ago

About codemem

codemem is an open-source MCP server. It runs as a hosted remote server, so there is nothing to install locally.

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

Install

Run in a terminal

claude mcp add codemem -- uvx codemem-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codemem": {
      "command": "uvx",
      "args": [
        "codemem-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codemem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codemem-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CODEMEM_DATADirectory for the database and backups
  • CODEMEM_DBPath to the SQLite database (overrides CODEMEM_DATA)
  • 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

Pricing

Open source

codemem FAQ

Is codemem free?

Yes. codemem is open source, so you can use and self-host it for free.

How do I add codemem to Claude Code?

Run this command in your terminal: claude mcp add codemem -- uvx codemem-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers