Obsidian Vault (TUI, CLI & MCP)
v0.4.3Local Obsidian vault MCP server, CLI, and TUI in Rust with Braille graph & safe edits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_vaults
List registered and auto-discovered vaults with note counts. Scans every vault to refresh counts, so the first call can be slow with many or large vaults.
search_notes
Search notes across a vault using SQLite FTS5. Korean/CJK queries also match inside longer words (substring scan).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string. |
limit | integer | Maximum results 1..200 (default 20). Out-of-range values are clamped; the response reports the limit used and has_more. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
read_note
Read a Markdown note. Returns a compact object by default; pass compact:false for all metadata (including is_bookmarked, size_bytes, images, md_links), or pass fields to project specific fields (e.g. frontmatter, frontmatter.<key>, tasks, backlinks, body) without fetching the full body.
| Parameter | Type | Description |
|---|---|---|
note * | string | Relative path, note title, or alias. |
compact | boolean | Default true: return rel_path, title, raw_markdown, mtime_ms, omitted (including frontmatter_keys), and hint. Set false for full metadata including frontmatter, tags, headings, tasks, md_links, images… |
fields | array | Optional selective field projection (e.g. frontmatter, frontmatter.<key>, folder, tags, aliases, word_count, size_bytes, is_bookmarked, mtime_ms, headings, tasks, backlinks, outgoing_links, images, md… |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
list_notes
List notes in the active vault, optionally filtered by folder prefix.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page. |
folder | string | Optional folder prefix filter. |
limit | integer | Page size 1..500 (default 50). |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
create_note
Create a new Markdown note atomically with optional folder, initial content, and YAML frontmatter tags.
| Parameter | Type | Description |
|---|---|---|
title * | string | Note title or filename. |
content | string | Optional Markdown content. |
folder | string | Optional target folder relative to vault root. |
tags | array | Optional frontmatter tags. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
append_note
Append Markdown text, checklist items, or callouts atomically to an existing note.
| Parameter | Type | Description |
|---|---|---|
note * | string | Relative path, note title, or alias. |
text * | string | Markdown text to append. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
replace_note_text
Replace a literal string only when it occurs exactly once in the Markdown body. Return the match count and whether the replacement ran.
| Parameter | Type | Description |
|---|---|---|
find * | string | Exact text to find, including spacing and line endings. |
note * | string | Relative path, note title, or alias. |
replace * | string | Replacement text. Use an empty string to delete the match. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
update_frontmatter
Upsert or remove (null) YAML frontmatter properties on an existing note while preserving its body.
| Parameter | Type | Description |
|---|---|---|
note * | string | Relative path, note title, or alias. |
properties * | object | Key-value pairs to merge into YAML frontmatter (null removes key). |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
delete_note
Safely move a note to the vault's .trash/ directory. Requires confirm: true.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to execute deletion to .trash/. |
note * | string | Relative path, note title, or alias. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
daily_note
Open or create today's Daily Note (or a specific YYYY-MM-DD date) and optionally append text. Calls with non-empty append return a receipt (rel_path, created, appended, hint); calls without append return the note body. For full metadata call read_note with the returned rel_path and compact:false. Each call with append appends again.
| Parameter | Type | Description |
|---|---|---|
append | string | Optional text to append to the daily note. |
date | string | Optional date string (e.g. 2026-11-20). |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
get_backlinks
Return all incoming linked mentions (backlinks) to a note with surrounding context snippets.
| Parameter | Type | Description |
|---|---|---|
note * | string | Target note path, title, or alias. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
get_outgoing_links
Return all outgoing wikilinks and embeds from a note, including resolved and unresolved targets. Each entry has a status: resolved, attachment, ambiguous, or missing.
| Parameter | Type | Description |
|---|---|---|
note * | string | Source note path, title, or alias. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
get_local_graph
Return the local BFS knowledge graph around a note (or the full vault graph when note is omitted). Omitting note returns the whole-vault graph, which is large and slow on big vaults; pass note and a small depth when possible.
| Parameter | Type | Description |
|---|---|---|
depth | integer | Neighborhood hop depth 1..5 (default 2; other values are clamped and the result reports the depth used). |
note | string | Optional center note path, title, or alias. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
list_tags
List all inline and frontmatter tags in the vault with note counts. Aggregates over the whole vault.
| Parameter | Type | Description |
|---|---|---|
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
find_by_tag
Find all notes containing a tag (including nested subtags like #project/q4).
| Parameter | Type | Description |
|---|---|---|
tag * | string | Tag name with or without leading #. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
list_tasks
List Markdown checklist tasks across the vault or within a single note.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page. |
limit | integer | Page size 1..500 (default 50). |
note | string | Optional note filter. |
status | string | Filter by task status. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
toggle_task
Surgically toggle a Markdown checkbox (- [ ] <-> - [x]) at an exact 1-based line number, optionally verifying expected text/state to guard against shifted lines.
| Parameter | Type | Description |
|---|---|---|
line * | integer | 1-based line number of the task checkbox. |
note * | string | Note path, title, or alias. |
expected_checked | boolean | Optional expected current checked state; refuses toggle on mismatch. |
expected_mtime_ms | integer | Optional expected note mtime_ms; refuses toggle if file changed. |
expected_text | string | Optional expected task text at this line; refuses toggle on mismatch. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
find_orphans
Find orphan notes that have zero incoming backlinks and zero outgoing wikilinks. Reads the whole note index; cost grows with vault size and the result is not paginated.
| Parameter | Type | Description |
|---|---|---|
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
reindex_vault
Force a full verification rescan: re-reads and hashes every note and rebuilds link resolution. Slow on large vaults. Rarely needed: every other tool already syncs changed files first.
| Parameter | Type | Description |
|---|---|---|
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |
move_note
Move or rename a note within its vault and update incoming wikilinks that need a new target.
| Parameter | Type | Description |
|---|---|---|
dst * | string | Destination path relative to the same vault, including the new filename. The .md extension is optional. |
src * | string | Source note path relative to the vault, title, or alias. |
vault | string | Optional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected. |