MCP Journaling Server
MCP 日志服务器
MCP(消息控制协议)服务器旨在处理交互式日志会话,支持情感分析和自动对话保存。
特征
自动日志会话管理
以 Markdown 格式保存对话
带有时间戳的对话时间分析
支持阅读最近的日记条目
日记条目按时间顺序组织
Related MCP server: Claude Conversation Memory System
安装
依赖于您的 MCP 客户端,在 Claude Desktop 上:
"mcpServers": {
"journaling": {
"command": "uv",
"args": [
"--directory",
<REPOSITORY PATH>,
"run",
"server.py"
]
}
}配置
可以使用 .env 文件中的环境变量来配置服务器:
JOURNAL_DIR:保存日志文件的目录(默认值:~/Documents/journal)FILENAME_PREFIX:文件名前缀(默认值:“journal”)FILE_EXTENSION:日志文件扩展名(默认值:“.md”)
如果未指定,则将使用默认值。
文件结构
日记帐分录按以下结构保存:
[JOURNAL_DIR]/
├── journal_2025-01-27.md
├── journal_2025-01-26.md
└── ...条目格式
每个日记条目包括:
带日期的标题
带有时间戳的对话记录
情感分析
反思和反复出现的主题
API
工具
start_new_session():开始新的日志会话record_interaction(user_message, assistant_message):记录消息交换generate_session_summary(summary):生成并保存会话摘要get_recent_journals():检索最近的 5 条条目
资源
journals://recent:访问最近日记条目的端点
提示
start_journaling:初始提示
Available Tools
3 toolsgenerate_session_summaryC
Generate a markdown summary of the journaling session.
Args: summary: The llm generated summay of the conversation
Returns: str: Confirmation message
Inputs: summary (required).
record_interactionB
Record both the user's message and assistant's response.
Args: user_message: The user's message assistant_message: The assistant's response
Returns: str: Confirmation message
Inputs: user_message (required), assistant_message (required).
start_new_sessionA
Start a new journaling session by clearing previous conversation log.
Returns: str: Welcome message with current save location
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: start_new_session initiates a session, record_interaction logs individual exchanges, and generate_session_summary creates a final summary. The actions (start, record, generate) and targets (session, interaction, summary) are unambiguous.
All tools follow a consistent verb_noun pattern with snake_case: start_new_session, record_interaction, and generate_session_summary. The naming is predictable and readable across the set.
Three tools are reasonable for a journaling server, covering core operations (start, record, summarize). It might feel slightly thin if advanced features like editing or searching past entries are needed, but it's well-scoped for basic functionality.
The tools cover the essential lifecycle of a journaling session: starting, recording interactions, and summarizing. Minor gaps exist, such as no tools for retrieving or managing past sessions, but agents can work around this with the provided operations.
Related MCP Connectors
Running journal for Claude & ChatGPT: logs runs, reads your history, writes your next session.
1Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Your private journal that writes back, inside Claude, ChatGPT, Muse or any MCP client. Ask what you have been writing about, read your entries with Dayora replies and see your moods; with write access, save an entry or log a mood from the chat. Nothing can be edited or deleted. Sign in with OAuth; a free Dayora account is enough.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that integrates with Claude Desktop for managing personal journal entries, providing both a web viewer for browsing journals and tools for adding, searching, and analyzing journal content.626 npm2MIT
- AlicenseBqualityBmaintenanceAn MCP server that provides searchable local storage for Claude conversation history, featuring automatic topic extraction and weekly insight summaries. It enables Claude to retrieve context from past sessions through full-text search and organized file storage.103MIT
- AlicenseAqualityAmaintenanceAn MCP server that gives Claude persistent, locally-stored memory with verification-gated lessons and a Pattern Oracle to prevent unverified guesses from becoming ingrained facts.1373 npm1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives Claude persistent memory by storing conversation context, entities, and enabling semantic search across sessions.1MIT