obsidian-mcp-server
Verified Safeby frstlvl
Overview
Provides real-time Claude AI access to Obsidian vaults, enabling dynamic querying, searching, and writing of notes without typical token limitations by using the Model Context Protocol (MCP).
Installation
node dist/index.jsEnvironment Variables
- OBSIDIAN_VAULT_PATH
- OBSIDIAN_CONFIG_PATH
- ANTHROPIC_API_KEY
Security Notes
The server demonstrates strong security practices including robust path validation (using `isPathSafe`) to prevent directory traversal attacks, explicit Zod schema validation for all tool inputs, and optional, opt-in write operations (`enableWrite: false` by default) that also employ strict path and existence checks, including a `confirm: true` parameter for deletions. Communication is via local stdio, and embedding generation is performed locally using Transformers.js, minimizing external network exposure. No 'eval' or other highly dangerous patterns were observed. The use of a detached indexing worker is standard practice.
Similar Servers
mcp-obsidian
Provides a secure, universal AI bridge for Obsidian vaults, enabling MCP-compatible AI assistants to read, write, and manage notes.
obsidian-mcp-plugin
This plugin connects your Obsidian vault to AI assistants through MCP (Model Context Protocol), enabling them to understand and navigate your notes as a connected knowledge graph.
obsidian-mcp-server
Provides an OpenAI-compatible local Model Context Protocol (MCP) server within Obsidian, enabling external AI assistants and tools to semantically search the vault and perform file system operations.
obsidian-mcp-server
Enables AI assistants to interact with and manage an Obsidian markdown vault via the Model Context Protocol (MCP).