About obsidian
obsidian is an MCP server published by git+StevenStavrakis in the Productivity category: mCP server for AI assistants to interact with Obsidian vaults.
Install
npx obsidian-mcpclaude mcp add obsidian-mcp-gitsteve -- npx -y obsidian-mcpnpx -y obsidian-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (12)
obsidian_add_tagsAdd tags to one or more notes atomically.
Parameters not published.
obsidian_create_directoryTransactionally create a directory inside a vault.
Parameters not published.
obsidian_create_noteAtomically create a note without overwriting.
Parameters not published.
obsidian_delete_noteMove a note to MCP trash or permanently delete it with explicit confirmation.
Parameters not published.
obsidian_edit_noteAppend, prepend, or replace exact note content.
Parameters not published.
obsidian_list_vaultsList configured vault ids without exposing host paths.
Parameters not published.
obsidian_manage_tagsUnified add/remove tag workflow using the same implementation.
Parameters not published.
obsidian_move_noteMove or rename a note and update unambiguous backlinks transactionally.
Parameters not published.
obsidian_read_noteRead a bounded page of a note and return its SHA-256 `etag`.
Parameters not published.
obsidian_remove_tagsRemove exact, nested, or wildcard-selected tags atomically.
Parameters not published.
obsidian_rename_tagRename a tag across the vault atomically.
Parameters not published.
obsidian_search_vaultSearch content, filenames, or tags with bounded cursor pagination.
Parameters not published.
Ask AI
Ask AI about obsidian
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
Obsidian MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to interact with Obsidian vaults, providing tools for reading, creating, editing and managing notes and tags.
Warning!!!
This MCP has read and write access (if you allow it). Please. PLEASE backup your Obsidian vault prior to using obsidian-mcp to manage your notes. I recommend using git, but any backup method will work. These tools have been tested, but not thoroughly, and this MCP is in active development.
Features
- Read and search notes in your vault
- Create new notes and directories
- Edit existing notes
- Move and delete notes
- Manage tags (add, remove, rename)
- Search vault contents
Requirements
- Node.js 20 or higher (might work on lower, but I haven't tested it)
- An Obsidian vault
Install
Installing Manually
Add to your Claude Desktop configuration:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "/path/to/your/vault", "/path/to/your/vault2"]
}
}
}
Replace /path/to/your/vault with the absolute path to your Obsidian vault. For example:
MacOS/Linux:
"/Users/username/Documents/MyVault"
Windows:
"C:\\Users\\username\\Documents\\MyVault"
Restart Claude for Desktop after saving the configuration. You should see the hammer icon appear, indicating the server is connected.
If you have connection issues, check the logs at:
- MacOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
Installing via Smithery
Warning: I am not affiliated with Smithery. I have not tested using it and encourage users to install manually if they can.
To install Obsidian for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install obsidian-mcp --client claude
Development
# Clone the repository
git clone https://github.com/StevenStavrakis/obsidian-mcp
cd obsidian-mcp
# Install dependencies
npm install
# Build
npm run build
Then add to your Claude Desktop configuration:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["<absolute-path-to-obsidian-mcp>/build/main.js", "/path/to/your/vault", "/path/to/your/vault2"]
}
}
}
Available Tools
read-note- Read the contents of a notecreate-note- Create a new noteedit-note- Edit an existing notedelete-note- Delete a notemove-note- Move a note to a different locationcreate-directory- Create a new directorysearch-vault- Search notes in the vaultadd-tags- Add tags to a noteremove-tags- Remove tags from a noterename-tag- Rename a tag across all notesmanage-tags- List and organize tagslist-available-vaults- List all available vaults (helps with multi-vault setups)
Documentation
Additional documentation can be found in the docs directory:
creating-tools.md- Guide for creating new toolstool-examples.md- Examples of using the available tools
Security
This server requires access to your Obsidian vault directory. When configuring the server, make sure to:
- Only provide access to your intended vault directory
- Review tool actions before approving them
Troubleshooting
Common issues:
-
Server not showing up in Claude Desktop
- Verify your configuration file syntax
- Make sure the vault path is absolute and exists
- Restart Claude Desktop
-
Permission errors
- Ensure the vault path is readable/writable
- Check file permissions in your vault
-
Tool execution failures
- Check Claude Desktop logs at:
- macOS:
~/Library/Logs/Claude/mcp*.log - Windows:
%APPDATA%\Claude\logs\mcp*.log
- macOS:
- Check Claude Desktop logs at:
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.