Day One MCP Server
Read-only MCP server for Day One journal on macOS, enabling search and browsing of entries, photos, and metadata.
README
Day One MCP Server
A read-only Model Context Protocol (MCP) server for Day One journal on macOS. Access and search your Day One entries directly from Claude Desktop.
Features
- Unified search - Find entries with flexible filters (text, tags, starred, media, location, device, dates)
- View photos directly - Claude can see and analyze photos from your journal entries via MCP resources
- Media attachments - Access photos, videos, audio, and PDFs with full metadata
- Lazy loading - Efficient performance with
include_tagsandinclude_attachmentsflags - List journals - View all journals with statistics
- Browse recent - Simply search with no filters
- "On This Day" - Use date filters to view historical entries
Prerequisites
- macOS with Day One app installed
- Python 3.11+
- uv package manager - Install from astral.sh
Installation
1. Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
2. Clone and setup
git clone <repository-url>
cd dayone-mcp
uv sync
3. Configure Claude Desktop
Add to your Claude Desktop config at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"dayone": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/dayone-mcp",
"run",
"python",
"-m",
"dayone_mcp.server"
]
}
}
}
Important: Replace /ABSOLUTE/PATH/TO/dayone-mcp with your actual installation path.
4. Restart Claude Desktop
After updating the configuration, restart Claude Desktop to load the MCP server.
Usage
Once configured, you can interact with Day One through natural language:
Example Queries
- "Show me my recent journal entries" - Browse recent (no filters)
- "Search my journal for entries about vacation" - Text search
- "Find starred entries tagged work from last month" - Multi-filter search
- "Show me all entries with photos from my iPhone" - Media + device filter
- "What did I write on October 31st in past years?" - Date filter for "On This Day"
- "List my Day One journals" - View all journals with stats
Available Tools
Just 2 simple tools:
1. search_entries
One powerful tool for all entry operations - search, browse, and filter.
Returns FULL entry text and all metadata.
All parameters are optional - use none for browsing, use filters to narrow results:
text- Text to search for in entry contenttags- List of tags (entry must have ALL specified tags)starred- Filter by starred status (true/false)has_photos- Filter entries with photo attachmentshas_videos- Filter entries with video attachmentshas_audio- Filter entries with audio recordingshas_location- Filter entries with location datacreation_device- Device type ("iPhone", "MacBook Pro", "iPad", "Apple Watch")date_from- Start date (YYYY-MM-DD)date_to- End date (YYYY-MM-DD)journal- Journal name filterlimit- Number of results (1-50, default: 20)include_tags- Include tag data in results (default: false, set to true only if needed for performance)include_attachments- Include attachment/media resources in results (default: false, set to true when you want to view photos/videos/audio)
All filters use AND logic - results must match all criteria.
Examples:
Browse recent: search_entries(limit=10)
Text search: search_entries(text="vacation")
Starred + photos: search_entries(starred=true, has_photos=true)
With attachments: search_entries(has_photos=true, include_attachments=true)
With tags: search_entries(text="vacation", include_tags=true)
"On This Day": search_entries(date_from="2020-10-31", date_to="2025-10-31")
Multi-filter: search_entries(tags=["work"], creation_device="iPhone", date_from="2025-01-01", include_tags=true)
2. list_journals
List all Day One journals with statistics.
Returns:
- Journal names
- Entry counts per journal
- Last entry date for each journal
Database Location
The server automatically connects to Day One's database at:
~/Library/Group Containers/5U8NS4GX82.dayoneapp2/Data/Documents/DayOne.sqlite
Make sure Day One has been opened at least once to create the database.
Troubleshooting
Database not found
- Ensure Day One is installed and has been opened at least once
- The database is created when you first launch Day One
Permission issues
- Day One database is read-only from this server
- No write operations are performed
Claude Desktop connection issues
- Verify the absolute path in
claude_desktop_config.json - Check Claude Desktop logs for errors
- Restart Claude Desktop after configuration changes
Development
# Install dependencies
uv sync
# Run server directly (for testing)
uv run python -m dayone_mcp.server
# Run comprehensive test suite
uv run python tests/test_all.py
Test Coverage
The test suite (tests/test_all.py) validates:
- Database connection and initialization
- Basic operations (read/search)
- Text extraction from rich text JSON and markdown
- Entry formatting (preview vs full text)
- Advanced search filters (text, starred, media, location, dates)
- Lazy loading and performance (include_tags, include_attachments)
- Get entry by UUID (for resource retrieval)
- Attachment file verification
- Display integration with resource URIs
License
MIT
Acknowledgments
Built with the Model Context Protocol by Anthropic.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。