Best for
- Obsidian users already running the Local REST API plugin.
- MCP client users who need structured note search and surgical editing.
- Deployments that need vault access restricted by read and write folder allowlists.
The source describes a focused MCP server for Obsidian vault reading, writing, searching, and surgical editing, with folder policies and a read-only switch. The Local REST API plugin and API key are mandatory prerequisites. Public HTTP deployments should configure authentication and tightly limit write access.
obsidian-mcp-server is an open-source MCP server maintained by cyanheads. It uses the Obsidian Local REST API to read, create, search, and surgically edit notes, tags, and frontmatter. It supports STDIO and Streamable HTTP, exposes 14 tools and 3 resources, is version 3.2.9, and is licensed under Apache-2.0.
Install and enable the Obsidian Local REST API plugin v4.0.0 or later, then generate an API key in its settings. Use Bun v1.3.11 or later, or Node.js v24 or later. Put OBSIDIAN_API_KEY in the client configuration; the default endpoint is http://127.0.0.1:27123. Alternatively, use npx or clone the repository and run bun install. For Streamable HTTP, run start:http; the default endpoint is http://127.0.0.1:3010/mcp.
{"mcpServers":{"obsidian-mcp-server":{"type":"stdio","command":"bunx","args":["obsidian-mcp-server@latest"],"env":{"MCP_TRANSPORT_TYPE":"stdio","MCP_LOG_LEVEL":"info","OBSIDIAN_API_KEY":"your-local-rest-api-key"}}}}