MCP Obsidian Via Rest logo

MCP Obsidian Via Rest

Connects MCP clients to an Obsidian vault through the local REST API for note retrieval and keyword or semantic search.

Install MCP Obsidian Via Rest

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-obsidian-via-rest": {
      "command": "bunx",
      "args": [
        "-y",
        "@oleksandrkucherenko/mcp-obsidian"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "YOUR_VALUE_HERE",
        "API_KEY": "YOUR_VALUE_HERE",
        "API_URLS": "YOUR_VALUE_HERE",
        "DEBUG": "YOUR_VALUE_HERE",
        "MCP_HTTP_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

bunx -y @oleksandrkucherenko/mcp-obsidian

127 npm error path /tmp/allmcps-pre/node_modules/@oleksandrkucherenko/mcp-obsidian npm error command failed npm error command sh -c bun run build npm error sh: 1: bun: not found npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3 npm notice To update run: npm install -g npm@12.2.3 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-28T15_43_55_130Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mcp-obsidian-via-rest MCP server connects AI assistants to an Obsidian vault through the Obsidian Local REST API. It provides note retrieval, query-based search, semantic search, and an Obsidian note resource URI. Use it when an agent needs to find or read information stored in a local vault, with stdio or HTTP transport and optional URL failover.

Use cases

  • Search an Obsidian vault for notes about a topic
  • Retrieve a note and its metadata for summarization
  • Use semantic search to find related vault content
  • Build reports from notes stored in an Obsidian knowledge base

Key features

  • Obsidian Local REST API access
  • Keyword and semantic note search
  • Note content and metadata retrieval
  • Obsidian URI resources
  • Stdio and HTTP transports
  • Multi-URL failover and health monitoring

Tools3

What MCP Obsidian Via Rest lets your agent do. Expand a tool for its parameters.

Self-reported~41 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/19 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @oleksandrkucherenko/mcp-obsidian (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
npm downloads1.2kPackage downloads in the last 30 days.
Last commit11d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed3Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Obsidian Via Rest works

What mcp-obsidian-via-rest does

mcp-obsidian-via-rest exposes an Obsidian vault to MCP-compatible AI assistants through the Obsidian Local REST API. Its tools cover three common read operations: retrieving a note and its metadata, searching notes with a query string, and performing semantic search across notes.

The server also publishes notes through the obsidian://{path} resource pattern. A client can use a URI such as obsidian://Daily/2025-01-16.md to address a specific note.

This is a fit for assistants that need to locate reference material, summarize vault content, or answer questions from an existing Obsidian knowledge base. The listed capabilities focus on reading and searching notes.

How it works

The MCP process acts as a bridge between an MCP client and the Obsidian REST API. An Obsidian REST API key is supplied to authenticate requests, while one or more API URLs identify the REST service. The server can test multiple URLs in parallel, select the fastest reachable endpoint, monitor the connection, and switch endpoints when a connection fails. Reconnection uses exponential backoff.

Two MCP transports are available:

  • stdio, the default option for local MCP clients
  • http, which uses HTTP JSON-RPC with SSE streaming for remote access

For HTTP transport, the MCP endpoint path defaults to /mcp and can be changed with configuration.

Setup and configuration

The project can be run through the published npm package with bunx, or from the Docker image ghcr.io/oleksandrkucherenko/obsidian-mcp:latest. A basic CLI setup passes the server command to an MCP client, for example:

Terminal
claude mcp add obsidian -- bunx -y @oleksandrkucherenko/mcp-obsidian

Set OBSIDIAN_API_KEY for the quick-test command shown for CLI use. Docker-based configurations use API_KEY for the credential and API_URLS for a JSON array of REST API endpoints, such as local, WSL, or host-accessible addresses. DEBUG can enable mcp:* logging.

For HTTP mode, set MCP_HTTP_PATH when a path other than /mcp is needed. Docker examples publish port 3000 and pass the MCP configuration through environment variables. Multiple URLs are useful when Obsidian is reachable through different host, container, or WSL network addresses.

Tools and capabilities

  • get_note_content: retrieves a note's content and metadata using its filePath.
  • obsidian_search: searches notes using a string supplied as query.
  • obsidian_semantic_search: performs semantic note search using a query string.
  • obsidian://{path} resources: addresses notes by vault path.
  • Stdio and HTTP MCP transports.
  • Multi-URL endpoint selection, health monitoring, failover, and backoff behavior.

Limitations and notes

The server depends on an accessible Obsidian Local REST API and a valid API key. Network setup matters when the MCP process runs in Docker, WSL2, or on a different host; the configuration examples include separate URLs for these environments. The documented tools are retrieval and search tools, so workflows requiring note creation or mutation are outside the listed interface.

The Docker examples use interactive standard input for stdio mode and expose port 3000 for HTTP mode. HTTP access should be configured with care because it is intended for remote access rather than only local client processes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Obsidian Via Rest

mcp-obsidian-via-rest is an MCP server that connects AI assistants to an Obsidian vault through the Obsidian Local REST API. Its main tools retrieve note content and metadata, search notes with a query, and perform semantic search. It also exposes notes through obsidian:// resource URIs.

Install it for a CLI client with the published package through bunx, such as `bunx -y @oleksandrkucherenko/mcp-obsidian`. Docker is another supported deployment option using `ghcr.io/oleksandrkucherenko/obsidian-mcp:latest`.

Connect it by supplying the Obsidian REST API key and one or more REST API URLs. Use `OBSIDIAN_API_KEY` in the quick-test flow or `API_KEY` and `API_URLS` in the Docker configuration.

Yes, mcp-obsidian-via-rest supports HTTP transport with HTTP JSON-RPC and SSE streaming. Configure the server for HTTP mode, publish port 3000 in the Docker example, and use `MCP_HTTP_PATH` to change the default `/mcp` endpoint.

Yes, the usage examples show both Claude Code and Codex CLI configurations. Claude Code adds the server with `claude mcp add`, while Codex CLI uses `codex mcp add` and the same published package.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Obsidian Via Rest AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-obsidian-via-rest?style=directory)](https://allmcps.com/mcp/mcp-obsidian-via-rest)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-obsidian-via-rest"><img src="https://allmcps.com/api/badge/mcp-obsidian-via-rest?style=directory" alt="MCP Obsidian Via Rest on AllMCPs" /></a>