Skip to content
Cline

thebrain for Cline

io.github.ybookoff/thebrain

MCP server for TheBrain 15: search by meaning, graph traversal and batch writes over the local API

client:Cline transport:stdio runtime:npm

Install thebrain in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "thebrain": {
      "command": "npx",
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "env": {
        "THEBRAIN_API_KEY": "<THEBRAIN_API_KEY>",
        "THEBRAIN_BASE_URL": "<THEBRAIN_BASE_URL>",
        "THEBRAIN_DATA_DIR": "<THEBRAIN_DATA_DIR>",
        "THEBRAIN_ALLOW_DESTRUCTIVE": "<THEBRAIN_ALLOW_DESTRUCTIVE>",
        "THEBRAIN_EMBEDDING_MODEL": "<THEBRAIN_EMBEDDING_MODEL>",
        "THEBRAIN_EMBEDDING_DTYPE": "<THEBRAIN_EMBEDDING_DTYPE>",
        "THEBRAIN_TIMEOUT_MS": "<THEBRAIN_TIMEOUT_MS>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

thebrain in other clients