Obsidian MCP is an MCP server that enables AI assistants like Claude Desktop to connect directly to an Obsidian vault via the Model Context Protocol. By interfacing with the Obsidian Local REST API plugin over local HTTP, it allows researchers, note-takers, and knowledge workers to query and manipulate their Markdown notes using automated agents. Users can read entire documents, retrieve the contents of the currently active note in the Obsidian interface, and recursively inspect folder hierarchies across the vault. The server also supports targeted edits through note patching, which lets assistants prepend, append, or replace text under specific headings, frontmatter keys, or block references without modifying unrelated sections. Additionally, the server exposes structured note search capabilities using JsonLogic queries, giving language models a standardized mechanism to filter and surface relevant personal knowledge files during complex reasoning and drafting workflows.
Category: Files, Documents & PDFs
Tags: knowledge-base, markdown, notes, obsidian
bash git clone https://github.com/takuya0206/obsidian-mcp cd obsidian-mcp 3. Install dependencies and build the server: bash npm install npm run build 4. Add the server to your Claude Desktop configuration file: json { "mcpServers": { "Obsidian": { "command": "node", "args": ["/Users/<Your Own Path>/obsisian-mcp/build/index.js"], "env": { "apiKey": "<Your API Token>", "port": "27123", "host": "127.0.0.1" } } } } 5. Replace the file path and API token with your local setup values and restart Claude Desktop.Part of MCP Servers
Obsidian MCP is a Model Context Protocol server that allows AI assistants to interface directly with an Obsidian knowledge vault. It enables AI tools to list directories, read documents, patch sections of markdown notes, and search vault content via the Obsidian Local REST API.
You need Node.js version 18 or higher, the Obsidian desktop application, and the Obsidian Local REST API plugin installed. The plugin generates the API key and hosts the local server on your machine so the MCP server can communicate with your vault.
The server includes five primary tools: readNote to read a file by path, readActiveNote to inspect the currently open note, listNotes to list vault files recursively, patchNote to modify specific headings or frontmatter, and searchWithJsonLogic to query notes.
Yes, Obsidian MCP is an open-source project hosted on GitHub under the repository takuya0206/obsidian-mcp. Anyone can clone the repository, inspect the code, build the project locally, and configure it for personal MCP setups.