by StevenStavrakis
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.
obsidian-mcp is an MCP (Model Context Protocol) server designed to allow AI assistants to interact with your Obsidian vaults. It provides a set of tools that enable AI to read, create, edit, and manage notes and tags within your Obsidian notes.
To use obsidian-mcp, you need Node.js 20 or higher and an Obsidian vault. You can install it manually by adding a configuration to your Claude Desktop settings (for macOS or Windows) or via Smithery (though manual installation is encouraged by the developer). The configuration involves specifying the command to run obsidian-mcp and the absolute paths to your Obsidian vaults. After configuration, restart Claude for Desktop.
Q: What are the requirements for running obsidian-mcp? A: You need Node.js 20 or higher and an Obsidian vault.
Q: How do I install obsidian-mcp? A: You can install it manually by modifying your Claude Desktop configuration or via Smithery. Manual installation is recommended.
Q: I'm having issues with the server not showing up in Claude Desktop. What should I do? A: Verify your configuration file syntax, ensure the vault path is absolute and exists, and restart Claude Desktop.
Q: What if I encounter permission errors? A: Ensure the vault path is readable/writable and check file permissions in your vault.
Q: Where can I find logs for troubleshooting tool execution failures?
A: Logs are located at ~/Library/Logs/Claude/mcp*.log
on macOS and %APPDATA%\Claude\logs\mcp*.log
on Windows.
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.
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.
Add to your Claude Desktop configuration:
~/Library/Application Support/Claude/claude_desktop_config.json
%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:
~/Library/Logs/Claude/mcp*.log
%APPDATA%\Claude\logs\mcp*.log
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
# 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"]
}
}
}
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)Additional documentation can be found in the docs
directory:
creating-tools.md
- Guide for creating new toolstool-examples.md
- Examples of using the available toolsThis server requires access to your Obsidian vault directory. When configuring the server, make sure to:
Common issues:
Server not showing up in Claude Desktop
Permission errors
Tool execution failures
~/Library/Logs/Claude/mcp*.log
%APPDATA%\Claude\logs\mcp*.log
MIT
Reviews feature coming soon
Stay tuned for community discussions and feedback