{"type":"mcp_server","name":"mcp-obsidian","description":"This repository provides an MCP server that interacts with Obsidian using the Local REST API plugin, offering tools to list files, get content, search, patch, and append content within your Obsidian vault.","category":"Productivity","language":"Python","stars":4011,"forks":33,"owner":"MarkusPfundstein","github_url":"https://github.com/MarkusPfundstein/mcp-obsidian","homepage":null,"setup":"## Setup\n\n1.  **Obsidian REST API:** Install and enable the Obsidian REST API community plugin from [https://github.com/coddingtonbear/obsidian-local-rest-api](https://github.com/coddingtonbear/obsidian-local-rest-api) in Obsidian settings and copy the API key.\n2.  **Obsidian REST API Key Configuration:** Configure the environment with the Obsidian REST API Key by either adding it to the server config in `claude_desktop_config.json` or creating a `.env` file in the working directory.\n3.  **Claude Desktop Configuration:** Add the server configuration to the `claude_desktop_config.json` file located at `~/Library/Application\\ Support/Claude/claude_desktop_config.json` (MacOS) or `%APPDATA%/Claude/claude_desktop_config.json` (Windows), using either the Development/Unpublished or Published Servers configuration as needed.","tools":"## Available Tools\n\n\t\t1. list_files_in_vault: Lists all files and directories in the root directory of your Obsidian vault\n\t\t2. list_files_in_dir: Lists all files and directories in a specific Obsidian directory\n\t\t3. get_file_contents: Return the content of a single file in your vault.\n\t\t4. search: Search for documents matching a specified text query across all files in the vault\n\t\t5. patch_content: Insert content into an existing note relative to a heading, block reference, or frontmatter field.\n\t\t6. append_content: Append content to a new or existing file in the vault.","faq":null,"created_at":"2024-11-29T11:07:12+00:00","updated_at":"2025-03-28T20:38:16+00:00","source_url":"https://model-context-protocol.com/servers/mcp-obsidian-rest-api-server","related_articles":[]}