mcp-obsidian

mcp-obsidian

An MCP server that interacts with Obsidian note libraries via the Obsidian REST API.

MCPOfficeOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 4.0k
Source
mcp-github

Overview

mcp-obsidian is an MCP server that communicates with Obsidian note libraries using the community plugin for Obsidian's local REST API. The server provides various tools such as listing files, retrieving file content, and searching documents, enabling AI to manage and manipulate data within Obsidian note libraries. To use this capability, you need to configure the Obsidian REST API key and set up corresponding configurations in Claude Desktop.

Capabilities

  • List all files and directories in the note library
  • Retrieve the content of a specified file
  • Search for documents matching a specific text query
  • Insert content into an existing note
  • Append content to a new or existing file
  • Delete files or directories from the note library

Use cases

Retrieve and summarize meeting notesSearch for files containing specific keywordsAdd summaries to new notesManage files within the note library

Setup

Requires: API KeyNode 环境
1. Install and enable the Obsidian REST API plugin: https://github.com/coddingtonbear/obsidian-local-rest-api 2. Configure the API key and other environment variables: \

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How do I get the Obsidian REST API key?

Find the API key in the Obsidian plugin configuration.

What is the default port?

The default port is 27124.

How do I debug the MCP server?

Use MCP Inspector for debugging.

Related skills