@kazuph/mcp-obsidian

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBSIDIAN_VAULT_PATHYesThe path to your Obsidian vault

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
obsidian_read_notesRead the contents of multiple notes. Each note's content is returned with its path as a reference. Failed reads for individual notes won't stop the entire operation. Reading too many at once may result in an error.
obsidian_search_notesSearches for a note by its name. The search is case-insensitive and matches partial names. Queries can also be a valid regex. Returns paths of the notes that match the query.
obsidian_read_notes_dirLists only the directory structure under the specified path. Returns the relative paths of all directories without file contents.
obsidian_write_noteCreates a new note at the specified path. Before writing, check the directory structure using obsidian_read_notes_dir. If the target directory is unclear, the operation will be paused and you will be prompted to specify the correct directory.