A local MCP server for Obsidian vaults: read, search, patch and organise notes, frontmatter and tags straight from the files, with no Obsidian plugin and no app running.
Obsidian MCP Server (cyanheads)
Summary
Open-source MCP server that reads, searches and edits an Obsidian vault through the Local REST API plugin, down to a single heading, block or frontmatter field, with folder-scoped permissions.
Features
- 14 tools to read, list, search, write, patch and delete vault notes
- Section-level edits against one heading, block reference or frontmatter field
- Text, JSONLogic and Omnisearch (BM25) search modes
- Folder read/write allowlists, deny list and read-only mode
- Optional delete confirmation through MCP elicitation
- stdio or Streamable HTTP, with JWT/OAuth auth and Docker image
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
Obsidian MCP Server by cyanheads gives Claude, Cursor, VS Code and other MCP clients working access to an Obsidian vault. It talks to the community Local REST API plugin (v4.0 or later) running inside Obsidian, so the vault stays on your machine and the server only needs the plugin's API key.
Its 14 tools cover the whole note lifecycle: read a note as raw text, a structured form, a document map or a single section; list folders; search by text, by JSONLogic queries over paths, frontmatter and tags, or with BM25-ranked Omnisearch when that plugin is installed; create, append, prepend or replace content against one heading, block reference or frontmatter field; run literal or regex replacements; manage frontmatter keys and tags; open files in the Obsidian UI; and, opt-in, list and run command-palette commands. Three resources expose note content, the tag index and the plugin status.
What sets it apart from simpler vault servers is the safety model. Read and write allowlists and a deny list scope what an agent can touch, a read-only mode removes every write tool, and deletes can require a confirmation through MCP elicitation. It runs over stdio or Streamable HTTP, with optional JWT or OAuth auth and OpenTelemetry tracing, and ships as an npm package, a Docker image and a one-click Claude Desktop bundle. Apache-2.0 licensed; for Obsidian users who want an agent to maintain notes without giving it the run of the whole vault.
Related MCP Servers
See all Obsidian MCP Server (cyanheads) alternativesOfficial Anytype MCP server: lets AI assistants search, create and organise objects, lists, types, properties and templates in your local-first, encrypted Anytype spaces through the desktop app's API.
MCP: Notion
by Notion
Notion's official MCP server — search, read, create, and update pages and databases in your workspace.
Format Markdown with Wenyan's themes and publish it to a WeChat Official Account's drafts from an AI chat, with images and covers uploaded automatically.