Updated April 2026

Install MCP Obsidian Server

Pick your client, copy the command, done.

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "OBSIDIAN_API_KEY=${OBSIDIAN_API_KEY}" mcp-obsidian-ef80 -- bunx @fazer-ai/mcp-obsidian@latest
Required:OBSIDIAN_API_KEY+ 3 optional

Environment Variables

Set these before running MCP Obsidian Server.

VariableDescriptionRequired
OBSIDIAN_API_KEYAPI key obtained from the Local REST API plugin settings in ObsidianYes
OBSIDIAN_PROTOCOLProtocol for the REST API (e.g., http)No
OBSIDIAN_HOSTHost address for the REST APINo
OBSIDIAN_PORTPort the Local REST API plugin is bound toNo

Available Tools (24)

Once configured, MCP Obsidian Server gives your AI agent access to:

obsidian_statusReturns basic details about the Obsidian Local REST API server and your authentication status
obsidian_delete_activeDeletes the note that is currently active in the Obsidian UI
obsidian_get_activeRetrieves the full content of the active note
obsidian_patch_activeInserts, replaces or prepends content in the active note
obsidian_post_activeAppends Markdown to the end of the active note
obsidian_put_activeReplaces the entire body of the active note
obsidian_get_commandsLists every command available in Obsidian’s command palette
obsidian_execute_commandExecutes a specific Obsidian command by its ID
obsidian_open_fileOpens the given file inside Obsidian
obsidian_delete_periodicDeletes the current daily, weekly, monthly, quarterly, or yearly note
obsidian_get_periodicReturns the content of the current periodic note
obsidian_patch_periodicInserts or replaces content in a periodic note
obsidian_post_periodicAppends Markdown to the periodic note
obsidian_put_periodicReplaces the entire body of a periodic note
obsidian_search_dataviewRuns a Dataview-DQL query across the vault
obsidian_search_json_logicRuns a JsonLogic query against structured note metadata
obsidian_simple_searchPerforms a plain-text fuzzy search
obsidian_list_vault_rootLists all files and directories at the root of your vault
obsidian_list_vault_directoryLists files and directories inside a specific folder
obsidian_delete_fileDeletes a specific file or directory in the vault
obsidian_get_fileRetrieves the content of a file in the vault
obsidian_patch_fileInserts or replaces content in an arbitrary file
obsidian_post_fileAppends Markdown to a file
obsidian_put_fileCreates a new file or replaces the entire body of an existing file

Try It Out

After setup, try these prompts with your AI agent:

Get the contents of the last 'architecture call' note and summarize them.
Search for all files where 'Azure CosmosDb' is mentioned and explain the context briefly.
Summarize yesterday’s meeting and save it as 'summaries/2025-04-24-meeting.md'.
List all files in my 'projects' folder and tell me which ones were modified recently.

Keep this setup from going cold

Save the docs, env vars, and workflow around MCP Obsidian Server in Conare so Claude Code, Codex, and Cursor remember it next time.

Need the legacy visual installer? Open Conare IDE.
Remember this setup