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.
claude mcp add -e "OBSIDIAN_API_KEY=${OBSIDIAN_API_KEY}" mcp-obsidian-ef80 -- bunx @fazer-ai/mcp-obsidian@latestRequired:
OBSIDIAN_API_KEY+ 3 optionalEnvironment Variables
Set these before running MCP Obsidian Server.
VariableDescriptionRequired
OBSIDIAN_API_KEYAPI key obtained from the Local REST API plugin settings in ObsidianYesOBSIDIAN_PROTOCOLProtocol for the REST API (e.g., http)NoOBSIDIAN_HOSTHost address for the REST APINoOBSIDIAN_PORTPort the Local REST API plugin is bound toNoAvailable 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 statusobsidian_delete_activeDeletes the note that is currently active in the Obsidian UIobsidian_get_activeRetrieves the full content of the active noteobsidian_patch_activeInserts, replaces or prepends content in the active noteobsidian_post_activeAppends Markdown to the end of the active noteobsidian_put_activeReplaces the entire body of the active noteobsidian_get_commandsLists every command available in Obsidian’s command paletteobsidian_execute_commandExecutes a specific Obsidian command by its IDobsidian_open_fileOpens the given file inside Obsidianobsidian_delete_periodicDeletes the current daily, weekly, monthly, quarterly, or yearly noteobsidian_get_periodicReturns the content of the current periodic noteobsidian_patch_periodicInserts or replaces content in a periodic noteobsidian_post_periodicAppends Markdown to the periodic noteobsidian_put_periodicReplaces the entire body of a periodic noteobsidian_search_dataviewRuns a Dataview-DQL query across the vaultobsidian_search_json_logicRuns a JsonLogic query against structured note metadataobsidian_simple_searchPerforms a plain-text fuzzy searchobsidian_list_vault_rootLists all files and directories at the root of your vaultobsidian_list_vault_directoryLists files and directories inside a specific folderobsidian_delete_fileDeletes a specific file or directory in the vaultobsidian_get_fileRetrieves the content of a file in the vaultobsidian_patch_fileInserts or replaces content in an arbitrary fileobsidian_post_fileAppends Markdown to a fileobsidian_put_fileCreates a new file or replaces the entire body of an existing fileTry 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.