obsidian-mcp-server
Allows interaction with an Obsidian vault, providing tools to read notes, search, list recent notes, get vault structure, and create notes.
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-serverWhat are my 5 most recently modified notes?"
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
An MCP (Model Context Protocol) server that exposes an Obsidian vault as a structured interface for AI models. Connect Claude Desktop or Claude Code to your vault and interact with your notes in natural language.
What it does
Instead of manually navigating your vault, you can ask Claude:
"Read my weekly plan for W31"
"Search my notes for anything about HireRight"
"What are my 5 most recently modified notes?"
"What's the structure of my vault?"
"Create today's daily note"
Claude calls the appropriate tool, reads or writes the file, and responds naturally.
Related MCP server: brain-mcp
Tools
Tool | Description |
| Read a note by path relative to vault root |
| List the N most recently modified notes |
| Full-text search with optional tag and folder filters |
| Get the folder hierarchy and note counts |
| Create a new note (refuses to overwrite existing) |
Architecture
Claude Desktop / Claude Code
│
│ stdio (local)
▼
MCP Server (server.py)
│
▼
Obsidian Vault (filesystem)The server runs as a local process started by the MCP host (Claude Desktop or Claude Code). Communication happens over stdio — no network exposure, no auth required for local use.
Stack
Setup
1. Clone and install dependencies
git clone https://github.com/DusanMilic/obsidian-mcp-server.git
cd obsidian-mcp-server
uv sync2. Set your vault path
Edit server.py and update VAULT_PATH:
VAULT_PATH = Path("/your/path/to/obsidian/vault")3. Connect to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"obsidian": {
"command": "/path/to/uv",
"args": [
"--directory", "/path/to/obsidian-mcp-server",
"run", "server.py"
]
}
}
}Restart Claude Desktop. The server starts automatically.
4. Connect to Claude Code
claude mcp add --scope user obsidian -- /path/to/uv --directory /path/to/obsidian-mcp-server run server.pySecurity
All paths are validated to be within the vault root — no path traversal possible
create_noterefuses to overwrite existing notesNo write tool overwrites existing content —
create_noteis append-safe by designLocal stdio transport only — no network exposure in default configuration
Project context
Built as Phase 1 of an AI engineering learning path — the goal is to move from AI consumer to AI builder. This server is used daily to give Claude structured access to a personal Obsidian vault containing journaling, planning, and project notes.
Phase 2 will extend this into a personal finance agent. Phase 4 targets a real estate agentic analyzer over Serbian property data.
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
- Alicense-qualityDmaintenanceProvides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.Last updated36MIT
- AlicenseAqualityDmaintenanceAn MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.Last updated9MIT
- Flicense-qualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.Last updated2
- Alicense-qualityCmaintenanceMCP server that provides read and write access to an Obsidian vault by interacting directly with markdown files on disk. Supports searching, listing, reading, creating, editing, and appending notes without requiring any Obsidian plugins.Last updated3,485ISC
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
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/DusanMilic/obsidian-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server