Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
MCPpedia last refreshed this data
io.github.miisodev/brainllm is an MCP server that self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"BrainLLM": {
"env": {
"TRILIUM_BASE_URL": "http://localhost:8080",
"TRILIUM_ETAPI_TOKEN": "your-etapi-token-here"
},
"args": [
"run",
"/absolute/path/to/BrainLLM/dist/index.js"
],
"command": "bun"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked brainllm against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
Unified real-time search engine skill for AI agents.
The official MCP server implementation for the Perplexity API Platform
Free, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design inspiration from award-winning websites — search with real screenshots, pull design DNA, capture and record live sites. A Mobbin alternative. No API key.
MCP Security Weekly
Get CVE alerts and security updates for io.github.miisodev/brainllm and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give Claude a memory that survives the session.
Site · Connect to Claude · How it works · Quick start · Privacy
BrainLLM is built and maintained by one person, and it's free. If it earns a place in your work, please consider sponsoring it. Sponsorship pays for the hours that keep it current with Trilium, the MCP specification and the clients that connect to it.
What sponsors get: a copy of the architecture reference, the from-source guide to every module, the tool behaviour, the content pipeline, the session gate, the lifecycle sweeps, deployment and the OAuth server. It isn't published in this repository and is kept current with each release. Ask for it through GitHub Sponsors or by email.
Starring the repository and telling one person who'd use it help too.
LLMs forget. Every session starts from zero: who you are, what you're building, what was decided yesterday, what went wrong last week. You end up re-explaining your own life to a collaborator who was there.
BrainLLM is the memory that fixes that. It's an MCP server that gives the model a real, persistent memory inside TriliumNext Notes, the open-source knowledge base you host yourself. The model opens each session by loading who you are and what's live, writes durable facts the moment they surface, links what it learns into a typed graph, and closes each session with a log, a diary entry and a database backup. The next session picks up where the last one ended.
Every memory is an ordinary note you can open, read and correct by hand. Correct one, and the model reads your correction next session. Nothing is hidden in an embedding store or a vendor's account, and if this project disappeared tomorrow, your brain would still open and still make sense.
The model supplies content. The server owns form.
Placement, labels, deduplication, dates, relations, lifecycle and backups are server policy, enforced at the tool layer. A rule the model is asked to follow holds until the model has a bad day. A rule the server enforces holds.
BrainLLM is for people who run an LLM as a long-running collaborator, not a one-shot answer box.
| You want the model to... | BrainLLM gives it |
|---|---|
| Know you without being told again | Your biography, goals and preferences, loaded in full at the start |