Skip to content

Obsidian MCP Server

Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.

Install: git clone https://github.com/cyanheads/obsidian-mcp-server

Install

$git clone https://github.com/cyanheads/obsidian-mcp-server

Install command taken from the project's README or registry entry. Always review code before running it.

obsidian-mcp-server Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP. 14 Tools • 3 Resources


Overview

Obsidian vault notes over the Local REST API plugin. Read, search, and write notes, edit single headings, blocks, and frontmatter fields in place, and manage tags, with folder-scoped read/write permissions built in. Runs as a stdio process or a local Streamable HTTP server.

Tools

Tool Description
obsidian_get_note Read a note as raw content, full structured form, document map, or a single section
obsidian_list_notes List notes and folders under a vault path, recursively, with extension and name filters
obsidian_list_tags List vault tags with usage counts, most-used first
obsidian_search_notes Search by text, JSONLogic, or BM25-ranked Omnisearch when that plugin is reachable
obsidian_write_note Create a note, replace one section, or overwrite a whole file with overwrite: true
obsidian_append_to_note Append to a note (creating it if missing) or to one heading, block, or frontmatter field
obsidian_patch_note Append, prepend, or replace against one heading, block reference, or frontmatter field
obsidian_replace_in_note Literal or regex search-replace inside one note, body-only by default
obsidian_manage_frontmatter Get, set, or delete one frontmatter key
obsidian_manage_tags Add, remove, or list a note's tags in frontmatter, inline, or both
obsidian_delete_note Permanently delete a note, optionally after the user confirms (OBSIDIAN_DELETE_ELICITATION)
obsidian_open_in_ui Open a file in the Obsidian app, optionally in a new pane
obsidian_list_commands List command-palette commands (opt-in via OBSIDIAN_ENABLE_COMMANDS)
obsidian_execute_command Run a command-palette command by ID (opt-in via OBSIDIAN_ENABLE_COMMANDS)

Resources

Resource Description
obsidian://vault/{+path} A note's content, frontmatter, tags, and file metadata
obsidian://tags Every vault tag with its usage count, as an uncapped snapshot
obsidian://status Plugin reachability, auth status, versions, and registered API extensions

Note and tag data are also reachable through tools (obsidian_get_note, obsidian_list_tags); obsidian://status has no tool equivalent.

Capability reference

obsidian_get_note tool

  • target is a vault path, the active file, or a periodic note (daily through yearly, optional date); format is content, full, document-map, or section, and full takes includeLinks: true for vault-internal outgoing links
  • result.format discriminates the payload; a section read that matches several headings returns the first and lists every full path in candidates
  • A path with no exact match but one case-insensitive match in its folder reads that file: result.path is the real name, requestedPath the one sent, and a notice names both

obsidian_list_notes tool

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related