MCP Hub
Back to servers

obsidian-local-mcp

A local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.

glama
Stars
2
Updated
Mar 24, 2026
Validated
Mar 26, 2026

obsidian-local-mcp

A local MCP server that wraps the Obsidian CLI, giving AI assistants like Claude direct access to your Obsidian vault. Allows editing in the middle of docs.

Requirements

  • Obsidian desktop app installed (v1.8+ with CLI support)
  • Node.js 18+
  • macOS, Windows, or Linux

Setup

git clone https://github.com/MatthewSuazo/obsidian-local-mcp.git
cd obsidian-local-mcp
npm install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian-cli": {
      "command": "node",
      "args": ["/path/to/obsidian-local-mcp/server.js"],
      "env": {
        "OBSIDIAN_VAULT": "Your Vault Name"
      }
    }
  }
}

Set OBSIDIAN_VAULT to the name of the vault you want to target. Set OBSIDIAN_CLI_PATH to override the Obsidian binary location if it's not in the default path for your OS.

Tools

ToolDescription
readRead note contents by name or path
appendAppend content to a note
prependPrepend content to a note
createCreate a new note (with optional template)
moveMove or rename a file
deleteDelete a file (trash or permanent)
searchSearch vault text with line context
property_setSet a frontmatter property
property_readRead a frontmatter property
daily_readRead today's daily note
daily_appendAppend to today's daily note
replaceFind and replace text in a note (exact, regex, replace-all)
search_contextContext-aware search returning surrounding content
filesList files in the vault or a specific folder
foldersList folders in the vault
openOpen a file in the Obsidian UI
evalExecute JavaScript inside the Obsidian runtime
commandExecute any registered Obsidian command by ID
insert_afterInsert content after a matched string in a note

License

MIT

Reviews

No reviews yet

Sign in to write a review