Supports containerized deployment of the journal MCP server and web viewer
Stores journal entries in Markdown format with YAML frontmatter, supporting automatic tag extraction and time-based organization
Provides a web-based viewer interface for browsing journal entries with server-side rendering support
Uses YAML frontmatter in journal entries for metadata storage and organization
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Journal MCP Serveradd a journal entry about my productive morning with tags work and focus"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: ClaudeKeep
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-mcpLocal Development
Install the dependencies:
pnpm installDevelopment
Start the development server with HMR:
pnpm devYour web viewer will be available at http://localhost:5173.
Building for Production
Create a production build:
pnpm buildUsage
Using npx (Recommended)
# 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 8080Local 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 --viewerThe web viewer will be available at http://localhost:8765 (or your specified port).
MCP Tools
The server provides these tools for Claude Desktop:
add_entry - Add new journal entries
search_entries - Search by date range, tags, or keywords
get_recent_entries - Get most recent entries
list_tags - List all tags with usage counts
get_entry_by_date - Get entries for a specific date
get_daily_summary - Get journal statistics
File Storage
Journal entries are stored in:
Location:
~/.local/share/journal-mcp/entries/YYYY/MM/YYYY-MM-DD.mdFormat: 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-mcpManual Deployment
Deploy the output of pnpm build:
βββ package.json
βββ pnpm-lock.yaml
βββ build/
β βββ client/ # Static assets
β βββ server/ # Server-side codeBuilt with β€οΈ using React Router and MCP.