Obsidian MCP Server
Enables reading, writing, appending, searching, listing, and deleting notes, plus creating folders in an Obsidian vault.
Click on "Deploy 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 Server Read my note at Daily Notes/2024-11-26.md"
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 for Claude Desktop
A Model Context Protocol (MCP) server that integrates your Obsidian vault with Claude Desktop, allowing Claude to read, write, search, and manage your Obsidian notes directly through natural conversation.
Features
Read notes: Read any note from your Obsidian vault
Write notes: Create new notes or overwrite existing ones
Append to notes: Add content to existing notes
Search notes: Search through your vault by filename or content
List notes: Get a complete list of all notes in your vault
Delete notes: Remove notes from your vault
Create folders: Organize your vault with new folders
Related MCP server: Obsidian MCP Server
Prerequisites
Node.js (v18 or higher)
Claude Desktop app
An Obsidian vault
Installation
Step 1: Install the MCP Server
Open a terminal/command prompt
Navigate to the
obsidian-mcpfolder:cd path/to/obsidian-mcpInstall dependencies:
npm installMake the script executable (Mac/Linux only):
chmod +x index.js
Step 2: Configure Claude Desktop
You need to edit Claude Desktop's configuration file to add the Obsidian MCP server.
On macOS:
Open the config file:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json(Or use any text editor instead of
code)
On Windows:
Open the config file at:
%APPDATA%\Claude\claude_desktop_config.json
Configuration:
Add the following to your claude_desktop_config.json file:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": [
"/FULL/PATH/TO/obsidian-mcp/index.js"
],
"env": {
"OBSIDIAN_VAULT_PATH": "/FULL/PATH/TO/YOUR/OBSIDIAN/VAULT"
}
}
}
}Important: Replace the paths with your actual paths:
Replace
/FULL/PATH/TO/obsidian-mcp/index.jswith the full path to theindex.jsfileReplace
/FULL/PATH/TO/YOUR/OBSIDIAN/VAULTwith the full path to your Obsidian vault folder
Example for macOS:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": [
"/Users/yourname/obsidian-mcp/index.js"
],
"env": {
"OBSIDIAN_VAULT_PATH": "/Users/yourname/Documents/MyObsidianVault"
}
}
}
}Example for Windows:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": [
"C:\\Users\\YourName\\obsidian-mcp\\index.js"
],
"env": {
"OBSIDIAN_VAULT_PATH": "C:\\Users\\YourName\\Documents\\MyObsidianVault"
}
}
}
}Step 3: Restart Claude Desktop
After saving the configuration file, completely quit and restart Claude Desktop for the changes to take effect.
Usage
Once installed and configured, you can interact with your Obsidian vault through Claude. Here are some example prompts:
Reading Notes
"Read my note at Daily Notes/2024-11-26.md"
"Show me the contents of Projects/MyProject.md"
Creating/Writing Notes
"Create a new note called 'Meeting Notes.md' with the following content: [your content]"
"Write a daily journal entry in Daily Notes/2024-11-26.md"
Searching
"Search my Obsidian vault for notes about 'machine learning'"
"Find all notes that mention 'project deadline'"
Listing Notes
"List all the notes in my Obsidian vault"
"Show me all my notes"
Appending Content
"Append these ideas to my Ideas.md file: [your content]"
"Add this task to my Todo.md note"
Creating Folders
"Create a new folder called 'Research Papers' in my vault"
"Make a folder at Projects/2024/Q4"
Deleting Notes
"Delete the note at Archive/old-draft.md"
"Remove Temporary/scratch.md"
Troubleshooting
Claude doesn't recognize the Obsidian tools
Make sure you've completely quit and restarted Claude Desktop
Check that your
claude_desktop_config.jsonfile is valid JSON (no trailing commas, proper quotes)Verify the paths in the config file are correct and use full/absolute paths
Check the Claude Desktop logs for errors:
macOS:
~/Library/Logs/Claude/mcp*.logWindows:
%APPDATA%\Claude\logs\mcp*.log
Permission errors
Make sure Claude has permission to access your Obsidian vault folder. On macOS, you may need to grant Full Disk Access to Claude Desktop in System Preferences > Security & Privacy.
Path issues
Always use full/absolute paths in the configuration file, not relative paths like ~/ or ./.
Security Note
This extension gives Claude full read/write access to your Obsidian vault. Only use it if you're comfortable with Claude being able to read and modify your notes. The server includes security checks to prevent accessing files outside your vault directory.
Support
If you encounter issues:
Check the Claude Desktop logs for error messages
Verify your Node.js version is 18 or higher:
node --versionMake sure all paths in the config are correct and absolute
Try running the server manually to see if there are any errors:
OBSIDIAN_VAULT_PATH="/path/to/vault" node /path/to/index.js
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Changelog
See CHANGELOG.md for a history of changes to this project.
Acknowledgments
Built using the Model Context Protocol by Anthropic
Designed for use with Obsidian and Claude Desktop
Related Projects
License
MIT - See LICENSE for details.
Available Tools
7 toolsappend_noteB
Append content to an existing note in the Obsidian vault. If the note doesn't exist, it will be created.
Inputs: path (required), content (required).
create_folderC
Create a new folder in the Obsidian vault. Parent directories will be created if they don't exist.
Inputs: path (required).
delete_noteB
Delete a note from the Obsidian vault. Use with caution as this cannot be undone.
Inputs: path (required).
list_notesA
List all notes in the Obsidian vault with their paths and last modified dates.
Inputs: no named parameters.
read_noteA
Read the contents of a note in the Obsidian vault. Provide the path relative to the vault root (e.g., 'Daily Notes/2024-01-01.md' or 'Projects/MyProject.md').
Inputs: path (required).
search_notesA
Search for notes in the Obsidian vault by filename or content. Returns matching notes with excerpts.
Inputs: query (required).
write_noteA
Create a new note or overwrite an existing note in the Obsidian vault. Provide the path relative to the vault root. Parent directories will be created if they don't exist.
Inputs: path (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct action and target resource: read, write, append, search, list, delete, and folder creation. The only potential overlap between write_note and append_note is explicitly resolved by their descriptions (overwrite vs. append). No ambiguous tool boundaries.
All tools follow a consistent snake_case verb_noun pattern: read_note, write_note, append_note, search_notes, list_notes, delete_note, create_folder. The pluralization on note-related tools is natural and predictable.
Seven tools is well-scoped for an Obsidian vault server, covering the essential note lifecycle operations without bloat. Each tool earns its place and there are no redundant or trivial tools.
Core note CRUD is fully covered: read, create/overwrite, append, search, list, and delete. Folder management is only partially covered (create_folder exists but no delete/rename/list folders), and there is no move/rename note operation, but these are minor gaps workable via other tools.
Maintenance
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Notes and memory assistant: one Markdown vault that Claude, ChatGPT and any MCP client can share.
Your own computer's files from ChatGPT or Claude: folder rules, confirmations and undo.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to read, write, search, and manage Obsidian vault notes with Git-backed sync support for multi-device access and extensible AI workflows.4,244 npm-
- AlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to your Obsidian vault, enabling reading, writing, searching, and organizing notes locally.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to directly access and manage Obsidian vault files, supporting reading, writing, patching, searching, and file operations without requiring Obsidian to be open.ISC
- FlicenseAqualityDmaintenanceEnables Claude to create, read, update, and search notes in a local Obsidian vault, with automatic YAML frontmatter and folder management.71-