This repository provides a Model Context Protocol server for LLMs to interact with Obsidian vaults, offering secure API communication, file operations, and search capabilities for AI-powered knowledge management.
The Obsidian MCP Server is a Model Context Protocol server, built with TypeScript, designed to enable Large Language Models (LLMs) to interact with Obsidian vaults. It facilitates seamless knowledge base management through a secure and flexible interface. The server requires the Local REST API plugin in Obsidian.
Key features include atomic file operations with validation, a search system supporting full-text and JsonLogic queries, and YAML frontmatter parsing for property management. Security is ensured through API key authentication, rate limiting, and SSL options. The server offers tools for file management (listing, getting contents), search operations (text search, complex queries), and content modification (appending, patching). Property management tools allow for getting and updating note properties, including automatic timestamp management. Configuration is done via environment variables, allowing customization of connection settings, request limits, and rate limiting.
cyanheads/obsidian-mcp-server
January 23, 2025
March 27, 2025
TypeScript