obsidian-mcp-server
by smith-and-web·★ 15·Score 42
MCP server enabling AI assistants to manage Obsidian vaults with comprehensive note, tag, and search operations.
Overview
This MCP server provides comprehensive functionality for AI assistants to interact with Obsidian vaults. It enables CRUD operations on notes and directories, frontmatter and tag management, full-text search capabilities, and link analysis. The server supports multiple deployment methods including direct npx execution, Docker containers, and local development setups. It implements both SSE and POST endpoints for MCP communication, with optional API key authentication for security.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you use Obsidian as your knowledge base and want AI assistants to directly interact with your vault through natural language commands.
When NOT to choose this
Don't choose this if you need access to other note-taking applications like Notion or Roam Research, as it's specifically designed for Obsidian vaults.
Tools this server exposes
12 tools extracted from the READMEread-noteRead note contents (supports frontmatterOnly for efficiency)
create-noteCreate a new note
edit-noteReplace note contents
write-noteWrite with modes: overwrite, append, or prepend
get-frontmatterGet YAML frontmatter as JSON
add-tagsAdd tags to frontmatter or inline
search-vaultFull-text search with context
get-backlinksFind notes linking to a note
find-broken-linksFind unresolved wiki-links
list-vaultList files and directories
list-tagsList all tags with counts
find-replaceBulk find and replace
Comparable tools
Installation
Installation
**Quick start with npx:**
VAULT_PATH=/path/to/your/vault npx @smith-and-web/obsidian-mcp-server**Docker deployment:**
docker run -d \
--name obsidian-mcp \
-v /path/to/your/vault:/vault:rw \
-p 3001:3000 \
-e VAULT_PATH=/vault \
ghcr.io/smith-and-web/obsidian-mcp-server:latest**Claude Desktop configuration:**
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:3001/sse"]
}
}
}FAQ
- Is authentication required?
- Authentication is optional. When the API_KEY environment variable is set, all endpoints require authentication via Bearer token or query parameter.
- Can I use this with AI assistants other than Claude?
- Yes, any MCP-compatible client can connect to this server using the mcp-remote tool or direct connection to the SSE endpoint.
Compare obsidian-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.