Tutorial · Method A tested Nov 2026

Connect Claude Code to Obsidian

Search, summarise and write notes in your vault with Claude Code, from the terminal or inside Obsidian.

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 Code's answer to Summarize all notes tagged #project-alpha: a summary of 8 tagged notes with a timeline from January to March, the meeting decisions, a payment provider comparison, open ideas and risks, and gaps such as unchecked to-dos and no final choice of payment provider. Note names appear as wikilinks.
Prompt 1: the summary. Claude found all 8 tagged notes with one search, including the two daily notes where the tag is inline. It linked each source with a wikilink, and it pointed out what the vault doesn't say. Shown as plain text, re-set in our own layout. Tap the image for full size.
The new note Ideas/Alpha meeting ideas and roadmap.md as raw Markdown: front matter with tags idea and project-alpha and a created date, then a table placing each idea from the March meeting in a roadmap phase, and a takeaways section. It links to meeting-2026-03, roadmap, Project Alpha, 2026-03-18, Payment providers, Loyalty card idea and Dana Levi.
Prompt 2: the new note, as Claude wrote it. It followed the rules in the vault's 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 tagPrompt 2: create a linked note
Time22 seconds (11 turns)15 seconds (2 turns)
CostAbout $0.16About $0.23
What Claude didOne search for the tag, then read the 8 notesWrote 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

A

Method A: Start Claude Code in your vault

No setup. A vault is a folder of Markdown files, so start Claude Code in it:

bashcd ~/Documents/MyVault claude

Then ask for what you want. These are the two prompts we used, word for word:

promptSummarize all notes tagged #project-alpha
promptCreate a new note linking the ideas from meeting-2026-03.md and roadmap.md

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:

markdown# About this vault Notes for a two-person web studio. Made-up test data. - Projects live in `Projects/`, one note per project, tagged `#project-<name>`. - Daily notes live in `Daily/` and are named `YYYY-MM-DD.md`. - Meeting notes sit in the vault root and are named `meeting-YYYY-MM.md`. - Link notes with [[wikilinks]], not Markdown links. - Every new note starts with YAML front matter that has `tags:` and `created:` (date). - Don't edit daily notes unless asked.

The note Claude created followed every rule that applied: front matter with tags and created, wikilinks, and no edits to daily notes.

B

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:

  1. From the latest release, download main.js, manifest.json and styles.css.
  2. Put them in <your vault>/.obsidian/plugins/claude-code-mcp/.
  3. 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:

bashclaude # then, inside Claude Code: /ide

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

prompt# Search across your vault Search my Obsidian vault for notes about "authentication patterns" # Create linked notes Create a new note summarizing the key decisions from my last 5 daily notes, with backlinks to each source note. # Generate from code context Read the API routes in ./src/routes/ and create Obsidian documentation notes for each endpoint in my vault's /Engineering/API/ folder.

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.

C

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

  1. In Obsidian: Settings → Community plugins → Browse, and search for Claudian.
  2. Install it, then enable it.
  3. 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:

promptCheck my Obsidian vault for any ADRs related to the payment service before making changes to the checkout flow.

Research synthesis

promptRead all notes in my /Research/LLM-Evaluation/ folder and create a synthesis note comparing the different evaluation frameworks mentioned across all sources.

Meeting notes to tasks

promptRead today's standup notes from my vault and create GitHub issues for the action items mentioned in the "Next Steps" section.

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

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.

Need help building AI-powered workflows?

Rivok Labs helps teams design knowledge systems and AI integrations that amplify how you work.

Start a conversation