Back to Home
frstlvl icon

obsidian-mcp-server

Verified Safe

by 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

Run Command
node dist/index.js

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-02

Tags

ObsidianClaude AIKnowledge ManagementVector SearchMCP Protocol