Enables reading, writing, searching, and managing notes in an Obsidian vault with Git-backed version control and multi-device sync support.
Obsidian MCP Server
A custom Model Context Protocol (MCP) server for Obsidian vault integration. Enables Claude Code (desktop & mobile) to read, write, search, and manage your Obsidian notes with support for future AI workflows and external integrations.
Features
š Core Tools: Read, write, search, and list notes
š Git-Backed Sync: Automatic version control and multi-device sync
š± Mobile Support: Works with Claude Code on iPhone/Android
š Secure Auth: OAuth 2.1 and API key support
š Extensible: Drop-in tool system for adding AI workflows and integrations
š³ Docker Ready: Easy deployment to any VPS
š Current Status
ā Completed:
Obsidian vault created and Git-backed (obsidian-vault)
MCP server built and tested locally
Environment configuration working
Bug fix: Added
dotenvpackage for proper .env loadingServer running successfully on localhost:3000
š§ Next Steps:
Docker Compose setup for multi-project VPS deployment
Deploy to Hetzner CPX31 (8GB RAM) VPS
Configure for remote access (mobile + desktop)
š See
Quick Start
Prerequisites
Node.js 20+
Git
Obsidian vault in a Git repository
Installation
Configuration
Create a .env file based on .env.example:
Available Tools
Core Tools
read_note- Read note content and frontmatterwrite_note- Create or update notessearch_notes- Full-text search across vaultlist_notes- List files with optional filtering
Future Extensions (Add as needed)
AI workflows (summarization, tagging, templates)
Calendar integrations
Task management integrations
Custom automations
Deployment
Docker (Recommended)
Hetzner VPS
See docs/deployment.md for detailed deployment instructions.
Extending the Server
To add new tools, create a new file in src/tools/:
The tool will be automatically discovered and registered.
License
MIT
Contributing
This is a personal project, but suggestions and improvements are welcome!