1. Conduid
  2. RAG
  3. Brain.md
MCP server · RAG

Brain.md

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.

59Fair

Scored 23 hours ago · breakdown

About Brain.md

Brain.md is an MCP server published by mi4uu in the RAG category: 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. Conduid read 20 tools from its source: append_note, compare_notes, context_for_query, current_datetime, find_orphans, find_related and 14 more. No package is published for it, so it installs from a source checkout.

The repository has 40 stars and 4 forks, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. Its topics include agpl, bun, knowledge-management, lancedb, local-first and markdown-editor.

Install

From source
git clone https://github.com/mi4uu/brain.md

Tools (20)

append_noteAppend a paragraph (blank-line separator)
ParameterTypeDescription
base_revisionstring
content *string
path *string
compare_notesCosine sim + unified diff + shared headings between two notes
ParameterTypeDescription
a *string
b *string
context_for_queryPack top-relevant chunks into a markdown context block (token cap)
ParameterTypeDescription
budget_tokensnumber
query *string
current_datetimeServer date, time and timezone, so agents never guess "now"
find_orphansNotes with 0 backlinks AND low semantic neighbour density
ParameterTypeDescription
limitnumber
min_isolationnumber
find_relatedNotes semantically close to a given path (excludes self)
ParameterTypeDescription
knumber
path *string
find_similar_tasksSemantic search across task lines (filter: open/done/all)
ParameterTypeDescription
filterstring
knumber
query *string
get_backlinksInbound wikilinks
ParameterTypeDescription
path *string
get_tasksAggregate tasks (filter: open/done/all)
ParameterTypeDescription
filterstring
graph_viewGraph of notes and links (whole vault, a folder, or around a note)
ParameterTypeDescription
centerstring
depthnumber
folderstring
list_notesFiltered vault tree, paged
ParameterTypeDescription
folderstring
include_hiddenboolean
list_tagsTags with counts, most used first, paged
query_notesNotes as a table: filter, columns, sort, or a Base view
ParameterTypeDescription
basestring
columnsarray
filterstring
pathstring
sortarray
viewstring
read_noteNote body, mtime, parsed `properties`
ParameterTypeDescription
path *string
search_notesFull-text vault search
ParameterTypeDescription
include_hiddenboolean
query *string
semantic_outlineCluster a note's chunks into topical groups (cosine ≥ threshold)
ParameterTypeDescription
path *string
thresholdnumber
similar_notesSemantic RAG (top-k chunks)
ParameterTypeDescription
knumber
query *string
update_propertiesChange frontmatter properties (`set`, `unset`, `base_revision`)
ParameterTypeDescription
base_revisionstring
path *string
setobject
unsetarray
weekly_digestTopic clusters across notes modified in a recent window (e.g. 7d)
ParameterTypeDescription
sincestring
thresholdnumber
write_noteCreate or overwrite a note
ParameterTypeDescription
base_revisionstring
content *string
create_onlyboolean
path *string

Security checks

6 checks have not been run yet.

Questions

About Brain.md

How do I install Brain.md?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Brain.md safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Brain.md still maintained?

Yes — the last commit was 2 days ago. The repository has 40 stars and 4 forks.

What tools does Brain.md provide?

Conduid read 20 tools from the source: append_note, compare_notes, context_for_query, current_datetime, find_orphans, find_related, find_similar_tasks, get_backlinks and 12 more. 18 of them publish their parameters, listed under Tools above.