obsidian-mcp
Provides read-only tools for interacting with an Obsidian vault, including listing notes, searching note contents, reading individual notes, and listing tags.
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-mcpsearch my vault for project ideas"
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
A Model Context Protocol server that exposes an Obsidian (Markdown) vault to any MCP client (Claude Desktop, Claude Code, Cursor). Ask your assistant to search your notes, read a specific note, or list your tags, and it queries the vault directly through typed MCP tools.
Tools
Tool | Description |
| List every Markdown note as vault-relative paths |
| Case-insensitive substring search; returns |
| Read one note by its vault-relative path |
| Every tag in the vault with its count, from frontmatter and inline |
All tools are read-only and refuse any path outside the vault root.
Related MCP server: vault-mcp-bridge
Install
git clone https://github.com/<your-username>/obsidian-mcp.git
cd obsidian-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"Configure in an MCP client
Point the client at the server and set VAULT_PATH to your vault root. Example for Claude Desktop (claude_desktop_config.json) or Claude Code:
{
"mcpServers": {
"obsidian": {
"command": "obsidian-mcp",
"env": { "VAULT_PATH": "/absolute/path/to/your/vault" }
}
}
}Restart the client. Ask it: "search my vault for retrieval" or "list my tags."
Develop
pytest # run the unit tests
VAULT_PATH=/path/to/vault obsidian-mcp # run the server on stdioThe core vault logic lives in src/obsidian_mcp/vault.py (pure functions, fully unit-tested) and is kept separate from the MCP wiring in server.py, so the logic can be tested without an MCP client.
Roadmap
Write tools (append to a note, create from template) behind an opt-in flag
Expose notes as MCP resources and add reusable prompts
Streamable-HTTP transport for remote use
Tag-filtered and frontmatter-field search
License
MIT
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.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides read-only access to an Obsidian vault, enabling file listing, content reading, and text search across notes via MCP.41Apache 2.0
- AlicenseNot gradedqualityBmaintenanceRead-only MCP bridge that exposes secure search and fetch tools over an Obsidian-compatible Markdown vault, enabling ChatGPT to query notes without write access.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceLets MCP clients search, read, create, append, replace, move, and batch-update local Markdown notes safely, with conflict detection via SHA-256 and optional managed update blocks, without requiring a vector database.MIT
- AlicenseNot gradedqualityBmaintenanceServes a PARA-structured, Obsidian-compatible Markdown vault as read tools plus a constrained capture tool that only creates new notes in the inbox, enabling MCP clients to read and capture to a second brain.MIT
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/rupeshpoojary9/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server