obsidian-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_noteB | Read the full content of a note. Reads from the filesystem for speed, falls back to the Obsidian CLI when the name only resolves via aliases or the file is evicted by iCloud. |
| search_notesA | Full-text search across all markdown notes in the vault, from the filesystem for speed. Returns matching lines with file paths and line numbers. |
| list_notesB | List files in the vault from the filesystem, optionally filtered by folder and extension. |
| list_foldersC | List folders in the vault from the filesystem. |
| get_note_infoA | Metadata for one note via Obsidian: path, size, created and modified dates. |
| get_outlineB | Heading tree of a note, with heading levels and line numbers. |
| get_backlinksA | Notes that link to the given note, resolved by Obsidian itself so aliases and unresolved links are handled correctly. |
| get_outgoing_linksC | Links going out from the given note, resolved by Obsidian. |
| get_tagsB | All tags in the vault with usage counts, from frontmatter and inline tags, scanned from the filesystem. |
| get_propertiesA | All frontmatter property keys used across the vault, with usage counts, scanned from the filesystem. |
| read_propertyC | Read one frontmatter property from one note. |
| get_vault_infoB | Vault name, path, and file, folder, and size stats from Obsidian. |
| get_recentsB | Recently opened files, from Obsidian app state. |
| list_basesB | List all .base files in the vault. |
| query_baseA | Run a Bases query through Obsidian, which evaluates filters and formulas at runtime. Returns the rows of a view in the chosen format. |
| list_templatesA | List templates from the configured template folder in Obsidian. |
| read_templateB | Read a template. With resolve, Obsidian expands template variables like {{date}} and {{title}}. |
| get_word_countB | Word and character count for a note, excluding frontmatter. |
| create_noteA | Create a new note through Obsidian so it lands in the index immediately. Does not open the note in the UI. Overwriting an existing note requires overwrite plus confirm: true. |
| append_noteC | Append content to the end of a note through Obsidian. |
| prepend_noteB | Prepend content to a note, after any frontmatter, through Obsidian. |
| read_dailyA | Read today's daily note. Creates nothing. |
| append_dailyA | Append content to today's daily note, creating it from the daily template if needed. |
| prepend_dailyA | Prepend content to today's daily note, after any frontmatter. |
| get_daily_pathB | Vault-relative path of today's daily note. |
| set_propertyC | Set a frontmatter property on a note through Obsidian. |
| remove_propertyB | Remove a frontmatter property from a note. Requires confirm: true. |
| move_noteA | Move a note to a new location through Obsidian, which updates every wikilink in the vault that points at it. Never move notes with plain filesystem operations, that silently breaks links. Requires confirm: true. |
| rename_noteB | Rename a note through Obsidian, which updates every wikilink in the vault that points at it. Requires confirm: true. |
| delete_noteA | Delete a note through Obsidian. Goes to the trash by default and requires confirm: true. Permanent deletion additionally requires the server to run with OBSIDIAN_MCP_ALLOW_DANGEROUS=1. |
| list_tasksA | List markdown tasks, vault-wide or in one note. Each task has a ref (path:line) usable with update_task. |
| update_taskA | Mark a task done or todo, toggle it, or set a custom status character. Target by ref (path:line, from list_tasks) or by file or path plus line. |
| open_noteA | Open a note in the Obsidian UI. Navigation only, changes nothing. |
| run_obsidian_commandA | List or execute command palette commands, including those registered by community plugins. Without id, lists available command ids. With id, executes that command against the running app, which requires confirm: true. This reaches everything a user could do from the command palette, use it deliberately. |
| captureA | Append a timestamped line to today's daily note. The fastest way to log a thought, a task, or an event without building the string yourself. |
| daily_digestA | Aggregate daily notes across a date range into one document, read from the filesystem. Defaults to the last 7 days. Requires daily note filenames containing an ISO date (YYYY-MM-DD). |
| export_notesA | Export a folder of notes as JSON, Markdown, or CSV, read from the filesystem. Returns the export inline, or writes it to output_path outside the vault. |
| vault_healthA | Link graph health in one call: orphans (no incoming links), dead ends (no outgoing links), unresolved links, and empty notes. Link data comes from Obsidian, empty notes from a filesystem scan. Deliberately scoped to the link graph. |
| obsidian_cliA | Run any command against the Obsidian vault via the official Obsidian CLI. Escape hatch for the long tail not covered by the typed tools. Obsidian must be running on this Mac. Syntax Parameters take a value with = e.g. "query=meeting notes" Flags are bare words e.g. "todo", "total", "counts" Multiline content uses \n and \t inside the value file= resolves like a wikilink, path= is exact from the vault root Omitting file and path targets the currently active file, avoid this for writes Vault targeting is handled automatically: a vault= token is prepended unless you pass your own. Examples ["search", "query=quarterly review", "limit=10"] ["tasks", "todo", "verbose"] ["backlinks", "file=Main Notes", "counts"] ["files", "folder=Journal", "total"] ["help"] for the full command list, ["help", "tasks"] for one command State-changing commands (delete, move, rename, plugin toggles, themes, snippets, publish, command execution) require confirm: true. A few (eval, restart, plugin install and uninstall, devtools) are blocked unless the server runs with OBSIDIAN_MCP_ALLOW_DANGEROUS=1. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| daily_note_review | Review a daily note: summarize, surface open tasks, suggest follow-ups. |
| vault_cleanup | Walk the vault health report and propose link-safe fixes. |
| note_from_source | Turn pasted material into a well-formed note using an existing template. |
| weekly_digest | Summarize the last week of daily notes into a digest note. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| vault | Vault name, path, and stats |
| daily | Today's daily note |
| tags | All vault tags with counts |
| recents | Recently opened files |
| orphans | Notes with no incoming links |
TDQS
Scored across 39 tools
Most tools target a distinct resource+action pair (notes, properties, tasks, links, daily notes, bases), and descriptions are explicit about reads vs writes. A few pairs blur: capture vs append_daily (both write to today's daily note), read_daily vs read_note, and run_obsidian_command vs obsidian_cli (both are generic action executors). get_daily_path is also trivially derivable from other daily tools.
The dominant pattern is snake_case verb_noun (create_note, get_outline, list_notes, remove_property, update_task). Deviations exist: bare verbs (capture), noun-only (obsidian_cli), noun_noun (vault_health, daily_digest), and daily tools drop the '_note' suffix (read_daily, append_daily). Still readable and mostly predictable.
39 tools is well past a comfortable surface for one vault server; several are niche or redundant (get_daily_path, capture, get_recents, read_daily alongside read_note). The typed tools plus an unrestricted obsidian_cli escape hatch also duplicates capability rather than replacing it, inflating the count further.
Coverage is broad: note lifecycle (create/read/append/prepend/move/rename/delete), frontmatter properties, tasks, links, search, templates, bases, export, and vault health. Gaps are modest: no section/heading-level replace or patch edit, no folder creation/removal, and no attachment handling, all of which are workable via the escape hatch.