Obsidian MCP Server

by @cyanheads

Obsidian MCP Server

Obsidian MCP Server gives assistants note reading, search, and targeted editing in an Obsidian vault. It includes tag and frontmatter management, optional path restrictions, and stdio or streamable HTTP operation.

Memory & Knowledge696nodeApache-2.0

Server facts

Obsidian MCP Server

GitHub stars

696

Last commit

Oct 6, 2026

Runtime

node

License

Apache-2.0

Tech

Runtime
nodeTypeScript
Transports
stdio
Remote access
No

Activity

GitHub stars
696
Last commit
Data as of

Tags

  • Frontmatter
  • Markdown
  • Note Editing
  • Obsidian
  • Typescript

Overview

Obsidian MCP Server gives MCP clients structured access to notes, metadata, and editing operations in an Obsidian vault. Notes can be read as raw Markdown, a full structured object, a document map, or an individual section. Document maps expose headings, blocks, and frontmatter fields that other tools can target without replacing an entire file. Search supports text and JSONLogic, with BM25-ranked Omnisearch available when its plugin HTTP service is reachable. Results use cursor pagination, and file listings support filters and bounded recursive traversal.

Editing includes appending, section patches, sequential literal or regex replacements, frontmatter changes, and tag reconciliation. Whole-file writes refuse to overwrite an existing note unless explicitly allowed. Deletion remains destructive, with interactive confirmation requested when the client supports it. Optional policies can restrict read and write paths or disable writes altogether; unset policies allow access throughout the vault. Tag aggregation is a notable exception because it remains vault-wide rather than following path narrowing. Command-palette discovery and execution are separately opt-in, since commands can have broad side effects. The README advertises stdio and streamable HTTP, and the input configuration supplies a Local REST API key setting. However, the supplied README excerpt does not include a complete runnable launch command, so a setup command cannot be reproduced from that source alone.

Install & configure

Requirements

  • An Obsidian vault
  • A Local REST API key as shown in the input configuration
  • An MCP-compatible client

Not stated in the supplied README excerpt: a complete runnable installation or launch command. The structured configuration suggests npx, but no command is reproduced here because the spec requires a README command. The README supports stdio and streamable HTTP. Omnisearch requires its plugin HTTP service to be reachable.

Tools

Source: repository tool metadata and repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
obsidian_get_noteRead a note, document map, or selected section.
obsidian_list_notesList notes and directories with depth and name filters.
obsidian_list_tagsList vault tags and usage counts, including hierarchical parents.
obsidian_open_in_uiOpen a vault file in Obsidian, optionally creating a missing file.
obsidian_search_notesSearch note content or metadata with cursor-based pagination.
obsidian_write_noteCreate a note or replace content, including a targeted section.
obsidian_append_to_noteAppend to a note or section; whole-file mode can create missing notes.
obsidian_patch_noteAppend, prepend, or replace a heading, block, or frontmatter target.
obsidian_replace_in_noteApply ordered literal or regex replacements within one note.
obsidian_manage_frontmatterRead, set, or remove one frontmatter key atomically.
obsidian_manage_tagsList, add, or remove frontmatter and optional inline tags.
obsidian_delete_noteDelete a note, requesting confirmation when supported by the client.
obsidian_list_commandsDiscover command-palette commands when explicitly enabled.
obsidian_execute_commandRun an Obsidian command by ID when explicitly enabled.

Use cases

  • Read a section of a note without loading the full document.
  • Update headings or frontmatter without replacing the whole file.
  • Search vault content with text or metadata predicates.
  • Reconcile inline and frontmatter tags.
  • Limit an assistant to a specific writable folder.

Strengths

  • Structural note maps enable targeted edits.
  • Existing files are protected from default whole-file overwrites.
  • Supports read-only and folder-scoped policies.
  • Optional Omnisearch integration adds ranked retrieval.

Limitations

  • Tag listing remains vault-wide even with path restrictions.
  • Deletion has no API-level undo in the supplied tool facts.
  • The supplied README excerpt lacks a complete runnable setup command.

Obsidian MCP Server setup notes

  • Obsidian MCP Server records stdio only; confirm a network transport upstream before planning remote access.

Frequently asked questions

Yes. Read a document map to discover structural targets, then use section writing or patching.

Related MCP servers