Obsidian Vault MCP Server

MCP server · by OleksandrKucherenko

Productivity npmDocker v1.3.3

Access Obsidian vaults via Local REST API - read, search, and interact with notes

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.3.3

npm
npx -y @oleksandrkucherenko/mcp-obsidian
npm
npx -y @oleksandrkucherenko/mcp-obsidian
Docker
docker run -i --rm ghcr.io/oleksandrkucherenko/obsidian-mcp:1.3.3
Docker
docker run -i --rm docker.io/oleksandrkucherenko/obsidian-mcp:1.3.3

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "mcp-obsidian-via-rest": {
      "command": "npx",
      "args": [
        "-y",
        "@oleksandrkucherenko/mcp-obsidian"
      ],
      "env": {
        "API_KEY": "<YOUR_API_KEY>",
        "API_URLS": "<YOUR_API_URLS>",
        "MCP_HTTP_TOKEN": "<YOUR_MCP_HTTP_TOKEN>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • API_KEY required secret — Obsidian Local REST API key
  • API_URLS required — JSON array or semicolon-separated list of Obsidian REST API URLs for failover
  • API_HOST — Obsidian REST API host (legacy single-URL config)
  • API_PORT — Obsidian REST API port (legacy single-URL config)
  • MCP_TRANSPORTS — Enabled transports (default: stdio,http)
  • MCP_HTTP_PORT — HTTP transport bind port (default: 3000)
  • MCP_HTTP_HOST — HTTP transport bind host (default: 0.0.0.0)
  • MCP_HTTP_TOKEN secret — Bearer token for HTTP transport authentication

GitHub

⭐ 13 stars · 最近更新于 207 天前 · MIT license

About this server

Distributed as npm, Docker, listed under Productivity. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Obsidian Vault MCP Server?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Obsidian Vault MCP Server free to use?

The MCP server itself is free to install. The source is public on https://github.com/OleksandrKucherenko/mcp-obsidian-via-rest. Any third-party service it calls may require its own API key and account.

Which clients support Obsidian Vault MCP Server?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mcp-obsidian-via-rest.svg)](https://mcpnav.net/server/mcp-obsidian-via-rest/)

HTML

<a href="https://mcpnav.net/server/mcp-obsidian-via-rest/"><img src="https://mcpnav.net/badge/mcp-obsidian-via-rest.svg" alt="Listed on MCPNav" height="20"></a>