Obsidian MCP Server
Provides 40+ tools for searching, creating, and managing notes in an Obsidian vault, including full-text search, tag management, daily notes, templates, backlinks, and more.
Click on "Install 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 Serversearch my notes for machine learning"
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
Connect AI assistants like Claude to your Obsidian vault via Model Context Protocol. 40+ tools for searching, creating, and managing your notesโall 100% local.
What Can You Do?
You Say | What Happens |
"Search my notes for machine learning" | Searches your entire vault |
"Create a meeting note for tomorrow" | Creates a formatted meeting note |
"What links to my Projects note?" | Shows all backlinks |
"Add to my daily note: finished the API" | Appends to today's daily note |
"Find orphan notes" | Lists unconnected notes |
Related MCP server: Obsidian MCP Server
Quick Start
1. Install the Obsidian Plugin
Obsidian โ Settings โ Community plugins โ Browse
Search "Local REST API" โ Install โ Enable
Settings โ Local REST API โ Copy your API Key
2. Install the MCP Server
Option A: Install from npm (recommended)
npm install -g @aniketbiswas/obsidian-mcp-serverOption B: Install from source
git clone https://github.com/aniketbiswas/obsidian-mcp.git
cd obsidian-mcp
npm install && npm run build
npm link # Makes it available globally3. Configure Claude Desktop
Edit the config file:
OS | Config Path |
macOS |
|
Windows |
|
Linux |
|
If installed via npm:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["node_modules/@aniketbiswas/obsidian-mcp-server/build/index.js"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here"
}
}
}
}Note: If the above doesn't work (common with nvm), use full paths:
{ "command": "/usr/local/bin/node", "args": ["/usr/local/lib/node_modules/@aniketbiswas/obsidian-mcp-server/build/index.js"] }Find your paths with:
which nodeandnpm root -g
If installed from source:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/FULL/PATH/TO/obsidian-mcp-server/build/index.js"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here"
}
}
}
}Windows paths: Use
C:\\Users\\Name\\...orC:/Users/Name/...
4. Restart Claude Desktop
Make sure Obsidian is running, then try: "Show me my vault status"
Available Tools
vault_status ยท list_files ยท list_all_files ยท get_vault_structure ยท get_file_stats ยท delete_file
read_note ยท create_note ยท update_note ยท append_to_note ยท prepend_to_note ยท insert_under_heading ยท replace_in_note ยท delete_note ยท copy_note
search_notes ยท simple_search ยท search_by_tag ยท search_in_folder ยท find_notes_by_name ยท get_recent_notes ยท search_with_context
get_frontmatter ยท update_frontmatter ยท set_frontmatter_property ยท get_tags ยท add_tags ยท remove_tags ยท add_aliases ยท get_all_tags_in_vault
open_note ยท get_active_note ยท append_to_active_note ยท get_commands ยท execute_command ยท quick_capture
get_daily_note ยท append_to_daily_note ยท get_periodic_note ยท append_to_periodic_note ยท daily_journal_entry ยท daily_standup
get_outgoing_links ยท get_backlinks ยท find_broken_links ยท find_orphan_notes ยท add_link_to_note ยท get_link_graph_data
create_note_from_template ยท create_meeting_note ยท create_project_note ยท list_templates
Built-in: meeting ยท project ยท book ยท article ยท person ยท recipe ยท decision
Configuration
Variable | Required | Default | Description |
| โ | โ | From Local REST API plugin |
|
| API host | |
|
| API port | |
|
| Use HTTPS | |
|
| Verify SSL certificate |
Troubleshooting
This is usually a PATH issue. Claude Desktop doesn't inherit your shell's PATH (especially with nvm).
Solution: Use full absolute paths in your config:
Find your node path:
which nodeFind global modules:
npm root -gUpdate config with full paths:
{
"mcpServers": {
"obsidian": {
"command": "/Users/YOU/.nvm/versions/node/v22.x.x/bin/node",
"args": ["/Users/YOU/.nvm/versions/node/v22.x.x/lib/node_modules/@aniketbiswas/obsidian-mcp-server/build/index.js"],
"env": {
"OBSIDIAN_API_KEY": "your-key"
}
}
}
}Check logs: ~/Library/Logs/Claude/mcp.log (macOS)
Validate JSON:
cat config.json | python3 -m json.toolPath must be absolute (starts with
/orC:\)Restart Claude Desktop completely (Cmd+Q / right-click quit)
Windows: ensure file is
.jsonnot.json.txt
Obsidian must be running with Local REST API enabled
Test API:
curl -k https://127.0.0.1:27124/ -H "Authorization: Bearer YOUR_KEY"Regenerate API key if needed
Use full path: "command": "C:\\Program Files\\nodejs\\node.exe"
Development
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run inspector # Test tools in browser UIAdding Tools
Create/edit files in src/tools/, then rebuild:
server.tool("my_tool", "Description", { param: z.string() }, async ({ param }) => {
return { content: [{ type: "text", text: "Result" }] };
});FAQ
Is it free? Yes, the Local REST API plugin is free.
Are my notes sent to the cloud? No. Everything stays local. Only your conversation with Claude goes to Anthropic (like any Claude chat).
Works with Obsidian Sync? Yes, it accesses your local vault files.
Contributing
PRs welcome! Fork โ create branch โ commit โ open PR.
License
MIT โ see LICENSE
Built with MCP SDK ยท Powered by Local REST API
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aniketbiswas/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server