MCP Catalogs
Home

obsidian-mcp-server

by cyanheads·525·Score 52

MCP server for Obsidian vaults with 14 tools for reading, writing, searching, and editing notes, tags, and frontmatter.

productivityknowledge-graphfile-system
78
Forks
21
Open issues
this month
Last commit
2d ago
Indexed

Overview

The obsidian-mcp-server provides comprehensive access to Obsidian vaults through 14 tools and 3 resources. It supports reading notes in multiple formats, including raw content, full structured documents, and document maps. The server enables surgical editing through tools like patch, replace, and append operations, with fine-grained control over notes, tags, and frontmatter. It also offers search capabilities with text, Dataview DQL, and JSONLogic modes, making it versatile for different query needs. The server implements robust permission controls through environment variables, allowing path-scoped access and read-only configurations for secure deployments.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automating note content creation and organization based on external triggers or schedules
you:Integrating Obsidian with AI assistants for contextual note retrieval and editing
you:Building custom workflows that interact with Obsidian vaults through MCP-compatible clients
you:What is required to use this MCP server?
you:How are file permissions controlled?

When to choose this

Choose this MCP server when you need comprehensive, programmatic access to Obsidian vaults for AI integration or automation, especially when working with complex note structures and metadata.

When NOT to choose this

Avoid if you need read/write access to non-Obsidian note-taking systems or if you require authentication/encryption for sensitive data, as this server has no built-in security model.

Tools this server exposes

12 tools extracted from the README
  • obsidian_get_note

    Read a note in various formats (raw content, structured form, document map, or specific section).

  • obsidian_list_notes

    List notes and subdirectories at a vault path with filtering options.

  • obsidian_list_tags

    List all tags found across the vault with usage counts.

  • obsidian_search_notes

    Search the vault by text, Dataview DQL, or JSONLogic with context windows.

  • obsidian_write_note

    Create a note or replace a specific section, with protection against accidental overwrites.

  • obsidian_append_to_note

    Append content to a note or create the note if it doesn't exist.

  • obsidian_patch_note

    Surgically edit a specific section of a note (append, prepend, or replace).

  • obsidian_replace_in_note

    Perform body-wide search-replace operations in a single note.

  • obsidian_manage_frontmatter

    Get, set, or delete frontmatter keys in a note.

  • obsidian_manage_tags

    Add, remove, or list tags on a note, reconciling frontmatter and inline syntax.

  • obsidian_delete_note

    Permanently delete a note with confirmation when supported.

  • obsidian_open_in_ui

    Open a file in the Obsidian app UI.

Comparable tools

logseq-mcp-serverremotely-save-mcpstandard-notes-mcpfile-system-mcp

Installation

npm install -g obsidian-mcp-server

For Claude Desktop, add to claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "obsidian-mcp-server",
      "args": []
    }
  }
}

The server can also run via STDIO or Streamable HTTP.

FAQ

What is required to use this MCP server?
The server requires Obsidian with the Local REST API plugin installed. It also needs Node.js or Bun runtime.
How are file permissions controlled?
Through environment variables: OBSIDIAN_READ_PATHS, OBSIDIAN_WRITE_PATHS, and OBSIDIAN_READ_ONLY for restricting access to specific vault paths.

Compare obsidian-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.