obsidian-local-rest-api

coddingtonbear/obsidian-local-rest-api
★ 2,236 stars TypeScript 🔌 API Integration Updated 5d ago
A secure REST API and Model Context Protocol (MCP) server for your vault.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian-local-rest-": {
      "command": "npx",
      "args": [
        "-y",
        "coddingtonbear/obsidian-local-rest-api"
      ]
    }
  }
}

README Excerpt

Give your scripts, browser extensions, and AI agents a direct line into your Obsidian vault via a secure, authenticated REST API. **Interactive API docs:** https://coddingtonbear.github.io/obsidian-local-rest-api/ Access your vault through the **REST API** or the **built-in [MCP server](https://modelcontextprotocol.io/)** — both interfaces expose the same core capabilities, so scripts, browser extensions, and AI agents all speak the same language.

Tools (15)

active_file_get_pathcommand_executecommand_listopen_fileperiodic_note_get_pathsearch_querysearch_simpletag_listvault_appendvault_deletevault_get_document_mapvault_listvault_patchvault_readvault_write