Back to Browse

Thebrain MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

5 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

Local API key from TheBrain: Settings > User > Local API KeyRequired

Environment variable: THEBRAIN_API_KEY

Address of the local API. Default http://localhost:8001Optional

Environment variable: THEBRAIN_BASE_URL

Where semantic indexes are stored. Default ~/.thebrain-mcpOptional

Environment variable: THEBRAIN_DATA_DIR

Set to 1 to allow deleting thoughts. Deletion still requires human confirmation. Default 0Optional

Environment variable: THEBRAIN_ALLOW_DESTRUCTIVE

Embedding model for semantic search. Default Xenova/multilingual-e5-smallOptional

Environment variable: THEBRAIN_EMBEDDING_MODEL

Weight precision: fp32, fp16, q8 or q4. Default q8Optional

Environment variable: THEBRAIN_EMBEDDING_DTYPE

API request timeout in milliseconds. Default 30000Optional

Environment variable: THEBRAIN_TIMEOUT_MS

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-ybookoff-thebrain": {
      "env": {
        "THEBRAIN_API_KEY": "your-thebrain-api-key-here",
        "THEBRAIN_BASE_URL": "your-thebrain-base-url-here",
        "THEBRAIN_DATA_DIR": "your-thebrain-data-dir-here",
        "THEBRAIN_TIMEOUT_MS": "your-thebrain-timeout-ms-here",
        "THEBRAIN_EMBEDDING_DTYPE": "your-thebrain-embedding-dtype-here",
        "THEBRAIN_EMBEDDING_MODEL": "your-thebrain-embedding-model-here",
        "THEBRAIN_ALLOW_DESTRUCTIVE": "your-thebrain-allow-destructive-here"
      },
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!