Brainllm MCP server
io.github.miisodev/brainllm·v13.3.1Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
not scanned yet
0 stars1.8k downloads/wk
Reviews
Write oneNobody has reviewed Brainllm yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Brainllm tools
No tool declarations could be read from the package source. They show once the server is installed.
How Brainllm compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Downloads a week
- 1,835
- more than 95% of 12,191 servers with a package
Release history: 15 versions in the registry since 2026-09-10, latest 2026-11-03, typically one every 3 days.
Install Brainllm in Claude Code, Cursor or VS Code
Runs npx -y brainllm on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add brainllm -- npx -y brainllm
What the publisher says
From the Brainllm repository's README, as published. We do not edit it. Read it on GitHub
BrainLLM
Give Claude a memory that survives the session.
A persistent, graph-structured second brain for Claude and any MCP client — built on TriliumNext Notes, served over the Model Context Protocol.
brainllm site · How it works · Use cases · Docs
What is BrainLLM?
LLMs forget. Every session starts from zero: who you are, what you're working on, what was decided yesterday, what went wrong last week. BrainLLM fixes that.
BrainLLM is an MCP server that gives an LLM a real, persistent memory — stored in TriliumNext Notes, a mature open-source knowledge base you self-host and own. The model opens each session by loading who you are and what's live, writes durable facts the moment they surface, wires knowledge together as a typed graph, and closes each session with a log, a diary entry, and a database backup. The next session picks up exactly where the last one ended.
It's a single Bun/TypeScript service with two dependencies (the MCP SDK and Zod), speaking to Trilium exclusively through its public ETAPI. Your memory lives in your Trilium instance — inspectable, editable, and portable, never locked inside a vendor's black box.
Who it's for
Anyone running an LLM as a long-running collaborator, not a one-shot Q&A tool — across coding, research, personal knowledge management, or day-to-day operational tracking — who wants that collaborator to actually remember: who you are, what's in flight, what was decided, without you re-explaining it every session. If you're comfortable self-hosting one small service and a Trilium instance, BrainLLM turns "the model forgot everything again" into a solved problem. It works with any MCP-capable client (Claude Desktop, Claude Code, or anything else speaking MCP), not just one product.
From experiment to open source
BrainLLM began in February 2026 as a personal experiment: could an LLM operate a real, self-hosted second brain reliably enough to be trusted as its own memory — orienting, writing, connecting, and closing sessions without a human doing the filing? Through sustained daily, production use the answer held. The design has settled, the failure modes have been found and fixed, and the project has graduated from experiment to something efficient and stable enough to share — so it's now open source. It still runs the author's own sessions every day; what you're reading is the same code, not a demo. It also still carries the shape of one person's daily use — see Adapting to your environment for exactly what that means and what to change.
The core principle
The model supplies content. The server owns form.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Brainllm: common questions
- Is Brainllm MCP server safe?
- Mostly: it is graded B (75/100). Read the Brainllm safety report
- How do I install Brainllm?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Brainllm need an API key?
- Yes. The registry entry asks for
TRILIUM_ETAPI_TOKEN,TRILIUM_PASSWORD,BRAINLLM_OWNER_PASSWORD,BRAINLLM_OAUTH_SECRET. - Is Brainllm maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v13.3.1.
- How does Brainllm compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); downloads a week 1,835 (more than 95% of 12,191 servers with a package). Full comparison.