The Obsidian Diary MCP Server enables AI-powered smart journaling within Obsidian by automating entry creation, content management, and intelligent backlinking.
Core Features:
Generate diary templates with AI-powered reflection prompts based on analysis of recent entries and writing patterns
Save diary entries with automatic intelligent backlink generation to related entries using AI theme detection
Read existing entries by date in YYYY-MM-DD format
List recent entries with configurable count to track journaling history
Update backlinks for individual entries or refresh all backlinks across the diary based on current content
Create meaningful connections between entries through automatic
[[YYYY-MM-DD]]
format backlinks that link thematically related diary entries
Integrates with GitHub Copilot CLI to enable natural language commands for creating diary templates and journaling assistance
Provides smart journaling capabilities for Obsidian vaults with AI-powered reflection prompts, automatic backlink generation between diary entries, and adaptive templates that learn from writing patterns
Obsidian Diary MCP Server
Smart journaling with AI-powered prompts and automatic backlinks for Obsidian.
Features: Dynamic reflection prompts • Smart backlinks • AI theme detection
Quick Start
GitHub Copilot CLI Setup
Name:
obsidian-diary
Command:
uv run fastmcp run src/obsidian_diary_mcp/server.py
Working Directory:
/path/to/this/repo
Environment:
{"DIARY_PATH": "/path/to/your/diary"}
Daily Workflow
Create today's entry:
copilot "create diary entry file"Write in Obsidian - file created with AI-generated prompts based on recent entries
Save with backlinks:
copilot "save diary entry with today's content"Backlinks appear automatically - refresh Obsidian to see connections
Other commands:
How It Works
AI Prompts: Uses LLM sampling to analyze your recent entries and generate personalized reflection questions
Smart Backlinks: AI extracts themes from content to automatically link related entries with [[YYYY-MM-DD]]
format
No Hardcoded Content: Everything is dynamically generated based on your actual writing patterns
Tools Available
create_diary_template(date?)
- Generate template with AI promptscreate_diary_entry_file(date?)
- Create file with AI promptssave_diary_entry(date, content)
- Save with auto-generated backlinksread_diary_entry(date)
- Read existing entrylist_recent_entries(count?)
- List recent entriesupdate_entry_backlinks(date)
- Refresh backlinks for one entryrefresh_all_backlinks()
- Refresh backlinks for all entries
Configuration
Entry Format
Files: YYYY-MM-DD.md
in your diary directory
Other MCP Clients
Works with Claude Desktop and other MCP-compatible tools. See MCP documentation for setup.
License: MIT • Requirements: Python 3.8+, FastMCP
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables AI-powered journaling in Obsidian with dynamic reflection prompts generated from recent entries and automatic backlinks between related diary entries. Supports adaptive templates that learn from writing patterns and smart content similarity linking.