io.github.miisodev/brainllm
Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
- Repository
- github.com/miisodev/BrainLLM
- Website
- miiso.dev/brainllm
- Version
- 13.3.5
- Author
- miisodev (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 28, 2026)
How to install it
Variables to fill in: TRILIUM_BASE_URL, TRILIUM_ETAPI_TOKEN, TRILIUM_PASSWORD, BRAINLLM_MODE, BRAINLLM_TZ, BRAINLLM_OWNER_PASSWORD, BRAINLLM_OAUTH_SECRET, BRAINLLM_PUBLIC_URL, BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP, BRAINLLM_TRUST_PROXY.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add brainllm -e TRILIUM_BASE_URL=YOUR_TRILIUM_BASE_URL -e TRILIUM_ETAPI_TOKEN=YOUR_TRILIUM_ETAPI_TOKEN -e TRILIUM_PASSWORD=YOUR_TRILIUM_PASSWORD -e BRAINLLM_MODE=YOUR_BRAINLLM_MODE -e BRAINLLM_TZ=YOUR_BRAINLLM_TZ -e BRAINLLM_OWNER_PASSWORD=YOUR_BRAINLLM_OWNER_PASSWORD -e BRAINLLM_OAUTH_SECRET=YOUR_BRAINLLM_OAUTH_SECRET -e BRAINLLM_PUBLIC_URL=YOUR_BRAINLLM_PUBLIC_URL -e BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP=YOUR_BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP -e BRAINLLM_TRUST_PROXY=YOUR_BRAINLLM_TRUST_PROXY -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"brainllm": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "YOUR_TRILIUM_BASE_URL",
"TRILIUM_ETAPI_TOKEN": "YOUR_TRILIUM_ETAPI_TOKEN",
"TRILIUM_PASSWORD": "YOUR_TRILIUM_PASSWORD",
"BRAINLLM_MODE": "YOUR_BRAINLLM_MODE",
"BRAINLLM_TZ": "YOUR_BRAINLLM_TZ",
"BRAINLLM_OWNER_PASSWORD": "YOUR_BRAINLLM_OWNER_PASSWORD",
"BRAINLLM_OAUTH_SECRET": "YOUR_BRAINLLM_OAUTH_SECRET",
"BRAINLLM_PUBLIC_URL": "YOUR_BRAINLLM_PUBLIC_URL",
"BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP": "YOUR_BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP",
"BRAINLLM_TRUST_PROXY": "YOUR_BRAINLLM_TRUST_PROXY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"brainllm": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "YOUR_TRILIUM_BASE_URL",
"TRILIUM_ETAPI_TOKEN": "YOUR_TRILIUM_ETAPI_TOKEN",
"TRILIUM_PASSWORD": "YOUR_TRILIUM_PASSWORD",
"BRAINLLM_MODE": "YOUR_BRAINLLM_MODE",
"BRAINLLM_TZ": "YOUR_BRAINLLM_TZ",
"BRAINLLM_OWNER_PASSWORD": "YOUR_BRAINLLM_OWNER_PASSWORD",
"BRAINLLM_OAUTH_SECRET": "YOUR_BRAINLLM_OAUTH_SECRET",
"BRAINLLM_PUBLIC_URL": "YOUR_BRAINLLM_PUBLIC_URL",
"BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP": "YOUR_BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP",
"BRAINLLM_TRUST_PROXY": "YOUR_BRAINLLM_TRUST_PROXY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"brainllm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "YOUR_TRILIUM_BASE_URL",
"TRILIUM_ETAPI_TOKEN": "YOUR_TRILIUM_ETAPI_TOKEN",
"TRILIUM_PASSWORD": "YOUR_TRILIUM_PASSWORD",
"BRAINLLM_MODE": "YOUR_BRAINLLM_MODE",
"BRAINLLM_TZ": "YOUR_BRAINLLM_TZ",
"BRAINLLM_OWNER_PASSWORD": "YOUR_BRAINLLM_OWNER_PASSWORD",
"BRAINLLM_OAUTH_SECRET": "YOUR_BRAINLLM_OAUTH_SECRET",
"BRAINLLM_PUBLIC_URL": "YOUR_BRAINLLM_PUBLIC_URL",
"BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP": "YOUR_BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP",
"BRAINLLM_TRUST_PROXY": "YOUR_BRAINLLM_TRUST_PROXY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.miisodev/brainllm)HTML
<a href="https://lagora.dev/en/entry/io.github.miisodev/brainllm"><img src="https://lagora.dev/badge/io.github.miisodev/brainllm.svg?lang=en" alt="io.github.miisodev/brainllm on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.