# Big Brain

> Big Brain is an open-source MCP server for knowledge and memory. Plain-markdown second brain shared across AI assistants: notes, projects, tasks and search. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Linux, Windows
- **Repository:** https://github.com/jzhao234/big-brain
- **MCP Registry name:** io.github.jzhao234/big-brain
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-23

## About

Big Brain keeps your memory as a folder of markdown files you own, rather than a private store inside each assistant. Point it at a new vault or an existing Obsidian vault and Claude Code, Claude Desktop, Cursor, Codex or any MCP client can search it, capture notes, and keep projects and tasks current. A project is a single file with a goal, checkbox tasks and a log.

The server has 23 tools covering search, capture, daily logs, projects, tasks, link graph, related notes and a vault health check. Retrieval is deterministic first, with fuzzy full-text search, wikilink backlinks, tags and frontmatter filters that need no API keys; optional on-device semantic search and optional git auto-commit and push can be turned on. Writes are atomic, locked per note and refuse paths outside the vault.

A single npx command sets up the vault and connects Claude Code, Codex and Antigravity, with skills for brain, capture and weekly review. It needs Node 20 and is pre-1.0. A token-protected remote HTTP mode is a preview.

## Features

- **Plain markdown vault:** No database; works with Obsidian.
- **23 MCP tools:** Search, capture, projects, tasks and links.
- **Offline search:** Full-text and backlinks without API keys.
- **Optional semantic search:** On-device embeddings for related notes.
- **Git sync option:** Auto-commit and push of touched files.
- **Safe edits:** Atomic locked writes inside the vault only.

## Good for

- Capture a task by telling an assistant
- Ask what you're working on across projects
- Share one memory across several AI tools
- Run a weekly review from your notes
- Keep an Obsidian vault in git

## Install

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

```sh
claude mcp add big-brain --env BIG_BRAIN_VAULT='<BIG_BRAIN_VAULT>' -- npx -y @jzhao234/big-brain
```

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": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "big-brain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

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

```sh
codex mcp add big-brain --env BIG_BRAIN_VAULT='<BIG_BRAIN_VAULT>' -- npx -y @jzhao234/big-brain
```

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

```toml
[mcp_servers.big-brain]
command = "npx"
args = ["-y", "@jzhao234/big-brain"]
env = { BIG_BRAIN_VAULT = "<BIG_BRAIN_VAULT>" }
```

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e BIG_BRAIN_VAULT='<BIG_BRAIN_VAULT>' big-brain npx -- -y @jzhao234/big-brain

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
```

## FAQ

### Does Big Brain need API keys?

No, deterministic search works offline.

### Can I use my Obsidian vault?

Yes, it reads an existing vault as is.

### Which clients work?

Claude Code, Claude Desktop, Cursor, Codex and other MCP clients.

### What Node version?

Node 20 or newer.

### Is Big Brain free?

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

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

Run this command in your terminal: claude mcp add big-brain --env BIG_BRAIN_VAULT='<BIG_BRAIN_VAULT>' -- npx -y @jzhao234/big-brain

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

The closest alternatives to Big Brain are Codebase Memory, XERJ, Ha MCP, Claude Code Ultimate Guide and Concord MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## 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.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [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.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.

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