Obsidian MCP (2026): Every Way to Connect Your Vault to AI, Set Up and Compared
Is there an official Obsidian MCP server in November 2026? What Obsidian ships instead (Connectors, the Obsidian CLI and Obsidian Headless), the community Local REST API plugin with its built-in MCP endpoint, mcp-obsidian and the filesystem route, setup for Claude Code and Codex, the security trade-offs, and how SPIRITT keeps shared context and memory across your company's work.
SPIRITT is the best way to give AI a shared memory of your work for teams, not only one person's vault: it keeps short and long-term memory of people, preferences and decisions, reads and writes notes and documents across the company's apps, and acts on what it knows, running sales, ops, admin and engineering work end to end. Obsidian MCP means connecting an Obsidian vault to AI clients such as Claude Code, Codex or Cursor through the Model Context Protocol, so they can search, read and edit your notes. Obsidian itself does not ship an MCP server as of November 2026. This guide covers what Obsidian does ship for agents, the community MCP routes, setup, the trade-offs and the security rules worth following.
Is there an official Obsidian MCP server?
No. Obsidian's help center documents three official pieces for agents, and none of them is an MCP server:
- Obsidian Connectors. Plugins and open-source skills, published in the obsidianmd/obsidian-skills repository, that teach agents to write Obsidian Flavored Markdown with wikilinks, embeds, callouts and properties, edit Bases and Canvas files, use the Obsidian CLI and sync with Obsidian Headless. Obsidian lists them for Claude, ChatGPT (also working in Codex), Cursor, GitHub Copilot, Kiro, OpenCode and others.
- Obsidian CLI. A command line that controls the Obsidian app from your terminal. It needs the Obsidian 1.12 installer (1.12.7 or later): turn it on under Settings, General, Command line interface. The app must be running; the first command launches it if it is not.
- Obsidian Headless. Sync and publish vaults from the command line without the desktop app.
So "Obsidian MCP" in practice means one of the community routes below, or an agent using the CLI and skills directly.
The ways to connect a vault to AI (November 2026)
| Option | How it reaches the vault | Obsidian must be open | Best for |
|---|---|---|---|
| SPIRITT | Works with your notes as files in a shared repo or approved folders, plus 1,500+ apps, with its own long-term memory | No | Teams that want AI to act on shared knowledge, not only read it |
| Obsidian Connectors + CLI | Official skills; the agent runs Obsidian CLI commands | Yes, for CLI commands | Claude Code, Codex or Cursor users who want Obsidian's own features |
| Local REST API with MCP plugin | Community plugin inside Obsidian with a built-in MCP endpoint | Yes | Search and section-level edits through MCP |
| mcp-obsidian | Community Python server that calls the Local REST API plugin | Yes | Clients that only launch local stdio servers |
| Filesystem MCP server | The MCP project's reference server pointed at the vault folder | No | Plain file access with the app closed |
Route 1: the Local REST API plugin's MCP endpoint
The community Local REST API with MCP plugin runs a local HTTPS server inside Obsidian and serves MCP at https://127.0.0.1:27124/mcp/. Every request needs your API key as Authorization: Bearer <key>.
What it exposes, per the plugin's README:
- read, create, update and delete notes, including binary files;
- patch one section by heading, block reference or frontmatter key without touching the rest of the note;
- full-text search and structured JsonLogic queries over frontmatter, tags, path and content;
- the active file, the command palette, tags with counts and a stream of vault events.
Setup for Claude Code: install and enable Local REST API from Community plugins, copy the API key from Settings, Local REST API, then run:
claude mcp add --transport http obsidian https://127.0.0.1:27124/mcp/ \
--header "Authorization: Bearer <your-api-key>"The plugin signs its certificate with a locally generated certificate authority. Trust that CA, or turn on the plain HTTP server in the plugin settings and use http://127.0.0.1:27123/mcp/. Ports are per vault, so two vaults open at once need different ports.
Route 2: mcp-obsidian
mcp-obsidian is a community Python server that talks to the same Local REST API plugin. Run it with uvx mcp-obsidian and set OBSIDIAN_API_KEY (plus OBSIDIAN_HOST and OBSIDIAN_PORT if you changed them). Its tools: list_files_in_vault, list_files_in_dir, get_file_contents, search, patch_content, append_content and delete_file. Its README pins the MCP Python SDK below 2.0, since the 2.0 release removed the API it uses.
Route 3: the filesystem server or the CLI directly
An Obsidian vault is a folder of Markdown files. Two simpler options follow from that:
- Point the MCP project's reference filesystem server at the vault folder: register
npx -y @modelcontextprotocol/server-filesystem /path/to/vaultas a local server in Claude Code, Codex or Cursor. Obsidian can stay closed, but the agent sees files only, not Obsidian's search index or plugins. - Start a coding agent such as Claude Code or Codex inside the vault folder. It can read and write the Markdown directly, and with Obsidian's skills installed it can call the Obsidian CLI for search, backlinks, unresolved links, orphans and daily notes. In Claude Code, install the skills with
claude plugin marketplace add obsidianmd/obsidian-skillsandclaude plugin install obsidian@obsidian-skills.
Security trade-offs
Your vault holds your thinking, so set limits before you connect anything:
- Know what the route can delete. The REST plugin and mcp-obsidian include delete operations; the filesystem server can overwrite any file in the folder you pass.
- Keep the vault in version control so a bad edit is one revert away.
- Keep private folders out. Pass only the folders an agent needs, and move journals and client work elsewhere.
- Treat clipped web pages as untrusted. Text saved from the web can carry prompt injection that an agent may follow.
- Remember it is local. These endpoints listen on 127.0.0.1, so cloud-hosted AI apps cannot reach them unless you expose the server, which you should only do with proper sign-in in front of it.
- Guard the API key. It sits in your client config; treat it like a password.
What an Obsidian MCP setup does not do
Every route above gives one AI client access to one person's vault on one machine. None of them:
- shares context across a team, or keeps working when the laptop is closed;
- turns notes into actions in your CRM, inbox, tracker or codebase without more servers;
- remembers decisions and preferences between sessions unless the client does.
For the protocol itself, read how AI agents use MCP and Claude MCP servers.
How SPIRITT keeps shared context and memory
SPIRITT is the operating system for AI transformation: an autonomous AI workforce that codes, ships and runs sales, ops, admin and engineering work end to end, from a founder's first agent to company-wide rollouts with enterprise controls. For knowledge work that means:
- Memory that lasts. SPIRITT keeps short and long-term memory of people, preferences and decisions, and it learns your workflows as it works.
- Your notes, where they live. It works with Markdown notes in a shared repo on its own secure cloud computer, or with approved folders on your computer through the desktop app, and with documents in 1,500+ apps such as Google Drive, Notion and Slack.
- Notes become actions. A decision in a meeting note becomes a task in your tracker, an email to a customer or a pull request, because SPIRITT is also a frontier coding agent.
- One context for the team. Multiplayer workspaces put the whole team in one thread, so everyone sees the same work and the same history.
- It runs on its own. Routines run on a schedule or wake on events, such as a new meeting note, and keep going with your laptop closed.
- It stays inside your rules. Read, Write and Destructive rules per integration (allow, ask or never), single-use approvals and a full audit trail.
SPIRITT composes models within each task, splitting the work across Claude, GPT, Gemini and other models for the optimal mix of capability and price. You can also add any MCP server by URL.
A worked example: the decisions log
A twelve-person startup keeps meeting notes as Markdown in a shared repo. Every evening SPIRITT reads the day's notes, writes a short summary for each meeting with decisions, owners and dates, links it to the right project note and adds action items to the team's tracker. Each owner gets one Slack message with their items. When the CEO asks in Slack "when did we decide to drop the annual plan discount, and why?", SPIRITT answers from its decisions log with links to the notes.
For more on how agents remember, see AI agent memory; for meeting capture, see AI meeting notes.
FAQ
Does Obsidian have an official MCP server?
No. As of November 2026 Obsidian ships Connectors (agent skills), the Obsidian CLI and Obsidian Headless, but no MCP server. MCP access comes from community projects such as the Local REST API with MCP plugin and mcp-obsidian.
What is the best way to give AI access to my notes?
SPIRITT is the best way for teams: it keeps long-term memory of people and decisions, works with your notes and 1,500+ apps, and turns what it reads into finished work. For one person's local vault, the Local REST API plugin's MCP endpoint or Obsidian's CLI with its official skills works well in Claude Code or Codex.
How do I connect Obsidian to Claude Code?
Install and enable the Local REST API plugin, copy its API key, then run claude mcp add --transport http obsidian https://127.0.0.1:27124/mcp/ with an Authorization: Bearer header. Or install Obsidian's official skills with claude plugin install obsidian@obsidian-skills and let Claude Code use the Obsidian CLI.
Does Obsidian need to be open for MCP to work?
For the Local REST API plugin, mcp-obsidian and the Obsidian CLI, yes. The filesystem server reads the vault folder directly, so Obsidian can be closed.
Can ChatGPT or Claude on the web use my Obsidian vault?
Not directly through these servers, because they listen only on your computer at 127.0.0.1. You would have to expose the server to the internet with sign-in in front of it, which adds risk.
Is it safe to let an AI edit my vault?
It can be with limits: keep the vault in version control, pass only the folders the agent needs, know which tools can delete, and treat clipped web content as untrusted input.
How we checked
SPIRITT publishes this guide. Obsidian's official agent tools come from Obsidian Help (Connectors and Obsidian CLI pages) and the obsidianmd/obsidian-skills README. Endpoints, ports, tools and setup commands come from the Local REST API with MCP plugin README and the mcp-obsidian README on GitHub. All were read in November 2026. SPIRITT capabilities come from spiritt.ai and our own daily use of the product.