Provides direct file system access to Obsidian vaults with auto-discovery, full-text search with regex support, note operations (read, write, append, prepend), and vault management capabilities
Obsidian MCP Server
Direct file system access to Obsidian vaults through Model Context Protocol (MCP).
Features
- Direct vault access - No plugins or REST API required
- Auto-discovery - Finds vaults from Obsidian config and common locations
- Full-text search - Search across all notes with regex support
- Note operations - Read, write, append, prepend to notes
- Vault management - List vaults, get statistics, browse files
- Windows optimized - Handles Windows paths correctly
Installation
- Make sure the project is built:
- Add to Claude Desktop configuration:
Edit %APPDATA%\Claude\claude_desktop_config.json
:
- Restart Claude Desktop
Available Tools
Vault Management
list_vaults
- Discover available Obsidian vaultsget_vault_info
- Get statistics about a vault
Note Operations
read_note
- Read a note with frontmatter and metadatawrite_note
- Create or update a note (overwrite/append/prepend)list_notes
- List all notes in vault or folder
Search
search_vault
- Full-text search with regex and case-sensitive options
Usage Examples
Vault Discovery
The server automatically discovers vaults from:
- Obsidian's configuration (
%APPDATA%\obsidian\obsidian.json
) - Common locations:
%USERPROFILE%\Documents\Obsidian
%USERPROFILE%\OneDrive\Documents\Obsidian
- Environment variable
OBSIDIAN_VAULT
Development
Troubleshooting
- No vaults found: Make sure you have at least one Obsidian vault with
.obsidian
folder or.md
files - Permission errors: Run Claude Desktop as the same user who owns the vault files
- Path not found: Use full absolute paths for vault_path
Future Features
- Graph navigation (trace links N levels deep)
- Template execution
- Smart search with fuzzy matching
- Active file tracking
- Partial file updates (patch operations)
- Frontmatter management
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables direct file system access to Obsidian vaults with auto-discovery, full-text search, and note operations. Supports reading, writing, and searching across Obsidian notes without requiring plugins or REST API.
Related MCP Servers
- -securityAlicense-qualityEnables AI assistants to interact with Obsidian vaults, providing tools for reading, creating, editing and managing notes and tags.Last updated -276482TypeScriptMIT License
- -securityFlicense-qualityProvides semantic search capability over Obsidian vaults and exposes recent notes as resources to Claude through the MCP protocol.Last updated -6Python
- AsecurityAlicenseAqualityProvides programmatic search functionality for Obsidian vaults through a REST API interface, allowing external applications to search through notes and retrieve absolute paths to matching documents.Last updated -218PythonMIT License
- -securityAlicense-qualityProvides a standardized interface for AI assistants to interact with Obsidian vaults through a local REST API, enabling reading, writing, searching, and managing notes.Last updated -52TypeScriptMIT License