Skip to content
Claude Code

brainllm for Claude Code

io.github.miisodev/brainllm

Persistent graph-structured memory for LLMs in TriliumNext Notes — readable and editable by humans.

client:Claude Code transport:stdio runtime:npm

Install brainllm in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add brainllm -e TRILIUM_BASE_URL=<TRILIUM_BASE_URL> -e TRILIUM_ETAPI_TOKEN=<TRILIUM_ETAPI_TOKEN> -e TRILIUM_PASSWORD=<TRILIUM_PASSWORD> -e BRAINLLM_MODE=<BRAINLLM_MODE> -e BRAINLLM_TZ=<BRAINLLM_TZ> -e BRAINLLM_OWNER_PASSWORD=<BRAINLLM_OWNER_PASSWORD> -e BRAINLLM_OAUTH_SECRET=<BRAINLLM_OAUTH_SECRET> -e BRAINLLM_PUBLIC_URL=<BRAINLLM_PUBLIC_URL> -e BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP=<BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP> -e BRAINLLM_TRUST_PROXY=<BRAINLLM_TRUST_PROXY> -- npx -y brainllm

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

brainllm in other clients