The MCP Chat Logger server allows you to save chat histories as well-formatted Markdown files with several useful features:
- Automatic Timestamps: Adds timestamps to messages for chronological tracking
- Conversation ID Support: Organizes different chat sessions
- Custom Save Directory: Lets you specify where chat logs are saved
- Easy Integration: Configurable through cursor/cherry studio
Exports chat conversations to structured Markdown files with automatic timestamping and session organization
MCP Chat Logger
MCP Chat Logger是一个简单而强大的聊天记录保存工具,可以将聊天历史保存为Markdown格式文件,便于后续查看和分享。
功能特点
- 支持大模型调用工具将聊天历史保存为格式化的Markdown文件
- 自动为每条消息添加时间戳
- 自定义保存目录
- 支持会话ID标识不同的对话
下一阶段
添加Overview功能
安装步骤
Installing via Smithery
To install MCP Chat Logger for Claude Desktop automatically via Smithery:
- 克隆这个代码库:
- 安装依赖: 提前安装uv
使用方法
- 在项目目录启动mcp服务
- 在cursor/cherry studio中添加mcp服务器配置 "chat_logger": { "name": "chat_logger", "isActive": false, "command": "uv", "args": [ "--directory", "项目路径(例如~/MCP_Chat_Logger/)", "run", "chat_logger.py" ] }
项目结构
贡献指南
欢迎提交问题和拉取请求!如果您想贡献代码,请遵循以下步骤:
- Fork这个仓库
- 创建您的特性分支 (
git checkout -b feature/amazing-feature
) - 提交您的更改 (
git commit -m 'Add some amazing feature'
) - 推送到分支 (
git push origin feature/amazing-feature
) - 开启一个Pull Request
许可证
该项目采用MIT许可证 - 详情请查看 LICENSE 文件。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
A tool that preserves chat history as Markdown files, automatically adding timestamps and supporting conversation identification through session IDs.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThe MCP server transforms chats with Claude into journaling sessions, saving conversations locally and allowing the LLM to retrieve previous sessions to create continuity in discussions about daily activities.Last updated -36PythonMIT License
- AsecurityAlicenseAqualityEnhances user interaction through a persistent memory system that remembers information across chats and learns from past errors by utilizing a local knowledge graph and lesson management.Last updated -1355,85551JavaScriptMIT License
- AsecurityAlicenseAqualityProvides a structured documentation system for context preservation in AI assistant environments, helping users create and manage memory banks for their projects.Last updated -362PythonMIT License
- AsecurityAlicenseAqualityEnables AI assistants to maintain persistent project context across sessions by storing and retrieving structured information in markdown files organized in a memory bank directory.Last updated -453JavaScriptApache 2.0