Skip to main content
Glama
Day One MCP Server

Day One MCP Server

Day One MCP Server

An MCP server that provides read/write access to your Day One journal entries.

Features

  • Read entries from your Day One database (read-only access)

  • Create entries via the Day One CLI (preserves sync integrity)

  • Full-text search with FTS5 - relevance ranking, phrase matching, boolean operators, and proximity search

Related MCP server: ppdiary

Setup

Prerequisites

  • Day One app installed and run at least once (creates the database)

  • Day One CLI available (dayone command)

Configure Claude Desktop

Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "dayone": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/olivernormand/dayone-mcp", "dayone-mcp"]
    }
  }
}

Available Tools

Read

Tool

Description

read_recent_entries

Get recent journal entries with optional full_text parameter

search_entries

Basic substring search across entry text

get_entry

Retrieve one entry in full by UUID

list_journals

List all journals with entry counts

get_entry_count

Get total entry count (optionally by journal)

get_entries_on_this_day

"On This Day" - entries from this date in previous years

Search and listing tools print each entry's UUID in parentheses, which you can pass to get_entry to read the complete entry behind a snippet.

Write

Tool

Description

create_entry

Create a new entry with optional tags, location, attachments, etc.

Full-Text Search (FTS)

These tools use a separate FTS5 index for fast, relevance-ranked search. This is a key differentiator from other Day One MCP implementations.

Tool

Description

fts_search

Full-text search with relevance ranking

fts_sync

Sync/rebuild the search index

fts_stats

Get index statistics

FTS Query Syntax

startup ideas          # Entries containing both words
"morning run"          # Exact phrase match
build*                 # Prefix match (build, building, builder)
startup NOT fintech    # Boolean NOT
startup OR ideas       # Boolean OR
NEAR(morning run, 5)   # Words within 5 tokens of each other

FTS Filters

  • journal - Filter by journal name

  • starred_only - Only starred entries

  • year - Filter by year

  • date_from / date_to - Date range (YYYY-MM-DD)

  • full_text - Return complete entry text instead of snippet

FTS Sync

The search index syncs automatically on server startup. To manually rebuild if needed:

fts_sync(full_rebuild=True)

Architecture

  • Reads: Direct SQLite database access (read-only mode)

  • Writes: Via Day One CLI (preserves sync integrity)

  • FTS Index: Separate SQLite database at ~/.dayone-mcp/fts_index.sqlite

The Day One database is never modified. All writes go through the official CLI.

The search index reconciles against Day One on every sync, so entries you delete are removed from search, and entries edited on another device are picked up even though they sync with an older modified date.

Configuration

All optional:

Variable

Purpose

DAYONE_CLI_PATH

Override the CLI binary (otherwise tries dayone, then dayone2)

DAYONE_DB_PATH

Override the Day One database location

DAYONE_FTS_PATH

Override the FTS index location

Local Development

# Clone and install
git clone https://github.com/olivernormand/dayone-mcp
cd dayone-mcp
uv sync

# Run the server
uv run dayone-mcp
uv run --group dev pytest

License

MIT

Available Tools

10 tools
create_entryB

Create a new Day One journal entry.

Args: content: The text content of the journal entry journal: Optional journal name (uses default if not specified) tags: Optional list of tags for the entry date: Optional date in YYYY-MM-DD HH:MM:SS format starred: Mark entry as starred/important latitude: Optional latitude coordinate (requires longitude) longitude: Optional longitude coordinate (requires latitude) timezone: Optional timezone (e.g., 'Europe/London') all_day: Mark as all-day event attachments: Optional list of file paths to attach (max 10)

Returns: Success message with entry UUID

Inputs: content (required), date, tags, all_day, +6 more. Returns: result

fts_statsB

Get search index statistics.

Returns: Index statistics (entry count, last sync time, size)

Inputs: no named parameters. Returns: result

fts_syncA

Sync the search index with the Day One database.

Run this to make new or modified entries searchable. The sync is incremental by default (only processes changes since last sync).

Args: full_rebuild: If True, clears and rebuilds the entire index. Use this if the index seems corrupted or out of sync.

Returns: Sync statistics (entries added, updated, duration)

Inputs: full_rebuild. Returns: result

get_entries_on_this_dayA

Get entries from this date in previous years ('On This Day').

Args: date: Target date in MM-DD or YYYY-MM-DD format. Defaults to today. years_back: How many years back to search (default 5) full_text: If True, returns complete entry text. If False, truncates to ~500 chars (default False)

Returns: Formatted list of entries from this date across years

Inputs: date, full_text, years_back. Returns: result

get_entryA

Retrieve a single journal entry in full by its UUID.

UUIDs are shown in parentheses by search_entries, fts_search and read_recent_entries. Use this to read the complete text of an entry after finding it via a snippet.

Args: uuid: The entry UUID

Returns: The full entry with all metadata

Inputs: uuid (required). Returns: result

get_entry_countC

Get total entry count from Day One.

Args: journal: Optional journal name to count entries for

Returns: Entry count message

Inputs: journal. Returns: result

list_journalsA

List all Day One journals with entry counts.

Returns: Formatted list of journals with metadata

Inputs: no named parameters. Returns: result

read_recent_entriesA

Read recent journal entries from Day One.

Args: limit: Maximum number of entries to return (1-50, default 10) journal: Optional journal name to filter by full_text: If True, returns complete entry text. If False, truncates to ~500 chars (default False)

Returns: Formatted list of recent entries with metadata

Inputs: limit, journal, full_text. Returns: result

search_entriesA

Search journal entries using simple keyword matching.

This performs a basic substring search - it finds entries containing the query text anywhere in the content. Case-insensitive.

Examples: - "run" matches "running", "return", "run" - "morning coffee" matches entries whose text contains that substring

Limitations: - No boolean operators (AND, OR, NOT) - No relevance ranking - results sorted by date (newest first) - No fuzzy/typo tolerance - Prefer fts_search for anything beyond a simple substring lookup

Args: query: Text to search for (simple substring match) limit: Maximum number of entries to return (1-50, default 20) journal: Optional journal name to filter by full_text: If True, returns complete entry text. If False, truncates to ~500 chars (default False)

Returns: Formatted list of matching entries, sorted by date (newest first)

Inputs: query (required), limit, journal, full_text. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target clearly distinct operations, and the two search tools (search_entries vs fts_search) are explicitly differentiated in their descriptions, with search_entries even recommending fts_search for advanced queries. get_entry_count vs fts_stats and the three temporal read tools are also distinguishable, leaving only mild overlap between the two search paths.

    Naming Consistency4/5

    The surface is dominated by a consistent verb_noun pattern (read_recent_entries, get_entry, search_entries, list_journals, create_entry). The main deviation is the fts_ subsystem (fts_stats, fts_search, fts_sync), which mixes noun and verb styles but is internally coherent as a search-index prefix.

    Tool Count5/5

    At 10 tools this is well within the ideal range, and each tool earns its place: entry reads, search (two flavors), create, journal listing, counts, and index maintenance. Nothing feels padded or missing at the count level.

    Completeness3/5

    The set covers create and multiple read/search paths plus search-index management, but there is no update/edit or delete operation for entries, which is a notable gap in the CRUD lifecycle. Journal functionality is also thin (only list_journals, no create/rename), leaving some workflows unreachable.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables LLMs to search and retrieve personal journal entries using RAG, and add new entries with date filtering and multiple vector stores.
      4
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-assisted diary management through natural language, allowing you to create, read, update, delete, and search diary entries stored locally in SQLite.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables querying and managing markdown journal entries via tags, full-text search, and CRUD operations, plus workspace statistics, through a native edge MCP interface.
      -