MCP server · Memory + knowledge
Obsidian MCP Server (cyanheads)
Community server that reads, searches and edits Obsidian notes through the Local REST API plugin. Shown here: read-only mode (OBSIDIAN_READ_ONLY).
Quick verdict
The best-maintained way to reach a live Obsidian vault from a client that wants a local stdio server. Start with OBSIDIAN_READ_ONLY=true; when you want writes, scope them with OBSIDIAN_WRITE_PATHS to a scratch folder and set OBSIDIAN_DELETE_ELICITATION=true.
- Maintainercyanheads (community)
- Security scopeRead-write
- Transportsstdio, streamable-http
- Install channelnpm · obsidian-mcp-server
- EvidenceNot tested yet (sources checked)
- LicenseApache-2.0 · Open source
A community MCP server, maintained by cyanheads and not by Obsidian, that connects an assistant to an Obsidian vault through the Local REST API community plugin. It can list, read and search notes and list tags, and with writes enabled it can create and overwrite notes, edit a single heading, block or frontmatter field, search and replace inside a note, manage tags and frontmatter, and permanently delete notes. Running Obsidian commands is a separate opt-in. The configuration shown here sets OBSIDIAN_READ_ONLY=true, which the server documents as its read-only mode and which disables its write and command tools, and points at the plugin's always-on HTTPS port. Obsidian must be open on the same desktop machine with the plugin enabled. Obsidian publishes no MCP server of its own; the Local REST API plugin also ships a built-in MCP server, which OpenSourcesAI has not reviewed.
Install Obsidian MCP Server (cyanheads)
Requires the Obsidian desktop app open with the Local REST API community plugin (v4.0.0 or later) enabled, and Node.js 24 or later. Copy the API key from Settings, Community Plugins, Local REST API. The base URL is the plugin's always-on HTTPS port; the server accepts its self-signed certificate by default. OBSIDIAN_READ_ONLY=true disables this server's write and command tools, but the plugin API key itself can still change or delete anything in the vault, so keep it secret. To allow writes, remove OBSIDIAN_READ_ONLY, limit writes with OBSIDIAN_WRITE_PATHS, and set OBSIDIAN_DELETE_ELICITATION=true so deletes ask first. Running Obsidian commands needs OBSIDIAN_ENABLE_COMMANDS=true and is off by default. The plugin's own built-in MCP server is a different server and is not the configuration shown here.
npx -y obsidian-mcp-server
{
"mcpServers": {
"obsidian-mcp-server": {
"command": "npx",
"args": [
"-y",
"obsidian-mcp-server"
],
"env": {
"OBSIDIAN_API_KEY": "<OBSIDIAN_API_KEY>",
"OBSIDIAN_BASE_URL": "https://127.0.0.1:27124",
"OBSIDIAN_READ_ONLY": "true"
}
}
}
}Credentials
| Name | Required | What it is for |
|---|---|---|
OBSIDIAN_API_KEY | Required | API key of the Obsidian Local REST API plugin (v4.0.0 or later), shown under Settings, Community Plugins, Local REST API. Secret. It is not scoped: it gives full read, write and delete access to the vault through the plugin, whatever this server's read-only setting is. |
OBSIDIAN_BASE_URL | Required | Not a secret. https://127.0.0.1:27124 is the plugin's always-on HTTPS port. Leave it unset to use the server's default, http://127.0.0.1:27123, which works only after enabling the plugin's non-encrypted HTTP server. |
OBSIDIAN_READ_ONLY | Required | Not a secret. true disables this server's write tools and the Obsidian command tools, per its README and source. Remove it to allow writes, and then consider OBSIDIAN_WRITE_PATHS and OBSIDIAN_DELETE_ELICITATION=true. |
Verified configurations
Not run by us yet. This profile is Not tested yet (sources checked): the install channel, config entry, credentials and license were checked against the source and upstream metadata, but no configuration has been installed, discovered and executed in a recorded environment. When one is, it appears here with the eight scope dimensions below.
Best for
Obsidian users who want an assistant to search and read their vault while Obsidian is open, and later to draft or update notes in folders they choose.
Why use it
Of the community Obsidian servers, it is the most actively released, has a Registry identity matching its npm package, and documents the most complete set of limits: a read-only switch, folder allow and deny lists, an opt-in confirmation step for deletes, and command execution off by default. Section edits target one heading, block or frontmatter field instead of rewriting whole files.
Tradeoffs
It is a single-maintainer community project, not an Obsidian product, and one of dozens of Obsidian servers. It needs the Obsidian desktop app open, the Local REST API plugin enabled, and Node.js 24 or later. Without OBSIDIAN_READ_ONLY, the delete tool removes a note permanently on the first call unless OBSIDIAN_DELETE_ELICITATION is set, and the write tool can overwrite a whole note. The read-only switch and path lists limit this server only: the plugin API key in the config can read, write and delete anything through the plugin directly, so treat it as a full-vault secret. The server does not verify the plugin's certificate by default. Note text is untrusted input that can carry prompt injection. The plugin it depends on now has its own built-in MCP server, so this server's long-term role is uncertain.
Upstream state
npm package published · repository active · in the official MCP Registry (active). Lifecycle is derived from a committed upstream snapshot at build time, never authored by hand.
Official MCP Registry name: io.github.cyanheads/obsidian-mcp-server
Editorial details
Grade B: Not tested yet (sources checked). Re-review is due by 2027-05-13. Config entries, credential names and package status can change upstream; verify against the source repository before granting an agent access.
Sources
- cyanheads/obsidian-mcp-server README: tools, configuration, read-only switch, path policy, prerequisites
- cyanheads/obsidian-mcp-server LICENSE (Apache-2.0)
- Server source: OBSIDIAN_READ_ONLY disables write and command tools
- Obsidian Local REST API plugin README: API key, ports, built-in MCP server
- Obsidian help: Obsidian CLI (official, no MCP server)
- npm: obsidian-mcp-server
- Official MCP Registry: io.github.cyanheads/obsidian-mcp-server
Related MCP servers
- OpenAPI MCP Server (ivo-toby)Community server that turns each OpenAPI operation into an MCP tool (or 3 meta-tools). Shown here: GET operations only, via --operation get.
- Qdrant MCPGive agents a local or hosted Qdrant memory layer for storing notes and retrieving them by semantic search.
- Basic Memory MCPGive agents durable local memory in plain Markdown, with search, graph traversal and explicit note creation, editing and deletion.