Obsidian MCP
Interact with your Obsidian vault using the Model Context Protocol, enabling AI assistants to read, write, and manipulate notes.
Obsidian MCP (Model Context Protocol)
Obsidian MCP is a tool that allows you to interact with your Obsidian vault using the Model Context Protocol. This enables AI assistants to read, write, and manipulate notes in your Obsidian vault through a standardized interface.
Prerequisites
- Node.js 18 or higher
- Obsidian with Local REST API plugin installed and configured
- API key generated from the Local REST API plugin
Setting MCP Server (e.g. Claude Desktop App)
-
Clone this repository
-
Install dependencies:
npm install -
Build the project:
npm run build -
Configure Claude Desktop App to use this MCP server:
{ "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" } } } }
Development
Create .env and configure "apiKey", "port", and "host" as mentioned above.
Available Tools
The following tools are implemented:
-
readNote - Read the contents of a specific note
{ "path": "path/to/note.md" } -
readActiveNote - Read the contents of the current active note
{} -
listNotes - Recursively lists files and folders in the entire Vault or under a specified folder
{ "path": "optional/folder/path" } -
patchNote - Inserts content into an existing note relative to a heading, block reference, or frontmatter field
{ "path": "path/to/note.md", "operation": "append|prepend|replace", "targetType": "heading|block|frontmatter", "target": "target_identifier", "content": "content to insert" } -
searchWithJsonLogic - Search Obsidian notes using JsonLogic format queries
{ "query": { // JsonLogic query object } }
Похожие серверы
Home Assistant
Interact with Home Assistant to control smart home devices, query states, manage automations, and troubleshoot your smart home setup.
MCP-PDF2MD
A high-performance service to convert PDFs from local files or URLs into Markdown using the Mistral AI OCR API.
Learning-Assistant-MCP
An MCP server that helps developers understand what they’re building by explaining concepts, reviewing approaches, and guiding them toward better solutions.
Goodday
A read-only server for the Goodday project management platform.
Wise MCP Server
A gateway for the Wise API to manage recipients, requiring a Wise API token.
Basecamp by CData
A read-only MCP server by CData that allows LLMs to query live Basecamp data.
Obsidian
Interact with your Obsidian notes and vaults using the Local REST API plugin.
Google Calendar
Integrates with Google Calendar to manage events and generate calendar insights.
Odoo MCP Server
An MCP server that provides direct access to Odoo ERP system capabilities.
myAI Memory Sync
Synchronizes memory templates across different Claude interfaces.