Big Brain

v0.4.0
io.github.jzhao234/big-brain Checked 1 day ago Published 12 days ago

Plain-markdown second brain for you and your AI: notes, projects, tasks, search, links.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

brain_overview Vault overview

Orient yourself in the user's second brain: active projects with next tasks, overdue and upcoming tasks, unprocessed inbox items, and recently touched notes. Call this at the start of a session or when asked 'what am I working on?'.

search_notes Search notes

Search the vault: full-text (titles boosted, fuzzy + prefix matching), fused with local semantic search when the vault has embeddings enabled. Filter by type (note/project/daily/person/reference/area), tag, folder prefix, or frontmatter status.

ParameterTypeDescription
query *stringSearch terms
folderstringRestrict to a folder prefix, e.g. 'reference'
limitintegerMax results (default 20)
statusstringRestrict by frontmatter status, e.g. 'active'
tagstringRestrict to notes with this tag (no #)
typestringRestrict to a note type, e.g. 'project'

read_note Read a note

Read a note by path, title, alias, or filename (case-insensitive). Returns frontmatter and full body.

ParameterTypeDescription
ref *stringPath like 'projects/Foo.md', or a title/alias

create_note Create a note

Create a markdown note. type decides the default folder (note→notes/, project→projects/, person→people/, reference→reference/, area→areas/, inbox→inbox/; any other type→notes/); folder overrides it. Use [[wikilinks]] in the body to connect it to related notes — always link generously.

ParameterTypeDescription
title *stringNote title (becomes the filename)
bodystringMarkdown body; use [[wikilinks]] to related notes
folderstringVault-relative folder to create the note in, e.g. 'brag'; overrides the type's folder
frontmatterobjectExtra frontmatter keys, e.g. {status:'active'}
overwritebooleanReplace an existing note at the same path
tagsarrayTags without #
typestringNote type written to frontmatter (default 'note'); built-in types also pick the folder, custom ones (e.g. 'brag', 'client') default to notes/

append_note Append to a note

Append markdown to a note, optionally under a specific heading (created at the end if missing). The safe default way to add content without overwriting anything.

ParameterTypeDescription
ref *stringNote path, title, or alias
text *stringMarkdown to append
headingstringSection heading to append under, e.g. 'Log'

update_frontmatter Update note frontmatter

Merge keys into a note's YAML frontmatter (set a key to null to remove it). Use for status, priority, due, area, tags, aliases.

ParameterTypeDescription
ref *stringNote path, title, or alias
updates *objectKeys to set; null deletes a key

replace_note_body Replace a note's body

Rewrite a note's entire body (frontmatter preserved). Prefer append_note for additions; use this only for deliberate rewrites/reorganizations.

ParameterTypeDescription
body *stringNew markdown body
ref *stringNote path, title, or alias

archive_note Archive a note

Move a note into the archive folder (the non-destructive alternative to deletion). Archived notes are excluded from search and listings by default.

ParameterTypeDescription
ref *stringNote path, title, or alias

capture Capture to inbox

Quick-capture a thought, link, or piece of information into the inbox for later processing. Use when something is worth keeping but you don't yet know where it belongs.

ParameterTypeDescription
text *stringThe content to capture (markdown ok)
titlestringOptional title; derived from the text if omitted

daily_note Get or create the daily note

Return today's daily note (or a specific date's), creating it from the daily template if needed.

ParameterTypeDescription
datestringYYYY-MM-DD (default today)

daily_log Log to the daily note

Append a timestamped entry to today's daily note Log section. Use to record decisions, progress, and events as they happen — this builds the user's work journal.

ParameterTypeDescription
text *stringWhat happened / what was decided

list_notes List notes

List notes by folder, type, or tag, most recently modified first. Use for browsing; use search_notes for content queries.

ParameterTypeDescription
folderstringFolder prefix, e.g. 'people'
limitintegerMax results (default 30)
tagstringTag filter (no #)
typestringNote type filter

list_tags List tags

All tags in the vault with usage counts, most used first.

list_projects List projects

List projects with status, open/done task counts, and next tasks. Statuses: idea, active, paused, done, dropped.

ParameterTypeDescription
statusstringFilter by status, e.g. 'active'

create_project Create a project

Create a project note (Goal/Tasks/Notes/Log sections) with status frontmatter. Projects are the unit of ongoing work; link related notes to them with [[wikilinks]].

ParameterTypeDescription
title *stringProject name
areastringLife/work area this belongs to
duestringTarget date YYYY-MM-DD
folderstringVault-relative folder, e.g. 'life/projects' (default: the vault's projects folder)
goalstringOne-paragraph definition of done
statusstringInitial status (default active)
tagsarray

set_project_status Set project status

Change a project's status (idea/active/paused/done/dropped). 'done' stamps a completion date.

ParameterTypeDescription
ref *stringProject path or title
status *string

list_tasks List tasks

List checkbox tasks across the vault, sorted by due date then priority. Filter by status (open/done/all), project, tag, or dueBy date.

ParameterTypeDescription
dueBystringDue on or before this date
projectstringOnly tasks in this project (title or path)
statusstringDefault 'open'
tagstring

add_task Add a task

Add a checkbox task to a project's Tasks section (or today's daily note if no note given). Supports due date and priority.

ParameterTypeDescription
text *stringTask description
duestringYYYY-MM-DD
headingstringSection to file under (default 'Tasks')
notestringProject/note to attach to (title or path); default today's daily note
prioritystring

complete_task Complete a task

Mark a task done by id (from list_tasks) or by a unique text fragment. Stamps today's date.

ParameterTypeDescription
task *stringTask id or unique text fragment

update_task Update a task

Edit one task in place: reschedule (due), reprioritize, reword, reopen, or cancel — without rewriting the note. Matches by id (from list_tasks) or a unique text fragment, including done and cancelled tasks. Use complete_task to finish a task.

ParameterTypeDescription
task *stringTask id or unique text fragment
dueNew due date YYYY-MM-DD, or null to clear
priorityNew priority, or null for normal
statusstring'open' reopens, 'done' completes (stamps today), 'cancelled' drops it
textstringNew description; dates and priority are kept. Include any #tags to keep

vault_health Vault health check

Lint the vault: broken wikilinks, duplicate titles, stale active projects, overdue tasks, orphan notes, inbox pileup. Use during reviews.