Obsidian MCP Server
Obsidian MCP Server
An MCP server that lets Claude save conversations, notes, and structured summaries directly to your Obsidian vault.
Features
Save notes with YAML frontmatter and auto-generated backlinks
Daily notes - append to today's daily note or browse past ones
Conversation summaries - structured templates with decisions, code snippets, next steps
Vault search - search notes by title and content
Auto-backlinks - detects existing notes and inserts
[[wiki-links]]automaticallyPath security - all file operations validated within vault boundary
Installation
Requires Python 3.10+.
# Clone the repo
git clone <repo-url>
cd obsidian-mcp
# Install with uv (recommended)
uv pip install -e .
# Or with pip
pip install -e .Configuration
Environment variable
Set OBSIDIAN_VAULT_PATH to your vault's root directory:
export OBSIDIAN_VAULT_PATH="$HOME/Documents/MyVault"Defaults to ~/Documents/ObsidianVault if not set.
Claude Code
Add to your Claude Code MCP config (~/.claude/claude_code_config.json or project .mcp.json):
{
"mcpServers": {
"obsidian": {
"command": "obsidian-mcp",
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}Or if running from source without installing:
{
"mcpServers": {
"obsidian": {
"command": "python",
"args": ["/path/to/obsidian-mcp/obsidian_mcp.py"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}Tools
Tool | Description |
| Create a new note with frontmatter and optional backlinks |
| Append content to an existing note |
| Add content to today's daily note |
| Read a daily note (today or a specific date) |
| List recent daily notes with previews |
| Search notes by title and content |
| List all folders in the vault |
| Extract all tags used across the vault |
| Read a specific note by path |
| Save a structured conversation summary with sections for decisions, code, next steps |
Vault structure
The server creates notes in this structure:
YourVault/
Claude Conversations/
2025-01-30 - Building MCP Server.md
ProjectName/
2025-01-30 - Feature Work.md
Daily Notes/
2025-01-30.mdLatest 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/dino-quadrivia/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server