MCP ExplorerExplorer

Journaling Mcp

@mtcton 9 months ago
6 MIT
FreeCommunity
AI Systems
MCP Server for journaling

Overview

What is Journaling Mcp

journaling-mcp is an MCP server designed for interactive journaling sessions, offering features like emotional analysis and automatic saving of conversations.

Use cases

Use cases include personal reflection, therapy session documentation, emotional analysis for mental health professionals, and interactive storytelling.

How to use

To use journaling-mcp, configure your MCP client to include the server command in the settings. Set up the environment variables in the .env file for directory and file preferences, then run the server using the specified command.

Key features

Key features include automatic journaling session management, conversation saving in Markdown format, temporal analysis with timestamps, support for reading recent journal entries, and chronological organization of entries.

Where to use

journaling-mcp can be used in mental health applications, personal journaling, therapy sessions, and any interactive environments where emotional tracking and conversation documentation are beneficial.

Content

MCP Journaling Server

An MCP (Message Control Protocol) server designed to handle interactive journaling sessions with support for emotional analysis and automatic conversation saving.

Journaling Server MCP server

Features

  • Automatic journaling session management
  • Conversation saving in Markdown format
  • Temporal analysis of conversations with timestamps
  • Support for reading recent journal entries
  • Chronological organization of journal entries

Installation

Depend from your MCP client, on Claude Desktop:

    "mcpServers": {
        "journaling": {
            "command": "uv",
            "args": [
                "--directory",
                <REPOSITORY PATH>,
                "run",
                "server.py"
            ]
        }
    }

Configuration

The server can be configured using environment variables in .env file:

  • JOURNAL_DIR: Directory for saving journal files (default: ~/Documents/journal)
  • FILENAME_PREFIX: Prefix for file names (default: “journal”)
  • FILE_EXTENSION: Journal file extension (default: “.md”)

If not specified, default values will be used.

File Structure

Journal entries are saved with the following structure:

[JOURNAL_DIR]/
├── journal_2025-01-27.md
├── journal_2025-01-26.md
└── ...

Entry Format

Each journal entry includes:

  1. Header with date
  2. Conversation transcript with timestamps
  3. Emotional analysis
  4. Reflections and recurring themes

API

Tools

  • start_new_session(): Start a new journaling session
  • record_interaction(user_message, assistant_message): Record a message exchange
  • generate_session_summary(summary): Generate and save session summary
  • get_recent_journals(): Retrieve 5 most recent entries

Resources

  • journals://recent: Endpoint to access recent journal entries

Prompts

  • start_journaling: Initial prompt

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers