by StevenStavrakis
Enables AI assistants to read, create, edit, and manage notes and tags within an Obsidian vault, providing searchable, writable access to vault contents.
Obsidian MCP provides a Model Context Protocol (MCP) server that connects AI assistants (e.g., Claude Desktop) to one or more Obsidian vaults. The server exposes tools for reading, searching, creating, editing, moving, deleting notes, managing directories, and handling tags, giving the assistant full read‑write interaction with your personal knowledge base.
npx
command:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "/path/to/your/vault", "/path/to/your/vault2"]
}
}
}
read-note
, create-note
, search-vault
) via the AI assistant’s UI or API.list-available-vaults
tool.npx
or Smithery (optional).Q: Does the server modify my vault automatically? A: Only when you explicitly approve a tool action. All write operations are gated by the assistant’s UI prompts.
Q: Do I need an API key? A: No external API key is required for the server itself; it only needs filesystem access to the specified vault paths.
Q: Can I run multiple vaults simultaneously?
A: Yes. Provide additional absolute paths as extra arguments; the list-available-vaults
tool helps you choose among them.
Q: What if I encounter permission errors? A: Ensure the user running the server has read/write permissions on the vault directories and that the paths are correct.
Q: How do I view logs for troubleshooting?
A: On macOS: ~/Library/Logs/Claude/mcp*.log
; on Windows: %APPDATA%\Claude\logs\mcp*.log
.
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
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "obsidian": { "command": "npx", "args": [ "-y", "obsidian-mcp", "/path/to/your/vault", "/path/to/your/vault2" ], "env": {} } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.