# MemoryBrain MCP server

> Connects your personal knowledge vault to ChatGPT and Claude to enable structured retrieval, knowledge maturation, and active recall.

- Repository: https://github.com/Memory-brain/open-brain
- Page: https://hostedmcp.org/servers/memory-brain/open-brain
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 0.9.1

## Install

### Claude Code

```sh
claude mcp add --transport http open-brain https://app.memorybrain.ai/mcp
```

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

```json
{
  "mcpServers": {
    "open-brain": {
      "url": "https://app.memorybrain.ai/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "open-brain": {
      "type": "http",
      "url": "https://app.memorybrain.ai/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"open-brain","type":"http","url":"https://app.memorybrain.ai/mcp"}'
```

### Codex

```sh
codex mcp add open-brain --url https://app.memorybrain.ai/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.open-brain]
url = "https://app.memorybrain.ai/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http open-brain https://app.memorybrain.ai/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "open-brain": {
      "url": "https://app.memorybrain.ai/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OPEN_BRAIN_ENGINES` | no | no |  |
| `OPEN_BRAIN_VAULT` | no | no |  |

## FAQ

### How does MemoryBrain work with AI clients?

It works inside ChatGPT and Claude through a remote MCP connector.

### What is the difference between Open Brain and MemoryBrain?

Open Brain is the underlying framework and methodology, while MemoryBrain is the implementation that lives inside your AI assistants.
