← Index

io.github.yBookoff/thebrain

io.github.yBookoff/thebrainv0.1.2Search

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

In-path gate · all MCP tools

Using io.github.yBookoff/thebrain in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

uv tool install mcpindex-gate && mcpindex-config-wire
Trust verdict · v1 advisory · method
NOT YET SCREENEDno verdict on file

Verdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.

Own this server? Screen its description →

That verdict was true at screening time (snapshot 2026-08-12).

Contracts can change after screening, with no version bump. The gate pins io.github.yBookoff/thebrain’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.

See your first HOLD in 2 minutes →

Related: how to trust an MCP server · screen before install · silent contract drift

Environment variables
THEBRAIN_API_KEY
requiredsecret

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

THEBRAIN_BASE_URL

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

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

MCP quality score · maturity, not trust · methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
Alternatives in Search