MCP Obsidian logo

MCP Obsidian

by bitbonsai

Connects MCP-compatible AI clients to a local Obsidian vault for scoped note, file, search, metadata, and tag operations.

Install MCP Obsidian

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bitbonsai-mcp-obsidian": {
      "command": "npx",
      "args": [
        "-y",
        "@bitbonsai/mcpvault@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 18 tools correctly ().

Overview

bitbonsai/mcp-obsidian runs locally as an MCP stdio process and gives compatible AI clients access to a configured Obsidian vault. It reads and edits supported vault files directly, with path checks that keep operations inside the vault root and block several sensitive paths. Tools cover note editing, partial reads, search, frontmatter, tags, wiki links, directory browsing, batch reads, and vault statistics. Reach for it when an agent needs controlled access to local Obsidian content without an Obsidian plugin or a running Obsidian application.

Use cases

  • Read and summarize notes from a local Obsidian vault
  • Search vault content and frontmatter for related research
  • Create or patch notes without rewriting unchanged content
  • Organize note tags and frontmatter fields
  • Inspect vault structure before batch operations

Key features

  • Local stdio access to a configured Obsidian vault
  • Scoped note and file read/write operations
  • Content and frontmatter search with BM25 reranking
  • Partial reads, batch reads, and note outlines
  • Frontmatter, tag, wiki-link, and vault-statistics tools
  • Read-only mode and configurable listing exclusions

Tools18

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

Verified live~2.4k 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.

53/53 checks healthy over the last 94d

What it can do

From the 18 tools this server returned when we ran it.

Can delete or modify data · 2Writes files · 1Makes network requests · 1Read-only tools · 15
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age243 days
Maintainers1

Observed 2026-11-10 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 2Low 0

Scanned 16h ago via OSV.dev · @bitbonsai/mcpvault@latest (npm)

Adoption & maintenance

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

GitHub stars1.7kStargazers on the source repository.
npm downloads76kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed18Callable tools this server registers over MCP.
Directory activity22 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Obsidian works

What bitbonsai/mcp-obsidian does

bitbonsai/mcp-obsidian, published as @bitbonsai/mcpvault, exposes a local Obsidian vault through the Model Context Protocol. An MCP-compatible client can ask it to read, create, append to, prepend to, patch, move, rename, or delete notes. It also supports file moves, directory listings, note searches, metadata inspection, frontmatter updates, tag management, wiki-link resolution, and vault-level statistics.

The server works against vault files on disk rather than through an Obsidian plugin or the Obsidian application. Supported vault content includes .md, .markdown, .txt, .base, and .canvas files. Note-oriented operations remain restricted to notes, while directory and file operations can account for other supported file types where applicable.

How it works

An MCP client starts the process over local stdio and supplies the vault path as a command-line argument. The server uses that directory as its root and performs operations against files beneath it. If no path is supplied, the working directory becomes the vault root.

Path validation blocks traversal and symlink escapes. Dotfiles, .obsidian, .git, and node_modules are also blocked by the path rules. Search and directory listing can use repeated default exclusions, while individual calls can add further excluded paths. Direct read and write operations remain available for excluded locations.

The server can run in read-only mode. In that configuration, mutating tools are omitted from discovery and rejected if called directly. Destructive deletion and file moves require matching confirmation paths; deletion can target permanent removal, the vault trash, or the system trash.

Setup and configuration

Install Node.js 22.12.0 or later and provide a local Obsidian vault. End users can launch the published package with:

Terminal
npx @bitbonsai/mcpvault@latest /path/to/your/obsidian/vault

Add the same command and vault path to the MCP configuration for a client such as Claude Desktop, Claude Code, Cursor, Windsurf, Gemini CLI, OpenAI Codex, or IntelliJ IDEA. Multiple vaults can be configured as separate MCP entries. Add --read-only after the vault path to expose only read tools, or repeat --exclude <subtree> to hide folders from search and directory listings by default.

Use MCP Inspector to check the connection before adding it to a client:

Terminal
npx @modelcontextprotocol/inspector npx @bitbonsai/mcpvault@latest /path/to/your/vault

Developers working from the repository can install dependencies with npm and start the server with npm start, optionally followed by a vault path.

Tools and capabilities

  • Read full notes, selected line ranges, or multiple notes in a batch of up to 10 files.
  • Inspect a note outline before reading a particular section.
  • Create or modify notes using overwrite, append, prepend, or targeted string replacement modes.
  • Move or rename notes and arbitrary files, with binary-safe handling for file moves.
  • Delete notes with an explicit confirmation path and selectable trash behavior.
  • Search note content and frontmatter with multi-word matching and BM25 reranking.
  • Read and update frontmatter while preserving formatting for unchanged YAML fields.
  • Add, remove, and list tags in notes; enumerate deduplicated inline and frontmatter tags across the vault.
  • Resolve Obsidian wiki links, including display-text syntax and path-qualified links, and report alternatives for ambiguous basenames.
  • Retrieve note metadata, vault counts, folder information, size, and recently modified files.

Search and batch responses use compact fields by default. Set prettyPrint: true when expanded output is needed.

Limitations and notes

The server is designed for local stdio MCP connections and requires a local vault directory. Obsidian does not need to be running, and no Obsidian plugin is required. The configured root remains the boundary for file access, and several internal or hidden paths are blocked by default. Read-only mode changes tool discovery as well as enforcement, so clients cannot use mutation tools through that configuration.

Reviews

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

Frequently Asked Questions about MCP Obsidian

bitbonsai/mcp-obsidian is an MCP server that connects AI clients to a local Obsidian vault through stdio. Its main tools read, write, patch, search, move, and delete notes, while also handling frontmatter, tags, wiki links, partial reads, directory listings, batch reads, and vault statistics.

Install Node.js 22.12.0 or later, then run `npx @bitbonsai/mcpvault@latest /path/to/your/vault`. Add that command and path to your MCP client configuration. You can test the connection first with MCP Inspector.

Yes, Cursor is listed as a supported client. Configure it to start `@bitbonsai/mcpvault@latest` as a local stdio MCP process and pass the path to the Obsidian vault as an argument.

Add `--read-only` after the vault path when starting the server. The server then omits mutating tools from discovery and rejects direct calls to those tools; `--read-only true` and `--read-only=true` are also accepted.

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 PreviewMCP Obsidian AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bitbonsai-mcp-obsidian?style=directory)](https://allmcps.com/mcp/bitbonsai-mcp-obsidian)
HTML Embed
<a href="https://allmcps.com/mcp/bitbonsai-mcp-obsidian"><img src="https://allmcps.com/api/badge/bitbonsai-mcp-obsidian?style=directory" alt="MCP Obsidian on AllMCPs" /></a>