Obsidian MCP Server
Allows AI assistants to search, read, and analyze notes in an Obsidian vault, including executing Dataview queries.
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 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 Claude, ChatGPT, and other AI assistants to your Obsidian vault.
π Support This Project
If you find this MCP server useful, please consider supporting its development!
π Click here to support this project
Your support helps maintain and improve this tool. Thank you! π
Quick Start
1. Install in your AI app
Claude Desktop:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "@louis030195/mcp-obsidian"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here"
}
}
}
}Claude Code:
claude mcp add obsidian "npx -y @louis030195/mcp-obsidian" -s user -e OBSIDIAN_API_KEY="your-api-key-here"2. Enable Obsidian API (Optional - for full features)
Open Obsidian β Settings β Community plugins
Turn off Restricted mode β Search "Local REST API" β Install & Enable
Copy the API key and add to your config:
"env": { "OBSIDIAN_API_KEY": "your-api-key-here" }
That's it! Your AI can now search and read your Obsidian notes.
Related MCP server: Obsidian MCP Server
Other AI Apps
Cursor: Add to settings (Cmd+Shift+P β "Preferences: Open User Settings (JSON)"):
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "@louis030195/mcp-obsidian"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here"
}
}
}
}What It Can Do
Search all your notes
Find notes even with typos
Analyze connections between notes
Execute Dataview queries
Read specific notes
List files and folders
Example Questions
"Search my notes for machine learning"
"Find all notes I created this week"
"What meetings did I have last month?"
"Show me orphaned notes"
Troubleshooting
Obsidian not connecting?
Make sure Obsidian is running
Check Local REST API plugin is enabled
Verify your API key is correct
Need help?
Made with β€οΈ for the Obsidian community
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyβ¦
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, aβ¦
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Securely search, create, and organize your Mem notes and collections from AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for AI assistants to interact with Obsidian vaults through a local REST API, enabling reading, writing, searching, and managing notes.67MIT
- AlicenseNot gradedqualityDmaintenanceAllows AI models to interact with Obsidian notes through the Local REST API, enabling creation, reading, updating, searching of notes, and Git-based automatic backups.5,495 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Obsidian notes via local REST API, supporting file CRUD, search, commands, and periodic notes.5,495 npm7Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Obsidian vaults via the local REST API, supporting CRUD operations, batch processing, templates, and vault analytics.MIT