mcp-obsidian

mcp-obsidian

3.8

If you are the rightful owner of mcp-obsidian and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP server to interact with Obsidian via the Local REST API community plugin.

The MCP server for Obsidian is designed to facilitate interaction with the Obsidian note-taking application through the Local REST API community plugin. This server provides a suite of tools that allow users to manage and manipulate their Obsidian vaults programmatically. By leveraging these tools, users can automate tasks such as listing files, retrieving file contents, searching for specific text, and modifying notes. The server is particularly useful for users who want to integrate Obsidian with other applications or automate their workflow. Configuration is straightforward, requiring an API key from the Obsidian REST API plugin, which can be set up either in the server configuration or via an environment file. The server supports both development and production environments, with detailed instructions provided for setup and debugging.

Features

  • Interact with Obsidian vaults using REST API.
  • Automate file management tasks like listing, searching, and modifying notes.
  • Supports both development and production environments.
  • Easy configuration with API key setup.
  • Debugging support with MCP Inspector.

Tools

  1. list_files_in_vault

    List all files and directories in the notes library

  2. list_files_in_dir

    List all files and directories in the specified directory

  3. get_file_contents

    Get the contents of a single file

  4. search

    Search for documents that match the specified text query

  5. patch_content

    Insert content in existing notes

  6. append_content

    Append content at the end of the file

  7. delete_file

    Delete a file or directory