IndexN°11

BrainLLM

Persistent, graph-shaped memory for Claude and any MCP client.

Version 12.8.0Open sourceMCP server, self-hosted on TriliumNext

Tools

01What it is

BrainLLM turns a self-hosted TriliumNext instance into a memory a model keeps across sessions: five areas, typed relations, and a session lifecycle the server enforces. The model supplies content; the server owns form.

It is the memory this operation runs on, and this site was written from it.

02Specification

Version
12.8.0
Licence
MIT
Install
npm brainllm · MCP registry io.github.miisodev/brainllm
Transport
stdio locally · authenticated HTTP when hosted
Built with
Bun · TypeScript · Model Context Protocol · ETAPI · Zod

03How it works

  1. The server owns form

    Placement, labels, deduplication, lifecycle and dates are deterministic server policy, never requests in a prompt.

  2. A typed graph, not a pile

    Sixteen relation verbs connect notes, with backlinks, paths and a rendered Mermaid view of the whole.

  3. Sessions that close honestly

    The close gate checks the calls actually made and refuses to finish until the record is written.