Thebrain MCP Server

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

Local serverstdio

What is the Thebrain MCP Server?

Thebrain is an MCP integration. MCP server for TheBrain 15: search by meaning, graph traversal and batch writes over the local API.

Packages and local setup

The published npm package is thebrain-mcp-server, version 0.2.0. Its declared MCP transport is stdio.

The package declares THEBRAIN_API_KEY (required): Local API key from TheBrain: Settings > User > Local API Key; THEBRAIN_BASE_URL: Address of the local API. Default http://localhost:11522, then http://localhost:8001 for older TheBrain builds; THEBRAIN_DATA_DIR: Where semantic indexes are stored. Default ~/.thebrain-mcp; THEBRAIN_ALLOW_DESTRUCTIVE: Set to 1 to allow deleting thoughts. Deletion still requires human confirmation. Default 0; THEBRAIN_EMBEDDING_MODEL: Embedding model for semantic search. Default Xenova/multilingual-e5-small; THEBRAIN_EMBEDDING_DTYPE: Weight precision: fp32, fp16, q8 or q4. Default q8; THEBRAIN_TIMEOUT_MS: API request timeout in milliseconds. Default 30000.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.2.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
THEBRAIN_API_KEYLocal API key from TheBrain: Settings > User > Local API KeyYes
THEBRAIN_BASE_URLAddress of the local API. Default http://localhost:11522, then http://localhost:8001 for older TheBrain buildsCheck documentation
THEBRAIN_DATA_DIRWhere semantic indexes are stored. Default ~/.thebrain-mcpCheck documentation
THEBRAIN_ALLOW_DESTRUCTIVESet to 1 to allow deleting thoughts. Deletion still requires human confirmation. Default 0Check documentation
THEBRAIN_EMBEDDING_MODELEmbedding model for semantic search. Default Xenova/multilingual-e5-smallCheck documentation
THEBRAIN_EMBEDDING_DTYPEWeight precision: fp32, fp16, q8 or q4. Default q8Check documentation
THEBRAIN_TIMEOUT_MSAPI request timeout in milliseconds. Default 30000Check documentation