# Connect Claude Code to Obsidian: the official connector

> Source: <https://dev.to/joancomadran/connect-claude-code-to-obsidian-the-official-connector-4365>
> Published: 2026-12-04 10:40:40+00:00

**Key takeaway:** Obsidian's connector ships as Agent Skills, not an MCP server: install via `claude plugin marketplace add obsidianmd/obsidian-skills` then `claude plugin install obsidian@obsidian-skills`, and note that three skills are format-only while obsidian-cli requires the desktop app running with CLI enabled

**Connect Claude Code to Obsidian with the official connector Obsidian announced on 25 November 2026: Agent Skills in the open-source repo obsidianmd/obsidian-skills, not an MCP server.** The Claude Code install is `claude plugin marketplace add obsidianmd/obsidian-skills`, then `claude plugin install obsidian@obsidian-skills`. A vault is already a folder of Markdown, so `claude` started in that folder can read and write notes with no plugin. The skills add Obsidian's formats and, if you want them, the CLI and Headless.

Last verified: 30 November 2026, against the [Connectors help page](https://obsidian.md/help/connectors), the [obsidian-skills repo](https://github.com/obsidianmd/obsidian-skills), [Obsidian CLI](https://obsidian.md/help/cli), and [Obsidian Headless](https://obsidian.md/help/headless).

Obsidian named the package Connectors. The mechanism is Agent Skills: instructions a host loads when it supports the skills spec ([agentskills.io/clients](https://agentskills.io/clients)). There is no server in the package. A skill can still change how the agent writes a wikilink.

An official Obsidian MCP is on the roadmap, per an @obsdmd reply on X, with no date and no tool list. Until that ships, "Obsidian MCP" means a community project.

The connectors send nothing by themselves. A note the agent reads joins the conversation, and the model you use processes it. Keep that model's API key out of the vault. That is ordinary [API key handling](https://www.joancomadran.dev/blog/secure-openai-api-key), not an Obsidian feature.

The connectors page lists Claude, ChatGPT (also Codex and Dots), Antigravity, Cursor, GitHub Copilot, Grok Bot, Hermes, Kiro, Muse, and OpenCode, plus other agents that support skills.

`npx skills add https://github.com/obsidianmd/obsidian-skills`, or copy `plugins/obsidian/skills/` into the skills folder. Copilot's example path is `~/.copilot/skills/`.
Muse is listed and still cannot run `obsidian-cli`, because Muse runs in Meta's cloud and has no shell on your machine.

Two commands, from the connectors page:

```
claude plugin marketplace add obsidianmd/obsidian-skills
claude plugin install obsidian@obsidian-skills
```

When the package changes:

```
claude plugin update obsidian@obsidian-skills
```

The plugin is separate from opening the vault as a folder. `cd` in and run `claude`, and the model can already edit Markdown. `CLAUDE.md` at the root holds conventions: daily notes, wikilinks, paths that are off limits. The plugin supplies the lesson on Obsidian Flavored Markdown, Bases, and Canvas.

Cursor uses the Marketplace page, not `claude plugin`. The Claude app uses its plugin directory. Copying `plugins/obsidian/skills/` is the fallback when there is a skills folder and no installer. The host still has to reach the files or, for the CLI skill, run a command where Obsidian is open.

Three skills only describe formats. Two drive Obsidian's own programs. Two wrap separate npm tools, and the skill asks before installing them.

| Skill | What it is for | Needs the desktop app | 
|---|---|---|
| `obsidian-markdown` | Wikilinks, embeds, callouts, properties | No. Format only. | 
| `obsidian-bases` | Bases: views, filters, formulas, summaries | No. Format only. | 
| `json-canvas` | Canvas files in the JSON Canvas format | No. Format only. | 
| `obsidian-cli` | The vault through Obsidian CLI, including plugin and theme development | Yes. App running, CLI enabled, local commands. | 
| `obsidian-headless` | Sync and publish with Obsidian Headless | No desktop app. Separate install. Node.js 22 or newer. | 
| `defuddle` | Clean Markdown from web pages | Not bundled. Asks before an npm install. | 
| `knap` | Markdown templates from JSON or CSV | Not bundled. Asks before an npm install. | 

Defuddle, Knap, and Obsidian Headless are not programs inside the skills repo. Decline the install prompt and the format skills still work. They do not start Obsidian, and a bad wikilink still shows up only when you open the app.

Older guides mix these. They overlap. The row that works on a server is not the row that drives the live app.

| Setup | Needs the app running | Works on a server | What it adds | Risk | 
|---|---|---|---|---|
| Claude Code in the vault folder | No | Yes, if that machine has the folder and `claude` | Markdown edits, plus `CLAUDE.md` . No Obsidian syntax unless you write it. | Any file the process can see, including `.obsidian` . | 
| Official connector skills | Only the CLI skill | Format skills yes. CLI no. Headless skill yes, after install. | The seven skills. | Chat notes go to your model. Optional npm install. | 
| Obsidian CLI | Yes | No | Search, daily append, templates, tag counts, developer commands. | Acts on the open vault. `eval` runs code in the app. | 
| Obsidian Headless | No | Yes | Sync and Publish without the rest of the computer. | Open beta. `ob login` . Sync is Obsidian Sync. | 
| Third-party MCP (Local REST API) | Yes. Plugin is in the app. | Only if you expose the server. | Unofficial MCP tools. | Key reaches the whole vault. | 

Obsidian shipped instructions, not an endpoint. A skill is text the agent loads. [MCP](https://www.joancomadran.dev/blog/mcp-vs-function-calling) is a server that lists tools and runs them. The model still does ordinary tool use underneath. The package sends nothing by itself. The model vendor still sees any note that enters the conversation.

An MCP, or something with that shape, still fits three cases:

`npx skills add` do not apply.
Read the tool list before migrating, if an official MCP ever ships.

`obsidian-cli` needs the desktop app. Installer 1.12.7 or newer, **Settings > General > Command line interface** on, and the CLI registered. The app must be running. The first command launches it. The agent must run commands on that machine, so a cloud session with no local shell cannot use it, and neither can Muse.

```
obsidian search query="meeting notes"
obsidian daily:append content="- [ ] Buy groceries"
obsidian create name="Trip to Paris" template=Travel
obsidian tags counts
```

Developer commands on the same page: `plugin:reload`, `dev:screenshot`, and `eval`. `eval` runs inside the open app. Do not hand that command to an agent unless the task is to run code there. Appending a line does not need developer commands. Plugin and theme work is a separate use of the same skill.

The app stays open while the CLI writes, so a sync conflict is easy. Commit before a long session.

Obsidian Headless is in open beta: a standalone client, no desktop app, Node.js 22 or newer.

```
npm install -g obsidian-headless
ob login
```

The skill asks before installing. The help page's install is those two lines, and you still end at `ob login`.

Two services: Headless Sync (Obsidian Sync, end-to-end encrypted) and Headless Publish. Listed uses include a vault for agentic tools without the rest of the computer, and scheduled automations. That is the server row. `obsidian search` is the desktop CLI, and installing Headless does not add it.

Sync here is Obsidian Sync, not a generic folder copy. The help page does not describe another backend.

No plugin, no app, no extra key: run Claude Code in the folder. It will write ordinary Markdown unless `CLAUDE.md` says otherwise. Example only, not an Obsidian default:

```
# Vault

This folder is an Obsidian vault: Markdown, plus wikilinks, embeds, callouts, and properties.

- Link with wikilinks ([[Note]]). Search before creating a note.
- Do not edit .obsidian/ unless asked.
- Daily notes are in Daily/. Append. Do not rewrite earlier lines.
- Do not install plugins or themes unless asked.
- Show the diff before deleting a note or rewriting properties across files.
```

Cursor on the same folder sees those files, not the other chat. The folder is the shared memory. What to keep is the same cut as any other [agent memory](https://www.joancomadran.dev/blog/ai-agent-memory): durable facts and decisions, not secrets, not a dump of tool output.

The skills cover format. They do not cover forbidden paths. Keep that list after you install the plugin.

The connector adds no review step. Claude Code's permissions still apply. With [Code Mode](https://www.joancomadran.dev/blog/claude-code-code-mode) on, one script can chain several writes and return a short summary. The diffs are still there. Read them as [any other agent edit](https://www.joancomadran.dev/blog/how-to-review-ai-generated-code).

`git init` the vault if it is not a repo. Commit the notes as they are, so there is a revision to return to.`.obsidian/` unless you asked for a config edit.
A third-party MCP does not skip the list. Its key can read the whole vault. Keep that key outside the vault, and rotate it when you stop.

Wiring an agent to a folder of notes, and want the write rules, the review step, and what the agent is allowed to see decided before it touches the files?

I'm Joan Comadran, an industrial engineer (UPC) turned AI engineer and full stack developer in Barcelona. The commands, skills, and limits above are the Obsidian help pages and the obsidian-skills repo, last verified 30 November 2026. An agent that can read and write a folder, with a person checking the diff, is [the kind of problem I work on](https://www.joancomadran.dev/ai-engineering).

Install the official connector with two commands: claude plugin marketplace add obsidianmd/obsidian-skills, then claude plugin install [obsidian@obsidian-skills](mailto:obsidian@obsidian-skills). Update later with claude plugin update [obsidian@obsidian-skills](mailto:obsidian@obsidian-skills). Obsidian announced Connectors on 25 November 2026. They are Agent Skills from the obsidianmd/obsidian-skills repo, not an MCP server. A vault is also a folder of Markdown, so running claude inside that folder reads and writes notes with no plugin. A CLAUDE.md in the vault root can state the conventions. Last verified 30 November 2026.

No. Obsidian Connectors are an open-source package of Agent Skills. An official Obsidian MCP is on the roadmap, according to an @obsdmd reply on X, and that reply gives no details. A third-party route does exist: a community Local REST API plugin plus an MCP server. It is unofficial, and the key it holds reaches the whole vault.

Not always. The Markdown, Bases, and Canvas skills only describe file formats, so they work in any agent that can read and write files in the vault, with the app closed. obsidian-cli needs the desktop app running, Obsidian installer 1.12.7 or newer, Settings then General then Command line interface turned on and registered, and an agent that can run commands on that machine. The first command launches the app if it is closed. Obsidian Headless is a separate open-beta tool: no desktop app, Node.js 22 or newer. Muse runs in Meta's cloud, so obsidian-cli does not work there.

The connectors send nothing by themselves. Notes the agent reads become part of the conversation and are processed by the model you use. Defuddle, Knap, and Obsidian Headless are separate tools and are not bundled. The skill asks before installing them from npm.

*Originally published on [joancomadran.dev](https://www.joancomadran.dev/blog/connect-claude-code-to-obsidian). I'm Joan, an AI engineer in Barcelona. [Work with me](https://www.joancomadran.dev/ai-engineering).*
