mcp-obsidian
by Piotr1215·★ 22·Score 42
An MCP server for secure, direct access to Obsidian vaults without the Obsidian app.
Overview
This MCP server provides direct file system access to Obsidian vaults, distinguishing itself from other solutions that require the Obsidian app and REST API plugin. It offers rich functionality including search capabilities with regex support, metadata extraction, and MOC discovery for enhanced navigation. The server follows a security-first design with path traversal prevention and input validation.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need direct file system access to Obsidian vaults without requiring the Obsidian app to be running, especially for automation workflows or integration with vim-based setups like obsidian.nvim.
When NOT to choose this
Don't choose this if you need remote access to Obsidian vaults, as this server only works with local file systems, or if you require Obsidian plugin integration that's only available through the REST API.
Tools this server exposes
9 tools extracted from the READMEsearch-vaultSearch for content across all notes in your vault with advanced query options.
search-by-titleSearch for notes by their H1 title.
list-notesList all markdown files in your vault or a specific directory.
read-noteRead the complete content of a specific note.
write-noteCreate or update a note with new content.
delete-noteDelete a note from your vault.
search-by-tagsFind notes containing specific tags.
get-note-metadataGet metadata for one or all notes without reading full content.
discover-mocsDiscover Maps of Content (MOCs) to understand your vault's knowledge structure.
Comparable tools
Installation
# Install dependencies
npm install
# Add to Claude Desktop
claude mcp add obsidian -s user -- node /path/to/mcp-obsidian/src/index.js /path/to/your/vaultConfiguration in Claude Desktop's config file (e.g., ~/.claude.json):
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/mcp-obsidian/src/index.js", "/path/to/your/vault"]
}
}
}FAQ
- Does this require the Obsidian app to be running?
- No, this server works directly with Obsidian vault files on disk without requiring the Obsidian application to be installed or running.
- Can I use this with obsidian.nvim?
- Yes, this server is specifically designed to work with setups using obsidian.nvim, a Neovim plugin that provides Obsidian-like features without requiring the Obsidian app.
Compare mcp-obsidian with
Last updated · Auto-generated from public README + GitHub signals.