Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

obsidian-rest-api

Skill by davepoon

Calls the Obsidian Local REST API directly over HTTP for vault operations the obsidian MCP tools do not expose. It is for users who need to move notes, overwrite files atomically, run commands, or manage periodic notes.

  • Score 81
  • 3.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install obsidian-rest-api

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davepoon/buildwithclaude /tmp/buildwithclaude && mkdir -p ~/.claude/skills && cp -r /tmp/buildwithclaude/plugins/all-skills/skills/obsidian-rest-api ~/.claude/skills/obsidian-rest-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install obsidian-rest-api in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The obsidian-rest-api skill lets an AI assistant call the Obsidian Local REST API directly over HTTP. It covers vault operations that the connected obsidian MCP tools do not expose, such as moving or renaming a note, overwriting a whole file with PUT, acting on the active file, running Obsidian commands, opening a note in the UI, listing tags with counts, and managing date-specific periodic notes.

A wrapper script, scripts/olrapi.sh, reads the host, port and key from the obsidian MCP server config or OBSIDIAN_* environment variables and handles the plugin's self-signed TLS certificate. The skill says to prefer the mcp__obsidian__* tools for plain read, append, patch, delete and search, and to use it only when a method is missing from MCP. It is aimed at users who run the Obsidian Local REST API plugin and want fuller API coverage from their assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Move or rename notesMoves a note with the custom MOVE method, preserving history and updating internal links.
  • Atomic file overwriteOverwrites a whole note with PUT instead of delete and recreate.
  • Active file actionsActs on the currently open active file in the Obsidian UI.
  • Run Obsidian commandsRuns an Obsidian command from the command palette through the API.
  • Open notes in the UIOpens or focuses a note in the Obsidian interface.
  • List vault tagsLists all vault tags with their counts.
  • Periodic note CRUDCreates, updates and deletes date-specific periodic notes.
  • Structured note readsReads a note as JSON with frontmatter, tags and stat using the note JSON accept header.

What you need

  • Obsidian Local REST API plugin (obsidian-local-rest-api)
  • A connected obsidian MCP server or OBSIDIAN_* environment variables
  • API key for the Local REST API plugin

Try asking

  • Rename 3-Resources/Draft.md to 3-Resources/Final.md in my vault
  • List all tags in my Obsidian vault with their counts
  • Open my Inbox todo note in Obsidian in a new tab

Good to know

  • Intended as a fallback for operations that have no mcp__obsidian__* tool.
  • MOVE returns 409 if the destination exists unless Allow-Overwrite is set.
  • The plugin uses a self-signed certificate, so HTTPS calls need curl -k.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/all-skills/skills/obsidian-rest-api/SKILL.md, plugins/all-skills/skills/obsidian-rest-api/scripts/olrapi.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • references/api_reference.md8 KB
  • scripts/olrapi.sh2 KB

Alternatives to obsidian-rest-api

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

obsidian-rest-api: common questions

Does this replace the obsidian MCP tools?

No. The skill says to use the mcp__obsidian__* tools first for read, append, patch, delete and search, and to fall back to this skill only for operations with no MCP tool.

What happens if the move destination already exists?

The MOVE call returns HTTP 409. Adding the header Allow-Overwrite: true forces the move.

Which ports does the Local REST API use?

The source says the API serves HTTPS on port 27124 and HTTP on port 27123, with HTTPS using a self-signed certificate.

How do I install obsidian-rest-api?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is obsidian-rest-api free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is obsidian-rest-api safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to obsidian-rest-api?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

obsidian-rest-api Install

Add to stack

Loading.