Skip to main content
Glama
Journal MCP Server

Journal MCP Server

by coji

Journal MCP Server

A Model Context Protocol (MCP) server for journal entries with a React Router v7 web viewer.

Features

  • πŸ“– MCP Server: Integration with Claude Desktop for journal management

  • 🌐 Web Viewer: React-based interface for browsing journal entries

  • πŸš€ Server-side rendering with React Router

  • ⚑️ Hot Module Replacement (HMR) for development

  • πŸ”’ TypeScript by default

  • πŸŽ‰ TailwindCSS for styling

  • πŸ“ File-based storage with automatic organization

Related MCP server: private-journal

Getting Started

Quick Start with npx

Run directly without installation:

# Start web viewer
npx @coji/journal-mcp --viewer

# Setup Claude Desktop integration
npx @coji/journal-mcp --setup

# Start MCP server for Claude Desktop
npx @coji/journal-mcp

Local Development

Install the dependencies:

pnpm install

Development

Start the development server with HMR:

pnpm dev

Your web viewer will be available at http://localhost:5173.

Building for Production

Create a production build:

pnpm build

Usage

# Show help
npx @coji/journal-mcp --help

# Setup Claude Desktop integration
npx @coji/journal-mcp --setup

# Verify Claude Desktop setup
npx @coji/journal-mcp --verify-setup

# Start MCP server for Claude Desktop
npx @coji/journal-mcp

# Start web viewer
npx @coji/journal-mcp --viewer

# Custom port examples
npx @coji/journal-mcp --viewer --port 8080

Local Development Commands

For development after local installation:

# Show help
node dist/index.js --help

# Setup Claude Desktop configuration
node dist/index.js --setup

# Start MCP server
node dist/index.js

# Start web viewer
node dist/index.js --viewer

The web viewer will be available at http://localhost:8765 (or your specified port).

MCP Tools

The server provides these tools for Claude Desktop:

  1. add_entry - Add new journal entries

  2. search_entries - Search by date range, tags, or keywords

  3. get_recent_entries - Get most recent entries

  4. list_tags - List all tags with usage counts

  5. get_entry_by_date - Get entries for a specific date

  6. get_daily_summary - Get journal statistics

File Storage

Journal entries are stored in:

  • Location: ~/.local/share/journal-mcp/entries/YYYY/MM/YYYY-MM-DD.md

  • Format: Markdown with YAML frontmatter

  • Features: Automatic tag extraction, time-based organization

Deployment

Docker Deployment

docker build -t journal-mcp .
docker run -p 8765:8765 journal-mcp

Manual Deployment

Deploy the output of pnpm build:

β”œβ”€β”€ package.json
β”œβ”€β”€ pnpm-lock.yaml
β”œβ”€β”€ build/
β”‚   β”œβ”€β”€ client/    # Static assets
β”‚   └── server/    # Server-side code

Built with ❀️ using React Router and MCP.

Available Tools

6 tools
add_entryA

Add a new journal entry. If an entry for today already exists, it will append to the same file.

Inputs: content (required), tags.

get_daily_summaryB

Get summary statistics for journal entries

get_entry_by_dateC

Get journal entry for a specific date

Inputs: date (required).

get_recent_entriesC

Get the most recent journal entries

Inputs: limit.

list_tagsB

List all tags used in journal entries with their usage counts

search_entriesC

Search journal entries by date range, tags, or keywords

Inputs: dateFrom, dateTo, tags, keywords, +2 more.

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 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: adding entries, retrieving entries by different criteria (date, recency, search), summarizing statistics, and listing tags. There is no overlap or ambiguity between tools like get_entry_by_date and get_recent_entries, as they serve different retrieval needs.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern with snake_case, such as add_entry, get_daily_summary, and search_entries. This uniformity makes the tool set predictable and easy to understand for an agent.

    Tool Count5/5

    With 6 tools, this server is well-scoped for a journaling domain, covering core operations like CRUD (add, get, search), summaries, and tag management. Each tool earns its place without feeling excessive or insufficient.

    Completeness4/5

    The tool set provides strong coverage for reading, writing, and searching journal entries, with tag support and summaries. A minor gap exists in update or delete functionality for entries, but agents can work around this by appending or managing files indirectly.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Message Control Protocol server that enables Claude Desktop and other applications to interact with Day One journals, allowing automated journal entry creation through a simple API.
      19
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A comprehensive MCP server that provides Claude with private journaling and semantic search capabilities for processing thoughts, reflections, and insights.
      467
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.
      177 PyPI
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for JournalOwl that enables AI-powered journaling integration, allowing users to create, search, and browse journal entries, access weekly reviews, and get personalized suggestions directly from their AI assistant.
      7
      10 npm
      MIT