obsidian-local-rest-api

obsidian-local-rest-api

A secure REST API and MCP server for your Obsidian vault.

MCPOfficeOpen source
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 2.5k
Source
mcp-github

Overview

obsidian-local-rest-api is a secure REST API and Model Context Protocol (MCP) server that enables access to your Obsidian vault. With this capability, AI agents can read, create, update, or delete notes, perform precise file operations, search note content, and trigger Obsidian commands. Access is available via REST API and the built-in MCP server. Ideal for users who need to automate and manage their Obsidian vaults.

Capabilities

  • Read, create, update, or delete notes
  • Precise modification of specific content sections
  • Full-text search and structured queries
  • Access to currently open files
  • Handle periodic notes

Use cases

Automated note managementBulk editing of note contentIntegration with external tools and scriptsEnhanced AI agent access to Obsidian

Setup

Requires: API KeyNode 环境
After installing and enabling the plugin, locate the API key and certificate in the settings. Configure using the REST API or MCP client.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I get the API key?

You can find the API key in the Local REST API section of the plugin settings.

Which clients are supported?

Supports Claude Code, Claude Desktop, Cursor, and other clients that support Streamable HTTP MCP transmission.

Related skills