# brainllm

MCP server that turns TriliumNext Notes into a persistent, graph-structured second brain for Claude and other LLM clients.

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 12.7.1
- **Author:** Kevin Miiso Novo
- **License:** MIT
- **npm:** brainllm
- **Source:** https://github.com/miisodev/BrainLLM
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 46 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-08-20T11:39:00.476Z
- **Version scanned:** 10.5.2
- **CVEs:** none found by OSV at scan time

## Tools

Tool surface: no readable artifact — tool surface unknown.

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"brainllm\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"brainllm\"\n      ],\n      \"env\": {\n        \"TRILIUM_ETAPI_TOKEN\": \"<YOUR_TRILIUM_ETAPI_TOKEN>\",\n        \"TRILIUM_PASSWORD\": \"<YOUR_TRILIUM_PASSWORD>\",\n        \"BRAINLLM_OWNER_PASSWORD\": \"<YOUR_BRAINLLM_OWNER_PASSWORD>\",\n        \"BRAINLLM_OAUTH_SECRET\": \"<YOUR_BRAINLLM_OAUTH_SECRET>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `TRILIUM_ETAPI_TOKEN` — Trilium Etapi Token (optional)
- `TRILIUM_PASSWORD` — Trilium Password (optional)
- `BRAINLLM_OWNER_PASSWORD` — Brainllm Owner Password (optional)
- `BRAINLLM_OAUTH_SECRET` — Brainllm OAuth Secret (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 4 credentials (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate to critical — no readable artifact — tool surface unknown. Known so far: holds an oauth grant; runs on your machine.
- Floor 28, ceiling 78 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/brainllm
- Install plan: https://forgeregistry.com/api/v1/packages/brainllm/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/brainllm
- HTML page: https://forgeregistry.com/registry/brainllm
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
