# Make0 Brain

> Make0 Brain is an open-source MCP server for knowledge and memory. One local, versioned memory shared by Claude Code, Cursor, Codex and other agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, self-hosted
- **Website:** https://make0.ai
- **Repository:** https://github.com/make0-official/brain-oss
- **MCP Registry name:** io.github.make0-official/brain-oss
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-14

## About

Make0 Brain keeps memories in a single SQLite file on your machine and gives every connected agent the same seven tools, matching the hosted Make0 Brain. After a one-time download of two local models, about 50 MB, it works offline with no API key. An OpenAI key is optional and only switches on LLM features.

Every edit from any agent is stored as a version with who wrote it and when, so a later write does not silently replace an earlier one. The README says init can also import sessions that 41 coding agents already keep on disk, and memory can be exported to plain Markdown.

The init command detects Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, Gemini CLI, Hermes Agent and OpenClaw, backs up each config and adds the server. The README adds that connecting is not enough: the agent also needs an instruction to search Brain first, which init writes for some clients and prints for the rest.

## Features

- **Shared across agents:** A fact saved from Cursor is found by Claude Code next session.
- **Version history:** Each edit is kept with its author and time.
- **Offline and local:** One SQLite file, with local models after a one-time download.
- **One-command setup:** npx @make0-ai/brain init configures detected agents and keeps backups.
- **Session import:** Imports sessions coding agents already store on disk.
- **Markdown export:** Memory can be exported as plain Markdown.

## Good for

- Stop re-explaining your stack to each coding agent
- Trace which agent changed a remembered decision
- Keep project preferences offline and private
- Seed memory from past coding-agent sessions

## Install

### Claude Code (Terminal)

```sh
claude mcp add brain-oss --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y @make0-ai/brain
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "brain-oss": {
      "command": "npx",
      "args": [
        "-y",
        "@make0-ai/brain"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brain-oss": {
      "command": "npx",
      "args": [
        "-y",
        "@make0-ai/brain"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "brain-oss": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@make0-ai/brain"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brain-oss": {
      "command": "npx",
      "args": [
        "-y",
        "@make0-ai/brain"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "brain-oss": {
      "command": "npx",
      "args": [
        "-y",
        "@make0-ai/brain"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Does it need an API key?

No. OPENAI_API_KEY is optional and only enables LLM features.

### What licence is it?

MIT, per the project site.

### Where is data stored?

In one SQLite file under MAKE0_BRAIN_HOME, which defaults to ~/.make0.

### Is Make0 Brain free?

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

### How do I add Make0 Brain to Claude Code?

Run this command in your terminal: claude mcp add brain-oss --env OPENAI_API_KEY='<OPENAI_API_KEY>' -- npx -y @make0-ai/brain

### What are the best alternatives to Make0 Brain?

The closest alternatives to Make0 Brain are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/make0-brain
