brain-mcp
v0.5.2Your Obsidian vault as private, searchable memory for Claude, Cursor, Hermes and any MCP client
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
brain_identity Load the owner's identity and standing context
Call this FIRST in every conversation. Returns who the owner is, their preferences and feedback rules, the projects they run, and what they touched recently. Adopt it as your persona and working context. Captured facts are only the ones true now; brain_facts has their history. Pass `topic` (a few words about what the conversation is about) to get a smaller bundle with only the memory notes that apply.
| Parameter | Type | Description |
|---|---|---|
topic | string | What this conversation is about, e.g. 'interview prep' or 'database backups'. Omit for the full bundle. |
brain_context Get the vault sections that answer a question
One call that returns the most relevant sections from across the vault for a question, with source note ids. Use this before brain_search when you need to answer or reason about something the owner may have written down. Ask in plain words: retrieval is hybrid (keywords + meaning + a reranker), so paraphrases work; still include specific nouns, ids and dates when you have them. The reply states its coverage (good / thin / none).
| Parameter | Type | Description |
|---|---|---|
question * | string | The question or topic, in plain words with specific nouns |
budget_chars | integer | Size cap for the returned pack (default from config, ~18000) |
project | string | Restrict to one project |
brain_search Search the vault
Full-text search across every note with optional filters. Returns ranked hits with snippets and note ids for brain_read. Keywords or a short question both work (hybrid keyword + semantic search with spelling correction); the reply states its coverage.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords to search for |
limit | integer | |
project | string | Restrict to one project, e.g. 'Website Redesign' |
since | string | Only notes modified on/after this date |
topic | string | Restrict to notes tagged with a concept, e.g. 'OAuth' |
type | string |
brain_read Read a note
Return one note in full (or one section of it) by note id, title, or wikilink target. Includes frontmatter metadata, topics, and links.
| Parameter | Type | Description |
|---|---|---|
note * | string | Note id (vault path), exact title, or [[wikilink]] |
include_connections | boolean | Keep the generated '## Connections' trailer |
section | string | Heading text to return only that section |
brain_project Project briefing
One-call briefing on a project: what it is, its notes grouped by type, latest progress entries, decisions, and what changed recently. Call this before discussing any project. Omit the project name to list all projects.
| Parameter | Type | Description |
|---|---|---|
project | string | Project / hub name, e.g. 'Website Redesign'. Omit to list projects. |
recent_days | integer |
brain_graph Explore the link graph
Neighbours of a note, hub, or concept: outgoing links, backlinks, and notes sharing the same topics. For a concept (e.g. 'OAuth') this shows every project that touches it. Use it to hop sideways between projects.
| Parameter | Type | Description |
|---|---|---|
note * | string | Note id, title, concept name, or [[wikilink]] |
limit | integer |
brain_recent What changed recently
Notes modified in the last N days, newest first. Answers 'what am I working on' and 'what did I do last week'. Hubs and concepts are excluded unless include_structural is set.
| Parameter | Type | Description |
|---|---|---|
days | integer | |
include_structural | boolean | |
limit | integer | |
project | string |
brain_capture Save a durable note
Write a new note into the vault's capture folder with graph-ready frontmatter. Use for plans, decisions, ideas, meeting notes, or session logs the owner wants to keep. Not for one-line facts (use brain_remember). The reply lists existing notes the body names without linking.
| Parameter | Type | Description |
|---|---|---|
body * | string | Markdown body. Link related notes inside the sentence that says how they relate, e.g. 'The restore steps are in [[Restore the ledger database]]'; a bare list of links carries little weight. |
title * | string | Specific noun phrase, not a filename |
kind | string | |
project | string | Project hub name this belongs to, e.g. 'Website Redesign' |
topics | array | Concept names, e.g. ['OAuth', 'RAG'] |
brain_remember Remember a durable fact
Append one durable fact about the owner to their memory file: a preference, a correction on how to work, a project constraint, or a reference. It becomes part of brain_identity immediately. Include why it matters and how to apply it. When it changes an earlier fact, pass `replaces` with that fact's id (the stamp in its heading, e.g. '2026-09-22 18:21'): the old fact stays in the file as history and leaves brain_identity. For a fact with one current value, pass `subject` and `attribute` (e.g. 'JobMail' and 'database'); a later fact with the same pair replaces it on its own. Use `valid_until` fo…
| Parameter | Type | Description |
|---|---|---|
category * | string | user = who they are; feedback = how to work with them; project = ongoing work; reference = pointer |
fact * | string | |
attribute | string | Which property of the subject, e.g. 'database' or 'employer'. Pass with subject. |
force | boolean | Store even if it looks like a duplicate or a change to a current fact |
how_to_apply | string | |
replaces | array | Ids of current facts this one makes outdated, e.g. ['2026-09-22 18:21'] |
subject | string | What the fact is about, e.g. 'JobMail' or 'the owner'. Pass with attribute. |
valid_from | string | When it became true, if earlier or later than now: YYYY-MM-DD or YYYY-MM-DD HH:MM (UTC) |
valid_until | string | When it stops being true, for temporary facts: YYYY-MM-DD (holds through that day) or YYYY-MM-DD HH:MM (UTC) |
why | string |
brain_facts Facts and how they changed
Facts recorded with brain_remember and when each was true. By default, the facts true now. `as_of` returns the facts true at another time (a bare date means the end of that day); `history` lists every version, oldest first, with what replaced it or when it expired; `subject` narrows to one thing, e.g. a project; `query` filters by words. The ids are the ones brain_remember's `replaces` takes.
| Parameter | Type | Description |
|---|---|---|
as_of | string | YYYY-MM-DD or YYYY-MM-DD HH:MM (UTC). Default: now. |
category | string | |
history | boolean | Every version, including replaced, expired and not-yet-valid facts |
limit | integer | |
query | string | Words the fact should mention |
subject | string | Only facts recorded with this subject, e.g. 'JobMail' |
brain_write Create or replace a hand-written note
Create a note at a path you choose under Notes/ or Captures/, or replace one there with overwrite=true. Use it for hubs, guides and runbooks maintained by hand. Unlike brain_capture you set the type, including 'hub': a hub groups every note whose frontmatter project matches its title. Generated notes elsewhere in the vault cannot be written. The reply lists existing notes the body names without linking.
| Parameter | Type | Description |
|---|---|---|
body * | string | Markdown body, without frontmatter or the # title heading. Link related notes inside the sentence that says how they relate. |
path * | string | Vault path, e.g. 'Notes/Harbor Ledger.md' |
title * | string | |
order | integer | Position among Notes/ guides on Start Here |
overwrite | boolean | Replace the note if the path already exists |
project | string | Hub this note belongs to, e.g. 'Harbor Ledger' |
summary | string | One line; Start Here shows it next to Notes/ guides |
topics | array | Concept names, e.g. ['OAuth', 'RAG'] |
type | string | note, hub, moc, guide, runbook, plan, decision, ... |
brain_edit Edit part of a hand-written note
Change part of a note under Notes/ or Captures/ without rewriting it. Give exactly one of: old_text + new_text (old_text must occur exactly once; new_text may be empty), section + content (replaces everything under that heading up to the next heading of the same or higher level; the heading itself stays), or append. Generated notes and the memory file cannot be edited. The reply lists existing notes the new text names without linking.
| Parameter | Type | Description |
|---|---|---|
note * | string | Note id (vault path), title or [[wikilink]] |
append | string | Markdown to add at the end of the note |
content | string | New text for that section |
new_text | string | |
old_text | string | Exact text to replace; must occur exactly once |
section | string | Heading text of the section to replace, without the # marks |
brain_move Move or rename a hand-written note
Move or rename a note within Notes/ and Captures/, for example to promote a capture into Notes/. Refuses to overwrite an existing note, and reports any links that stop resolving.
| Parameter | Type | Description |
|---|---|---|
note * | string | Note id (vault path), title or [[wikilink]] |
to * | string | New vault path, e.g. 'Notes/Harbor Ledger.md' |
brain_delete Delete a hand-written note (to the vault trash)
Remove a note from Notes/ or Captures/ by moving it into the vault's .trash/ folder, which is never indexed. Nothing is erased; the result gives the path to restore from. Generated notes and the memory file cannot be deleted.
| Parameter | Type | Description |
|---|---|---|
note * | string | Note id (vault path), title or [[wikilink]] |