Labsco
MCP SERVER

Obsidian MCP

by takuya0206

Work with the vault Obsidian already has open — read the active note, list the tree, insert under a heading, query with JsonLogic.

Note-Taking & Personal Knowledge Bases
Summary
It edits where you are, not just where the files are.

Two things separate it from treating the vault as a folder: it can read the note you currently have open, and patchNote inserts relative to a heading or frontmatter field rather than rewriting the file. It goes through the app, so Obsidian has to be running.

What it is

A connection to a running Obsidian through its Local REST API plugin: read notes including the one currently open, list the tree, insert content at a precise anchor, and search with JsonLogic queries.

What you get
  • A note read by path
  • The note currently open in Obsidian
  • Files and folders listed recursively, from the vault root or a folder you name
  • Content appended, prepended or replaced relative to a heading, block reference or frontmatter field
  • Notes searched with a JsonLogic query
Requirements

Node.js 18 or newer, Obsidian running with the Local REST API plugin installed, and the API key that plugin generates — passed with the host and port it listens on.