Skip to content

Summary

A local MCP server for Obsidian vaults: read, search, patch and organise notes, frontmatter and tags straight from the files, with no Obsidian plugin and no app running.

Features

  • read_note, write_note (overwrite/append/prepend), patch_note, move_note, move_file, delete_note
  • Partial reads: get_note_outline and read_note_lines
  • list_directory and read_multiple_notes
  • search_notes with multi-word matching and BM25 reranking
  • AST-aware frontmatter updates that keep unchanged YAML formatting
  • manage_tags, list_all_tags, get_notes_info and get_vault_stats
  • wiki_link resolves note names and lists alternatives when ambiguous
  • Path checks block traversal, symlink escapes, dotfiles, .obsidian and .git

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "MCPVault" tools will be available.
{
  "mcpServers": {
    "mcpvault": {
      "command": "npx",
      "args": [
        "@bitbonsai/mcpvault@latest",
        "/path/to/your/vault"
      ]
    }
  }
}

Description

MCPVault is an open-source (MIT) MCP server that gives AI clients safe access to an Obsidian vault. It works directly on the vault's files, so Obsidian does not have to be running and no community plugin is needed: the client starts it as a local stdio process with npx @bitbonsai/mcpvault@latest /path/to/vault (Node.js 22.12 or later).

Its eighteen tools cover the everyday note workflow: reading, writing (overwrite, append or prepend), patching, moving and deleting notes; partial reads through an outline or line ranges; listing directories and reading several notes at once; search_notes with multi-word matching and BM25 reranking; frontmatter reads and updates that are AST-aware, so unchanged YAML keeps its formatting; tag management and a vault-wide tag list; vault statistics; and wiki_link, which resolves a note name and returns alternatives when it is ambiguous.

Safety is the design point. Every path is checked against the vault root, blocking traversal and symlink escapes, dotfiles, .obsidian, .git and node_modules; destructive operations (delete_note, move_file) require a matching confirmation path. Results are compact by default to save tokens. The project documents setups for Claude Desktop, Claude Code, ChatGPT Desktop, OpenCode, Gemini CLI, Codex, Cursor, Windsurf and IntelliJ IDEA.

Related MCP Servers

See all MCPVault alternatives

MCP: Anytype MCP

by Anytype

New

Official Anytype MCP server: lets AI assistants search, create and organise objects, lists, types, properties and templates in your local-first, encrypted Anytype spaces through the desktop app's API.

MCP: Engram

by Gentleman Programming

Featured

Persistent memory for coding agents as a single Go binary — SQLite and FTS5 behind MCP, an HTTP API, a CLI and a TUI, with no Node, Python or Docker required.

MCP: Memorix

by AVIDS2

New

Local-first shared project memory for AI coding agents: one SQLite-backed store, scoped to the Git repository, that Claude Code, Codex, Cursor, Copilot, Gemini CLI and other MCP clients all read and write.

Browse all MCP servers →