brainllm
io.github.miisodev/brainllm
About brainllm
brainllm is an MCP server published by the GitHub account miisodev. Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
It runs on your own machine: your AI client starts it from the npm package brainllm at version 13.1.0.
It asks for 4 secrets: TRILIUM_ETAPI_TOKEN, TRILIUM_PASSWORD, BRAINLLM_OWNER_PASSWORD and BRAINLLM_OAUTH_SECRET. Give it a key with the least access that still works.
It also needs TRILIUM_BASE_URL set before it starts.
Version 13.1.0 was published on 20 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 1 warn, 0 fail, 1 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
TRILIUM_BASE_URL | Yes | No | Base URL of the TriliumNext instance, e.g. http://localhost:8080 |
TRILIUM_ETAPI_TOKEN | No | Yes | ETAPI token. Required unless TRILIUM_PASSWORD is set. Create one in Trilium under Options → ETAPI. |
TRILIUM_PASSWORD | No | Yes | Alternative to TRILIUM_ETAPI_TOKEN — BrainLLM mints a token on first start and caches it beside brainllm.json. |
BRAINLLM_MODE | No | No | core (default) exposes the 45 brain-aware tools; full additionally exposes the 33 raw ETAPI tools. |
BRAINLLM_TZ | No | No | IANA timezone used to stamp dated notes, e.g. Africa/Johannesburg. Defaults to the host timezone. |
BRAINLLM_OWNER_PASSWORD | No | Yes | 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 | No | Yes | Optional 32+ character deployment secret for signing OAuth tokens; rotate it to invalidate old tokens. |
BRAINLLM_PUBLIC_URL | No | No | Override for the public origin when a proxy rewrites Host. Must exactly match the URL entered in the client. |
BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP | No | No | Explicit trusted-network-only escape hatch for HTTP mode. Never enable on a public interface. |
BRAINLLM_TRUST_PROXY | No | No | Trust forwarded host/protocol headers for OAuth discovery only when a trusted reverse proxy sets them. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/miisodev/BrainLLM |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Warn | Asks for 4 secrets: TRILIUM_ETAPI_TOKEN, TRILIUM_PASSWORD, BRAINLLM_OWNER_PASSWORD, BRAINLLM_OAUTH_SECRET |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account miisodev |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | brainllm@13.1.0 runs nothing at install |
| Code red flags | Pass | Read 13 files in brainllm@13.1.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 13 files, including comments and the README |
Popularity & health: 59 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
1 forks, 10 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.miisodev/brainllm |
|---|---|
| Publisher | GitHub account miisodev |
| How the name is verified | Name verified via GitHub account miisodev. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm brainllm 13.1.0 (stdio) |
| Version | 13.1.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/miisodev/BrainLLM |
| Website | https://miisodev.github.io/BrainLLM/ |
| Category | Productivity & notes (assigned by keyword rule, not by hand) |
Related servers in Productivity & notes
- TriliumNext (trilium-mcp)4/4Read and write a self-hosted TriliumNext knowledge base over its…
- elefante7/7Open, Git-native memory protocol for MCP agents. Portable,…
- Calera Infinite Context (ICX) — Persistent Memory & Associative Recall4/4Sub-5ms topological 4D associative memory coprocessor for LLMs and…
- Memwyre3/3Universal persistent memory and knowledge retrieval layer for AI…
- memograph7/7Graph-based memory system for LLMs with knowledge graphs and…
- SmartMemory2/2Neuro-symbolic memory for LLMs (POC)