# codemem

> codemem is an open-source MCP server. Shared memory for coding agents: projects, reusable code, sessions and commits across machines. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/jeang42/codemem
- **MCP Registry name:** io.github.jeang42/codemem
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add codemem -- uvx codemem-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/codemem
