Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Brain.md MCP server

by mi4uu/brain.mdAGPL-3.0 licenceAudited 9 Oct 2026 · source db3b8ed9ff75

npm @brain/web 0.4.10streamable-http★ 33
✓SAFEGrade B · 89/100 · 9 Oct 2026 · db3b8ed
33GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 17 tools: 16 read, 1 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 0 medium, 9 low). Maintainer's description: Local-first markdown notes with a first-class MCP server. 16 tools + 2 resources for Claude Code, Claude Desktop, Cursor and any MCP agent. Per-folder permissions, semantic RAG via LanceDB, single Bun binary. AGPL.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Brain.md MCP server (mi4uu/brain.md)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/mi4uu/brain-md

Trust audit

Audit 0.4.1 · full source read 9 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium9 low4 info

13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared8 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 9 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner mi4uuUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@brain/web at version 0.4.10
  • LicenceAGPL-3.0From the repository, as read at the audited commit.
  • Last push53 days agoActivity of the repository when we read it.
  • Source commit readdb3b8ed9ff75The audit covers exactly this commit, read on 9 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory17 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (13)

Sorted by severity

LOWFilesystem / pathfs.traversal · scripts/gen-web-assets.ts:54
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const importPath = "../../../web/dist/" + rel;
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import f0 from "../../../web/dist/.DS_Store" with { type: "file" };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:12
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import f1 from "../../../web/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2" with { type: "file" };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:13
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import f2 from "../../../web/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff" with { type: "file" };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import f3 from "../../../web/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf" with { type: "file" };
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · server/test/api.rag.test.ts:68
F-04 Network egressCWE-200 · CWE-319Layer L1
baseURL: "http://127.0.0.1:1",
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
typescript
Why
1 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · server/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@elysiajs/cors, @lancedb/lancedb, @modelcontextprotocol/sdk, apache-arrow, elysia, gpt-tokenizer, onnxruntime-web, yaml
Why
11 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · web/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@codemirror/autocomplete, @codemirror/commands, @codemirror/lang-markdown, @codemirror/language, @codemirror/search, @codemirror/state, @codemirror/view, @lezer/highlight
Why
57 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · server/src/rag/assets/ort-wasm-simd-threaded.wasm
F-13 Inventory / provenanceCWE-1104Layer L0
server/src/rag/assets/ort-wasm-simd-threaded.wasm
Why
13022405 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · web/public/icon_.svg
F-13 Inventory / provenanceCWE-1104Layer L0
web/public/icon_.svg
Why
1027734 bytes not read
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:121
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/mi4uu/brain.md/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:162
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL https://raw.githubusercontent.com/mi4uu/brain.md/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

17 declared in source · 0 destructive

16 read1 write0 destructive
ToolRiskWhat it does
write_notewriteNo description in the source
append_notereadNo description in the source
compare_notesreadNo description in the source
context_for_queryreadNo description in the source
current_datetimereadNo description in the source
find_orphansreadNo description in the source
find_relatedreadNo description in the source
find_similar_tasksreadNo description in the source
get_backlinksreadNo description in the source
get_tasksreadNo description in the source
list_notesreadNo description in the source
list_tagsreadNo description in the source
read_notereadNo description in the source
search_notesreadNo description in the source
semantic_outlinereadNo description in the source
similar_notesreadNo description in the source
weekly_digestreadNo description in the source

Install

Package version 0.4.10 · audited commit db3b8ed

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.4.10. The audit covers commit db3b8ed only.

claude mcp add web --env BRAINMD_LOG_OAUTH=${BRAINMD_LOG_OAUTH} -- npx -y @brain/[email protected]

The command pins the package version recorded in the source (0.4.10); the audit covers commit db3b8ed9ff75. Transport: streamable-http. Reads this environment variable: BRAINMD_LOG_OAUTH. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · db3b8ed9ff75

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/mi4uu/brain-md/badge.svg)](https://modelsatlas.com/mcp/mi4uu/brain-md/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Brain.md MCP server

What is the Brain.md MCP server?
Local-first markdown notes with a first-class MCP server. 16 tools + 2 resources for Claude Code, Claude Desktop, Cursor and any MCP agent. Per-folder permissions, semantic RAG via LanceDB, single Bun binary. AGPL.
What tools does Brain.md expose?
17 in total: 16 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Brain.md safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Brain.md need?
It reads BRAINMD_LOG_OAUTH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Brain.md run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @brain/web at 0.4.10.
How current is this page?
The grade is for one exact copy of the source (db3b8ed9ff75), read on 2026-10-09. The repository is watched and re-audited when it changes.

Sources

  • mi4uu/brain.md on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit db3b8ed9ff75Observed · 9 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.