Skip to content
MCP server

Big Brain

Plain-markdown second brain shared across AI assistants: notes, projects, tasks and search

Runs locally

Big Brain is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, macOS
Runs
Locally
Version
0.4.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "big-brain": {
      "command": "npx",
      "args": [
        "-y",
        "@jzhao234/big-brain"
      ],
      "env": {
        "BIG_BRAIN_VAULT": "<BIG_BRAIN_VAULT>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • BIG_BRAIN_VAULTFolder of your vault (an existing Obsidian vault works, or run `big-brain init` first)Required

About Big Brain

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.

What it does

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

Pricing

Open source

Open-source; pre-1.0

Big Brain 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.

How AIPoweredBot checks servers