mcp-server-chatsum

The mcp-server-chatsum repository provides an MCP server to summarize chat messages stored in a database, allowing users to query and summarize their conversations using tools and prompts. It's designed for

927
79

mcp-server-chatsum

This MCP Server summarizes your chat messages. A Chinese version of this README is available here.

The server provides tools to query and summarize chat messages stored in a database. Before starting, set up the chat database by following the instructions in the chatbot directory's README and start the chatbot to save your messages.

Features

The server offers the query_chat_messages tool, which allows querying chat messages with specific parameters and summarizing them based on a given prompt.

Development

To develop, create a .env file with the CHAT_DB_PATH variable pointing to your chat database. Install dependencies with pnpm install, build with pnpm build, and use pnpm watch for auto-rebuild during development.

Installation

To use with Claude Desktop, add a server configuration to the claude_desktop_config.json file, specifying the path to the Node.js executable and the server's index.js file, along with the CHAT_DB_PATH environment variable. Debugging can be done using the MCP Inspector via pnpm inspector.

Repository

CH
chatmcp

chatmcp/mcp-server-chatsum

Created

December 3, 2024

Updated

March 28, 2025

Language

TypeScript

Category

Communication