Back to Home
fazer-ai icon

mcp-obsidian

Verified Safe

by fazer-ai

Overview

Enables LLMs (like Claude) to programmatically interact with an Obsidian vault through the Local REST API plugin.

Installation

Run Command
bunx @fazer-ai/mcp-obsidian@latest

Environment Variables

  • OBSIDIAN_API_KEY
  • OBSIDIAN_PROTOCOL
  • OBSIDIAN_HOST
  • OBSIDIAN_PORT

Security Notes

The server acts as an intermediary, proxying requests to the Obsidian Local REST API plugin. Security primarily depends on the robustness of the Obsidian plugin and proper handling of the `OBSIDIAN_API_KEY` by the user (passed via environment variables, not hardcoded). Path sanitization is implemented for file-related operations (`sanitizeAndEncodePath`), mitigating some path traversal risks. Input validation is performed using Zod schemas for tool arguments. No direct code injection (e.g., `eval`) or malicious patterns were observed within the provided source code. Communication relies on standard HTTP/S requests.

Similar Servers

Stats

Interest Score36
Security Score9
Cost ClassLow
Avg Tokens1500
Stars37
Forks26
Last Update2026-01-03

Tags

MCPObsidianLLM IntegrationTypeScript