mcpbeat Sign in

Thebrain MCP Server

local only

Thebrain runs on your own machine — the client starts it, so there is no endpoint to ping. 115 installs a week from npm. Last commit 14 Oct 2026.

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

Installs per day peak 410 · avg 23 · +1463% w/w
a month agotoday
115
Installs / week
npm · thebrain-mcp-server
8
Stars
0 open issues
14 Oct 2026
Last commit
8 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Thebrain every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add thebrain -e 'THEBRAIN_API_KEY=<THEBRAIN_API_KEY>' -- npx -y thebrain-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "thebrain": {
      "command": "npx",
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "env": {
        "THEBRAIN_API_KEY": "<THEBRAIN_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.thebrain]
command = "npx"
args = ["-y", "thebrain-mcp-server"]
env = { THEBRAIN_API_KEY = "<THEBRAIN_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "thebrain": {
      "command": "npx",
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "env": {
        "THEBRAIN_API_KEY": "<THEBRAIN_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "thebrain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "thebrain-mcp-server"
      ],
      "env": {
        "THEBRAIN_API_KEY": "<THEBRAIN_API_KEY>"
      }
    }
  }
}

Put your own value in place of <THEBRAIN_API_KEY> (Local API key from TheBrain: Settings > User > Local API Key). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: 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).

Alternatives to Thebrain

same job, measured the same way
Localgym MCP Server
by lo-nau

Read-only MCP server for UK gym search using the LocalGym Agent API.

62 installs/wk local only
Logseq MCP
by mrfentmen

MCP server for Logseq: graphs, pages, blocks via the local HTTP API plugin.

66 installs/wk local only
Lynx
by lorenzo-cambiaghi

LynxMCP: 100% local MCP server for the code questions grep can't answer: call graph, hybrid search

156 installs/wk local only
Qontoctl
by alexey-pelykh

CLI and MCP server for the Qonto banking API

161 installs/wk local only
Link
by gowtham0992

Local personal memory for agents as MCP tools — remember, recall, search, context, graph traversal.

945 installs/wk local only
SerpApi
by serpapi

Official SerpApi MCP server for Google, Bing, and other search engines.

3 tools answering
Withings MCP
by partymola

MCP server for the Withings Health API with OAuth, local SQLite cache, and trend analysis.

155 installs/wk local only
Memory MCP Server
by j0hanz

SQLite-backed MCP server for persistent memory, full-text retrieval, and graph traversal.

66 installs/wk local only

Thebrain — questions

Answers built from our own checks of this server.

Why is there no uptime for Thebrain?
Thebrain runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package thebrain-mcp-server was installed 115 times last week.
How do I connect Thebrain?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls thebrain-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Thebrain?
The npm package thebrain-mcp-server was installed 115 times in the last week. Week over week that is +1463%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Thebrain open source?
Yes — it is published under the MIT licence, written in TypeScript and 8 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.