Obsidian MCP Server logo

Obsidian MCP Server

Manage, search, audit, and update Obsidian vault files through MCP without running the Obsidian app.

Install Obsidian MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

Obsidian MCP Server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/tylern91/obsidian-mcp-server/main/install.sh | sh
    
  2. 2. Install
    curl -fsSL https://raw.githubusercontent.com/tylern91/obsidian-mcp-server/main/install.sh | sh -s -- v0.2.0
    
  3. 3. Install
    curl -fLO https://github.com/tylern91/obsidian-mcp-server/releases/latest/download/obsidian-mcp-<version>-darwin-arm64.tar.gz
    
  4. 4. Check the setup
    curl -fLO https://github.com/tylern91/obsidian-mcp-server/releases/latest/download/obsidian-mcp-<version>-darwin-arm64.tar.gz.sha256
    
  5. 5. Check the setup
    shasum -a 256 -c obsidian-mcp-<version>-darwin-arm64.tar.gz.sha256
    
  6. 6. Install
    tar -xf obsidian-mcp-<version>-darwin-arm64.tar.gz
    

Overview

Obsidian MCP Server MCP server gives AI agents filesystem-level access to an Obsidian vault without requiring Obsidian to be open. It supports note reading and writing, ranked full-text and regex search, frontmatter and tag management, backlinks, periodic notes, and vault audits. Mutating operations include guarded deletion and moving, heading-aware patches, link updates, and tag renaming. Use it when an agent needs direct access to Markdown vault data through stdio or optional streamable HTTP.

Use cases

  • Read and summarize notes from an Obsidian vault
  • Search vault content with ranked snippets or regex patterns
  • Update frontmatter, tags, headings, and note contents
  • Audit links, orphans, duplicate titles, and untagged notes
  • Review recent changes and periodic notes

Key features

  • Filesystem access without a running Obsidian instance
  • BM25 full-text search with snippets
  • Frontmatter, tag, backlink, and heading management
  • Guarded note deletion and link-aware moves
  • Vault hygiene audits and aggregate statistics
  • Stdio and optional streamable HTTP transports

Tools25

What Obsidian MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~471 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 82d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit4d agoMost recent push to the default branch.
Tools exposed25Callable tools this server registers over MCP.

How Obsidian MCP Server works

What Obsidian MCP Server does

Obsidian MCP Server connects MCP clients directly to an Obsidian vault on the filesystem. It reads and modifies notes without depending on a running Obsidian instance, making it suitable for agents that need to inspect, organize, or update Markdown-based knowledge stores.

The server covers both individual notes and vault-wide operations. Agents can retrieve note content, metadata, YAML frontmatter, outlines, bounded line ranges, backlinks, and recent changes. They can also inspect aggregate vault statistics, periodic notes, tags, and common hygiene problems such as orphaned notes, dangling links, untagged notes, and duplicate titles.

How it works

The server exposes its functions as MCP tools. Stdio transport works with MCP clients, while an optional streamable HTTP transport provides TLS 1.3 and bearer-token authentication by default. HTTP access is restricted to loopback unless it is explicitly widened. Search results from note search, regex or glob search, directory listing, and recent-change queries can include obsidian://open deep links built from the configured vault name.

Filesystem access is constrained by multiple checks: lexical path validation, ignore and extension filters, case-insensitive existence lookup, and protection against symlink escapes. Responses can include approximate token counts based on cl100k_base.

Write operations support optimistic concurrency through returned etags on relevant read and metadata tools. Destructive actions require confirmation matching the target path. Deleted notes are moved to .obsidian-mcp/trash by default, while permanent deletion requires an explicit option.

Tools and capabilities

  • Read one or many notes, list directories, inspect metadata, and retrieve bounded line ranges.
  • Create or update notes using overwrite, append, or prepend modes.
  • Parse and update YAML frontmatter while preserving its formatting.
  • Add or remove inline or frontmatter tags, list tag counts, and rename tags across the vault.
  • Find backlinks across wikilinks and Markdown links.
  • Search note content with BM25 ranking and snippets, or use RE2 regular expressions and glob patterns.
  • Apply heading-anchored patches, rename headings, and optionally rewrite links to renamed anchors.
  • Move or rename notes, optionally rewrite unambiguous inbound links, and perform dry runs.
  • Retrieve periodic notes, recent periodic notes, recent changes, vault statistics, and note outlines.
  • Replace literal or regular-expression matches within one note and audit vault hygiene.

Heading operations ignore headings inside fenced code blocks. Ambiguous heading matches require a line number to identify the intended heading. Link-rewrite operations report incomplete results when a rewrite fails after the underlying move or rename succeeds.

Limitations and notes

The server works with the vault directory directly rather than through Obsidian’s application process. Link rewriting is limited by ambiguity: links whose bare target could refer to multiple notes may remain unchanged. The server reports this condition for applicable rename and move operations.

Regex searching uses RE2 syntax, and line reads are capped at 2,000 lines per request. Permanent deletion is available only when explicitly requested; ordinary deletion uses the server’s trash directory. HTTP transport has a narrower default exposure than stdio: it uses bearer authentication and stays loopback-only unless configured otherwise.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Obsidian MCP Server

Obsidian MCP Server is an MCP server that connects AI agents to Obsidian vault files on the filesystem without requiring the Obsidian app. Its main tools read, write, search, patch, move, and delete notes, while also managing frontmatter, tags, backlinks, headings, periodic notes, and vault audits.

Install and run the Go-based server according to your MCP client’s server configuration, then point it at the Obsidian vault directory. It supports stdio for MCP clients and also offers an optional streamable HTTP transport.

Yes, it works with Claude Desktop through its stdio MCP transport. The server exposes vault operations as MCP tools, including note reading, writing, searching, metadata updates, and vault audits.

Yes, move and rename operations update unambiguous inbound links by default. A dry-run option is available for moves, and the server reports when link rewriting is incomplete or skipped because a target is ambiguous.

Yes, but permanent deletion requires the `permanent: true` option and confirmation. Without that option, `delete_note` moves the note to `.obsidian-mcp/trash` instead.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewObsidian MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/obsidian-mcp-server-2?style=directory)](https://allmcps.com/mcp/obsidian-mcp-server-2)
HTML Embed
<a href="https://allmcps.com/mcp/obsidian-mcp-server-2"><img src="https://allmcps.com/api/badge/obsidian-mcp-server-2?style=directory" alt="Obsidian MCP Server on AllMCPs" /></a>