# Brainbox

> Brainbox is an open-source MCP server. Hebbian memory for AI agents. Learns file patterns, predicts next tools, saves tokens. It runs locally on your machine and is started by your AI client.

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

## About

Hebbian memory for AI agents. Learns file patterns, predicts next tools, saves tokens.

## Install

### Claude Code (Terminal)

```sh
claude mcp add brainbox -- npx -y brainbox-hebbian
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "brainbox": {
      "command": "npx",
      "args": [
        "-y",
        "brainbox-hebbian"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brainbox": {
      "command": "npx",
      "args": [
        "-y",
        "brainbox-hebbian"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "brainbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brainbox-hebbian"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brainbox": {
      "command": "npx",
      "args": [
        "-y",
        "brainbox-hebbian"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brainbox": {
      "command": "npx",
      "args": [
        "-y",
        "brainbox-hebbian"
      ]
    }
  }
}
```

## FAQ

### Is Brainbox free?

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

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

Run this command in your terminal: claude mcp add brainbox -- npx -y brainbox-hebbian

## 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/brainbox-2
