Skip to main content
Glama
mcp-server-chatsum

mcp-server-chatsum

by chatmcp

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

Related MCP server: IDE Chat Summarizer

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables automatic conversation summarization by typing -sun command, which analyzes the current chat session and saves structured summaries as .mdc files with key insights, outcomes, and next steps.
      3
      14 npm
      Apache 2.0
    • F
      license
      A
      quality
      D
      maintenance
      Transforms chat conversations with AI into structured markdown summaries and automatically saves them to organized files in your notes directory. Supports different summary styles, handles large conversations through chunking, and provides tools to manage your saved summaries.
      4
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Reads your local WhatsApp chat history and exposes tools to retrieve messages and chat lists, enabling querying and summarization of your conversations entirely offline.
      74 PyPI
      1
      MIT