Obsidian MCP
Enables comprehensive management of Obsidian vaults, including full CRUD operations on notes, wikilink and frontmatter management, tag-based searching, and section-level content manipulation.
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 for notes tagged #research and list their backlinks"
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
MCP server for Obsidian vault management. Designed for AI agents (Claude Desktop, Claude Code).
Features
Full CRUD operations on notes
Wikilink management (auto-update on rename/delete)
Frontmatter manipulation
Tag-based and content search
Backlinks discovery
Section-level operations
Installation
poetry installConfiguration
Set the vault path via environment variable:
export OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"
# WSL example (Windows vault accessed from WSL)
export OBSIDIAN_VAULT_PATH="/mnt/c/Users/username/Documents/Obsidian/my_vault"Claude Desktop Configuration
Add to claude_desktop_config.json:
Linux/macOS:
{
"mcpServers": {
"obsidian": {
"command": "bash",
"args": ["-c", "cd /path/to/obsidian-mcp && poetry run obs-mcp"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault"
}
}
}
}Windows (via WSL):
{
"mcpServers": {
"obsidian": {
"command": "wsl",
"args": [
"-e", "bash", "-c",
"cd /path/to/obsidian-mcp && poetry run obs-mcp"
],
"env": {
"OBSIDIAN_VAULT_PATH": "/mnt/c/Users/username/Documents/Obsidian/my_vault"
}
}
}
}Available Tools
Tool | Description |
| Read note content (frontmatter + body) |
| Create note |
| Append to note |
| Replace body, preserve frontmatter |
| Delete (links updated to |
| Rename + update wikilinks |
| Search (name, name_partial, content, tag) |
| Get incoming/outgoing links |
| Get frontmatter + links without body |
| Set frontmatter key |
| Add tag to note |
| Remove tag from note |
| List all notes (paginated) |
| Replace text in note |
| Insert text at position |
| Read section by heading |
| Append to section |
| Replace section content |
| Delete section |
| Get all headings |
| Find broken wikilinks |
| Get tool descriptions |
Vault Structure
Flat structure (all
.mdfiles in vault root)YAML frontmatter with
---delimitersWikilinks:
[[Note Name]]Tags in frontmatter:
tags: [tag1, tag2].trash/for deleted notes.obsidian/ignored
Development
# Run tests
poetry run pytest tests/spec/core/ -v
# Lint
poetry run ruff check src/
poetry run mypy src/License
MIT
This server cannot be installed
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
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/Abrak98/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server