MCP ExplorerExplorer

Chatsum

@chatmcpon 18 days ago
977 MIT
FreeCommunity
AI Systems
#chatbot#mcp-server#chatsum
Query and summarize your chat information.

Overview

What is Chatsum

mcp-server-chatsum is an MCP Server designed to query and summarize chat messages, allowing users to efficiently manage and extract insights from their conversations.

Use cases

Use cases for mcp-server-chatsum include summarizing customer inquiries for support teams, analyzing discussions in online forums, and extracting key points from team chat logs for project management.

How to use

To use mcp-server-chatsum, set up the chat database by following the instructions in the chatbot directory. After that, start the chatbot to save your chat messages and configure the server according to the provided installation guidelines.

Key features

Key features include the ability to query chat messages with specific parameters and summarize them based on user-defined prompts, enhancing the usability of chat data.

Where to use

mcp-server-chatsum can be used in various fields such as customer support, online communities, and any platform where chat interactions occur, enabling better data management and insights.

Content

mcp-server-chatsum

This MCP Server is used to summarize your chat messages.

中文说明

preview

Before you start

move to chatbot directory, follow the README to setup the chat database.

start chatbot to save your chat messages.

Features

Resources

Tools

  • query_chat_messages - Query chat messages
    • Query chat messages with given parameters
    • Summarize chat messages based on the query prompt

Prompts

Development

  1. Set up environment variables:

create .env file in the root directory, and set your chat database path.

CHAT_DB_PATH=path-to/chatbot/data/chat.db
  1. Install dependencies:
pnpm install

Build the server:

pnpm build

For development with auto-rebuild:

pnpm watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-chatsum": {
      "command": "path-to/bin/node",
      "args": [
        "path-to/mcp-server-chatsum/build/index.js"
      ],
      "env": {
        "CHAT_DB_PATH": "path-to/mcp-server-chatsum/chatbot/data/chat.db"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

pnpm inspector

The Inspector will provide a URL to access debugging tools in your browser.

Community

About the author

Tools

No tools

Comments