whereismyai
Obsidian Local REST API
Obsidian Local REST API is an Obsidian plugin that provides an authenticated REST API and Model Context Protocol server for programmatic access to notes.
Obsidian Local REST API is an Obsidian plugin that provides an authenticated REST API and Model Context Protocol (MCP) server for local notes. It allows scripts, browser extensions, and AI tools to read, create, update, or delete any file in a vault, including binary attachments. The plugin supports surgical patching of headings, block references, and frontmatter keys without rewriting full documents. Users can perform full-text searches, run structured JsonLogic queries, execute Obsidian commands, and stream vault events over Server-Sent Events. Requests run over HTTPS via a locally generated certificate authority or over plain HTTP.
Obsidian Local REST API at a glance
Key features
- Full CRUD operations on any file in an Obsidian vault
- Section-level patching of headings, block references, and frontmatter
- Model Context Protocol (MCP) endpoint for AI agents
- Full-text search and structured JsonLogic metadata queries
- Server-Sent Events stream for tracking vault and note updates
- Listing and executing Obsidian commands via API calls
- Reading and writing the currently active file in the UI
- HTTPS support with an automatically generated local certificate authority
Use it for
- Connecting AI tools like Claude Code, Claude Desktop, and Cursor to Obsidian vaults
- Patching specific sections or frontmatter in notes from external scripts and shortcuts
- Streaming real-time vault modifications to outside services using Server-Sent Events
- Automating Obsidian commands and opening notes programmatically from other applications
Alternatives to Obsidian Local REST API
- MCP Obsidian — Connects Claude directly to read, search, and edit notes in an Obsidian vault.
- Claudian — Turns an Obsidian vault into a functional directory for AI agents.
- Claude Obsidian — Maintains user ownership of files in a local-first, source-cited vault.
- Obsidian Wiki — Compiles knowledge into markdown and carries context across agent sessions.
- Obsidian Skills — Integrates AI agents directly with Obsidian vaults and markdown files.
- Obsidian Mind — It gives AI coding agents persistent memory so they never forget past context.
- Obsidian Second Brain — Agent memory as plain Markdown notes that keep themselves current
- Obsidian Copilot — Runs agents directly inside Obsidian with any AI model and zero lock-in.
- Smart Connections — Finds related notes locally by default without requiring an API key.
- Caldera — Connects people based on their actual code, writing, and AI agent activity.
- ThinkBoard — Edit Obsidian canvases instantly from a dashboard overlay above your desktop.
- Axon — Extracts tasks locally with Claude Code and sends them directly to Vikunja.
All Obsidian Local REST API alternatives