Thebrain
io.github.yBookoff/thebrain
v0.3.0Updated Oct 14, 2026stdio · npm
MCP server for TheBrain 15: search by meaning, graph traversal and batch writes over the local API
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add thebrain -e 'THEBRAIN_API_KEY=<your-thebrain-api-key>' -- npx -y [email protected]Configuration
7 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
THEBRAIN_API_KEYEnv var· required· secretLocal API key from TheBrain: Settings > User > Local API KeyTHEBRAIN_BASE_URLEnv var· optionalAddress of the local API. Default http://localhost:11522, then http://localhost:8001 for older TheBrain buildsTHEBRAIN_DATA_DIREnv var· optionalWhere semantic indexes are stored. Default ~/.thebrain-mcpTHEBRAIN_ALLOW_DESTRUCTIVEEnv var· optionalSet to 1 to allow deleting thoughts. Deletion still requires human confirmation. Default 0THEBRAIN_EMBEDDING_MODELEnv var· optionalEmbedding model for semantic search. Default Xenova/multilingual-e5-smallTHEBRAIN_EMBEDDING_DTYPEEnv var· optionalWeight precision: fp32, fp16, q8 or q4. Default q8
Show 1 moreShow fewer
THEBRAIN_TIMEOUT_MSEnv var· optionalAPI request timeout in milliseconds. Default 30000
Links
Listed in the official MCP Registry since Oct 14, 2026. Mirrored daily; last checked Nov 26, 2026.