# ModelBrain

> ModelBrain is a freemium MCP server for knowledge and memory. Shared local memory for Claude, ChatGPT and Cursor, reached through a thin stdio launcher. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** macOS, Windows, Linux, CLI
- **Website:** https://modelbrain.net
- **Repository:** https://github.com/modelbrain/modelbrain-mcp
- **MCP Registry name:** net.modelbrain/mcp
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-21

## About

This npm package is only a launcher. It finds the `mcp_server` binary that the ModelBrain desktop app installs and runs it, so MCP clients that start servers with `npx` can use ModelBrain's memory. The README says it exists so ModelBrain can be listed in the MCP Registry with a reviewable package, while the engine itself stays out of the repository.

If the desktop app is missing, the launcher still answers the MCP handshake and shows the tool list, but every call returns a message saying ModelBrain is not installed and nothing is stored or recalled. Passing `--require-app` makes it exit with status 1 instead.

Memories are files in a folder you own, and the site says local use needs no account. Sync between devices and team plans are optional paid services, and synced data is encrypted on your computer first. The wrapper is MIT licensed; ModelBrain itself is proprietary.

## Features

- **Thin stdio launcher:** Starts the ModelBrain app's own MCP binary so npx-based clients can connect.
- **Graceful missing-app mode:** Answers the handshake and explains how to install the app instead of crashing.
- **Fourteen memory tools:** Covers remembering, recalling, listing, expanding and forgetting notes, plus partition, diagnostics and usage tools.
- **Optional client tokens:** If you enable client tokens in ModelBrain, pass one through MODELBRAIN_CLIENT_TOKEN.
- **Local-first storage:** Notes live as files in a folder on your own computer.

## Good for

- Carry the same notes between Claude Code, Cursor and other assistants
- Ask an assistant to recall a past decision such as pricing
- Delete a remembered note on request
- Register ModelBrain with an MCP client that only supports npx servers

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://relay.modelbrain.net/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://relay.modelbrain.net/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://relay.modelbrain.net/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://relay.modelbrain.net/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://relay.modelbrain.net/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://relay.modelbrain.net/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://relay.modelbrain.net/mcp
```

Enter a Name (for example "ModelBrain"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

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

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://relay.modelbrain.net/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 of 8 tools reads data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `remember`: Stores a note in memory.
- `recall`: Brings back stored notes relevant to a question.
- `list_memories` (name suggests: reads): Lists stored memories.
- `expand`: Opens a stored memory in more detail.
- `forget`: Deletes a stored memory.
- `diagnostics`: Reports the state of the local ModelBrain setup.
- `usage`: Reports memory usage.
- `ping`: Checks that the server is reachable.

## FAQ

### Do I need an account?

The site says local use needs no account, card or licence key.

### What does the package install?

Nothing from ModelBrain itself. It connects to the desktop app that must already be running.

### What does sync cost?

Sync and team plans are optional paid services; the site quotes a flat $0.05 per GB per month for the storage they use.

### Which systems are supported?

macOS on Apple Silicon, Windows (x64 or arm64) and Linux (x86_64 or aarch64, glibc 2.28 or newer).

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

Run this command in your terminal: claude mcp add --transport http mcp https://relay.modelbrain.net/mcp

### What are the best alternatives to ModelBrain?

The closest alternatives to ModelBrain are MCP Memory, Memdrive MCP, mcp-memory-rs, OpenMyMemo and Neuromcp.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status: checked automatically by AIPoweredBot on 21 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [MCP Memory](https://ai-powered.com/mcp/mcp-memory): MCP Memory is an open-source MCP server for knowledge and memory.
- [Memdrive MCP](https://ai-powered.com/mcp/memdrive-mcp): Memdrive MCP is an open-source MCP server for knowledge and memory.
- [mcp-memory-rs](https://ai-powered.com/mcp/mcp-memory-rs): mcp-memory-rs is an open-source MCP server for knowledge and memory.
- [OpenMyMemo](https://ai-powered.com/mcp/openmymemo): OpenMyMemo is an MCP server for knowledge and memory.
- [Neuromcp](https://ai-powered.com/mcp/neuromcp): Neuromcp is an open-source MCP server for knowledge and memory.
- [Dawnmere](https://ai-powered.com/mcp/dawnmere-2): Dawnmere is an open-source MCP server for knowledge and memory.
- [mcp-vl-msa-rs](https://ai-powered.com/mcp/mcp-vl-msa-rs): mcp-vl-msa-rs is an open-source MCP server for knowledge and memory.
- [M1K3](https://ai-powered.com/mcp/m1k3): M1K3 is a free MCP server for knowledge and memory.

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