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
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Obsidian MCP Serversearch my vault for notes about project planning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Obsidian Index MCP Server
Installation
Make sure the project is built:
cd C:\repos\obsidian-mcp
npm install
npm run buildAdd to Claude Desktop configuration:
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"obsidian-mcp": {
"command": "node",
"args": ["C:\\repos\\obsidian-mcp\\dist\\index.js"],
"env": {
"OBSIDIAN_VAULT": "C:\\Users\\YourName\\Documents\\YourVault"
}
}
}
}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
// List available vaults
list_vaults()
// Read a note
read_note(vault_path: "C:\\Users\\Name\\Vault", note_path: "Daily Notes/2024-01-17")
// Write a note
write_note(
vault_path: "C:\\Users\\Name\\Vault",
note_path: "New Note",
content: "# My New Note\n\nContent here",
mode: "overwrite"
)
// Search vault
search_vault(
vault_path: "C:\\Users\\Name\\Vault",
query: "project",
options: { case_sensitive: false }
)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
# Install dependencies
npm install
# Build
npm run build
# Run in development
npm run dev
# Type checking
npm run typecheckTroubleshooting
No vaults found: Make sure you have at least one Obsidian vault with
.obsidianfolder or.mdfilesPermission 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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.