# memex

> memex is an open-source MCP server. Local MCP memory for coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/kioie/memex/tree/HEAD/cmd/memex
- **MCP Registry name:** io.github.kioie/memex
- **Listing updated:** 2026-11-13

## About

Local MCP memory for coding agents. SQLite on your machine — preferences persist across chats.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memex -- docker run -i --rm ghcr.io/kioie/memex:0.6.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "memex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "memex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ]
    }
  }
}
```

## FAQ

### Is memex free?

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

### How do I add memex to Claude Code?

Run this command in your terminal: claude mcp add memex -- docker run -i --rm ghcr.io/kioie/memex:0.6.0

## 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/memex-4
