← Back to Obsidian MCP Server
Install Obsidian MCP Server
Pick your client, copy the command, done.
Manual setup required. The maintainer's config contains paths only you know — edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
git clone https://github.com/johnkang/mcp-obsidian
cd mcp-obsidian
uv sync2
Register it in Claude Code
claude mcp add -e "OBSIDIAN_VAULT_PATH=${OBSIDIAN_VAULT_PATH}" mcp-obsidian -- uv run --directory /path/to/mcp-obsidian mcp-obsidianReplace any placeholder paths in the command with the real path on your machine.
Required:
OBSIDIAN_VAULT_PATHEnvironment Variables
Set these before running Obsidian MCP Server.
VariableDescriptionRequired
OBSIDIAN_VAULT_PATHThe absolute path to your Obsidian vaultYesAvailable Tools (19)
Once configured, Obsidian MCP Server gives your AI agent access to:
list_filesList files and folders in the vault or a subdirectorypathread_noteRead the contents of a notepathwrite_noteCreate or overwrite a notepathcontentappend_to_noteAppend content to the end of an existing notepathcontentdelete_noteDelete a note or folderpathmove_noteMove or rename a note within the vaultsrcdestsearch_notesCase-insensitive full-text search across all .md filesquerysearch_by_tagFind all notes containing a specific tagtagget_frontmatterRead the YAML frontmatter of a notepathupdate_frontmatterSet or update a frontmatter fieldpathkeyvalueget_backlinksFind all notes that link to a given notepathget_outlinksExtract all wikilinks from a notepathget_orphansFind notes with no incoming or outgoing linksget_daily_noteRead the daily note for a datedate_strcreate_daily_noteCreate a daily notedate_strlist_tagsList all tags in the vault with usage countsget_recent_notesList the N most recently modified notesnget_note_statsReturn vault statisticslist_templatesList all templates in the vault's Templates folderTry It Out
After setup, try these prompts with your AI agent:
→Search my notes for any mentions of 'project alpha' and summarize the current status.
→List all my recent notes from the last week and identify any that are orphans.
→Create a new daily note for today and add a checklist of my top 3 priorities.
→Find all notes tagged with #research and extract their frontmatter to a summary table.
→What are the most linked notes in my vault?
Keep this setup from going cold
Save the docs, env vars, and workflow around Obsidian MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.