This repository provides an MCP server that interacts with Obsidian using the Local REST API plugin, offering tools to list files, get content, search, patch, and append content within your Obsidian vault.
This repository hosts an MCP server designed to facilitate interaction with Obsidian via the Local REST API community plugin.
The server provides several tools for Obsidian interaction:
list_files_in_vault
: Lists files and directories in the vault's root.list_files_in_dir
: Lists files and directories in a specified directory.get_file_contents
: Retrieves the content of a file.search
: Searches for documents matching a text query.patch_content
: Inserts content into a note relative to a heading, block reference, or frontmatter field.append_content
: Appends content to a new or existing file.Instruct Claude to use Obsidian first. Examples: summarize architecture call notes, search for Azure CosmosDb mentions, or summarize meeting notes and create an email-ready summary.
The Obsidian REST API Key can be configured either in the server config or via a .env
file.
Requires the Obsidian REST API plugin. Configuration details are provided for both development and published server setups within Claude Desktop.
Building involves syncing dependencies and updating the lockfile using uv sync
. Debugging is recommended using the MCP Inspector.
MarkusPfundstein/mcp-obsidian
November 29, 2024
March 28, 2025
Python