Obsidian keeps your notes as plain Markdown files in a folder, the vault. That makes it easy to use with Claude Code, which reads and writes files. This guide covers three ways to connect them, from no setup at all to a plugin that puts Claude inside Obsidian.
What we tested: we ran Method A end to end on a made-up vault of 15 notes, with the prompts shown below. Methods B and C need clicks inside the Obsidian app, which we didn't do. Their steps follow each plugin's README, and we say so where they appear.
The results (Method A)
Our test vault belongs to an imaginary two-person web studio: two projects, a client, two meeting notes, a roadmap, three daily notes and a CLAUDE.md. Eight notes carry the tag project-alpha: six in their front matter and two inline in daily notes.
CLAUDE.md: front matter with tags and a date, wikilinks only, and no changes to existing notes. Every link points to a note that exists. Tap the image for full size.| Prompt 1: summarise a tag | Prompt 2: create a linked note | |
|---|---|---|
| Time | 22 seconds (11 turns) | 15 seconds (2 turns) |
| Cost | About $0.16 | About $0.23 |
| What Claude did | One search for the tag, then read the 8 notes | Wrote one new file in Ideas/ |
The costs are what Claude Code reported at API prices for our single run. On a Claude subscription the same work counts toward your usage instead. A bigger vault means more reading, so expect more time and cost.
Before you start
- Claude Code installed and signed in
- An Obsidian vault. Method A works on the folder alone; Methods B and C need the Obsidian desktop app running.
- A backup of the vault, or the vault in git. Claude edits files directly. Our test vault was a git repository, so
git statusshowed exactly what Claude added.
Method A: Start Claude Code in your vault
No setup. A vault is a folder of Markdown files, so start Claude Code in it:
Then ask for what you want. These are the two prompts we used, word for word:
Both results are shown above.
Tell Claude how your vault works
Add a CLAUDE.md file to the vault's top folder. Claude Code reads it at the start of every session. This is the one in our test vault:
The note Claude created followed every rule that applied: front matter with tags and created, wikilinks, and no edits to daily notes.
Method B: The Claude Code MCP plugin
Not tested by us. These steps follow the plugin's README for version 1.1.8, its latest release.
The Claude Code MCP plugin runs a small server inside Obsidian. Claude Code connects to it the way it connects to a code editor, so it can see which note you have open and work with the vault through Obsidian.
Before you install it: the plugin's last release, 1.1.8, is from June 2025. An open issue on its repository (#12) reports that its servers accept connections from any website origin, which would let a web page open in your browser read and write your vault while Obsidian runs. We read the code: the HTTP server's origin check allows every origin. Until that is fixed, we suggest Method A or C.
Install the plugin
It isn't in Obsidian's community plugin directory, so you install it from its GitHub release:
- From the latest release, download
main.js,manifest.jsonandstyles.css. - Put them in
<your vault>/.obsidian/plugins/claude-code-mcp/. - In Obsidian: Settings → Community plugins. Turn community plugins on if they're off (this turns off Restricted mode), then enable Claude Code MCP.
Connect Claude Code
There is no config file to edit. With Obsidian open, start Claude Code, run /ide and pick Obsidian from the list:
The plugin also serves other MCP clients, such as Claude Desktop, over HTTP on port 22360. Claude Code doesn't use that port; /ide finds the plugin through a lock file.
What you can ask
These work the same way with Method A when Claude Code is started in the vault, except that Method A doesn't know which note you have open.
Method C: The Claudian plugin
Not tested by us. These steps follow the Claudian README for version 2.3.48 (25 November 2026).
Claudian puts Claude Code in a panel inside Obsidian. The vault becomes Claude's working folder, so it can read, write, search and run commands there, as in Method A, without switching to a terminal. It can also run other agents, such as Codex.
Install
- In Obsidian: Settings → Community plugins → Browse, and search for Claudian.
- Install it, then enable it.
- Open Claudian from the ribbon icon or the command palette.
It needs Claude Code installed on the same computer, Obsidian 1.13.0 or newer, and the desktop app (macOS, Linux or Windows). See the Claudian README for its settings.
More ideas (not tested by us)
Developer knowledge base
Keep architecture decision records (ADRs), runbooks and debugging notes in Obsidian, and have Claude check them while you code:
Research synthesis
Meeting notes to tasks
Troubleshooting
Claude misses notes with a tag
Obsidian tags can sit in the front matter without a # (tags: [project-alpha]) or inline in the text (#project-alpha). In our test Claude searched for both, but if a summary looks short, ask it to check front matter tags too.
Claude changed a note you wanted left alone
Put the rule in CLAUDE.md, as in our example ("Don't edit daily notes unless asked"). To undo a change, restore the file from git or your backup.
Obsidian doesn't appear in /ide (Method B)
From the plugin's README: check that the plugin is enabled, restart Obsidian, and look for a .lock file in ~/.claude/ide/ (or in $CLAUDE_CONFIG_DIR/ide/ if you set that variable).
What's next? Pair your notes with Excalidraw diagrams to keep visual maps next to them.
Credits
- obsidian-claude-code-mcp by iansinnott, 0BSD licence.
- Claudian by Yishen Tu, MIT licence.
- Obsidian.
More tutorials: all tutorials, including diagrams with Excalidraw and videos with Remotion.
Tested on 28 November 2026 with Claude Code 2.1.332 on Ubuntu: Method A, on a made-up vault of 15 notes. Methods B and C were checked against their READMEs (Claude Code MCP 1.1.8, Claudian 2.3.48) but not run.