mcpbeat Sign in

Brainllm MCP Server

local only

Brainllm runs on your own machine — the client starts it, so there is no endpoint to ping. 971 installs a week from npm. Last commit 4 Nov 2026.

Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.

Installs per day peak 506 · avg 117 · +88% w/w
a month agotoday
971
Installs / week
npm · brainllm
0
Stars
0 open issues
4 Nov 2026
Last commit
32 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Brainllm 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 brainllm -e 'TRILIUM_BASE_URL=<TRILIUM_BASE_URL>' -- npx -y brainllm
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "brainllm": {
      "command": "npx",
      "args": [
        "-y",
        "brainllm"
      ],
      "env": {
        "TRILIUM_BASE_URL": "<TRILIUM_BASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.brainllm]
command = "npx"
args = ["-y", "brainllm"]
env = { TRILIUM_BASE_URL = "<TRILIUM_BASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "brainllm": {
      "command": "npx",
      "args": [
        "-y",
        "brainllm"
      ],
      "env": {
        "TRILIUM_BASE_URL": "<TRILIUM_BASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "brainllm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brainllm"
      ],
      "env": {
        "TRILIUM_BASE_URL": "<TRILIUM_BASE_URL>"
      }
    }
  }
}

Put your own value in place of <TRILIUM_BASE_URL> (Base URL of the TriliumNext instance, e.g. http://localhost:8080). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: TRILIUM_ETAPI_TOKEN (ETAPI token. Required unless TRILIUM_PASSWORD is set. Create one in Trilium under Options → ETAPI), TRILIUM_PASSWORD (Alternative to TRILIUM_ETAPI_TOKEN — BrainLLM mints a token on first start and caches it beside brainllm.json), BRAINLLM_MODE (core (default) exposes the 45 brain-aware tools; full additionally exposes the 33 raw ETAPI tools), BRAINLLM_TZ (IANA timezone used to stamp dated notes, e.g. Africa/Johannesburg. Defaults to the host timezone), BRAINLLM_OWNER_PASSWORD (Enables the OAuth 2.1 / CIMD endpoints required by claude.ai and other hosted Claude surfaces. This is the password entered on the consent screen when authorizing a client), BRAINLLM_OAUTH_SECRET (Optional 32+ character deployment secret for signing OAuth tokens; rotate it to invalidate old tokens), BRAINLLM_PUBLIC_URL (Override for the public origin when a proxy rewrites Host. Must exactly match the URL entered in the client), BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP (Explicit trusted-network-only escape hatch for HTTP mode. Never enable on a public interface), BRAINLLM_TRUST_PROXY (Trust forwarded host/protocol headers for OAuth discovery only when a trusted reverse proxy sets them).

Alternatives to Brainllm

same job, measured the same way
Docmost (self-hosted)
by bbik52

Self-hosted remote MCP server for Docmost CE: members read and edit the wiki as themselves

416 installs/wk local only
Rustpad MCP Server
by ni-c

MCP server for Rustpad, the self-hosted collaborative text editor

84 installs/wk local only
Motecloud Memory
by motecloud

Cloud-hosted MCP server for durable AI memory

answering
Mealie MCP Server
by ni-c

MCP server for Mealie, the self-hosted recipe manager and meal planner

115 installs/wk local only
Telegram Bot MCP Server
by cyuanxv

Self-hosted Telegram Bot MCP server for rich text, media and interactive buttons.

296 installs/wk local only
Substrate
by trysubstrate

Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.

answering
TriliumNext (trilium-mcp)
by ovden13

Read and write a self-hosted TriliumNext knowledge base over its ETAPI.

local only
Strata
by agenerationforwordz-tech

Self-hosted AI memory server. Persistent memory on your hardware, not the cloud.

26 installs/wk local only

Brainllm — questions

Answers built from our own checks of this server.

Why is there no uptime for Brainllm?
Brainllm 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 brainllm was installed 971 times last week.
How do I connect Brainllm?
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 brainllm straight from npm; nothing to host, nothing to sign up for.
How many people use Brainllm?
The npm package brainllm was installed 971 times in the last week. Week over week that is +88%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Brainllm open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 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.