mcp-server-chatsum

mcp-server-chatsum

Summarize and query chat messages using the MCP Server protocol.

1,024
Stars
99
Forks
1,024
Watchers
7
Issues
mcp-server-chatsum is an MCP Server designed to summarize and query chat messages. It provides tools to interact with chat data, enabling users to extract and summarize message content based on specified prompts. The server can be integrated with Claude Desktop and supports communication over stdio, offering dedicated debugging tools via the MCP Inspector. Environment variable support and database integration ensure flexible deployment for chat data management.

Key Features

Summarize chat messages
Query chat messages with parameters
Integration with Claude Desktop via configuration
Support for external chat databases
Environment variable configuration
Command-line tools for setup and build
Supports prompt-based chat message processing
Communication over stdio for extensibility
Debugging support via MCP Inspector
Multi-platform support (MacOS and Windows)

Use Cases

Generating concise summaries of large chat transcripts
Extracting specific conversations from a chat database
Connecting chat history to desktop AI applications like Claude
Automating the processing and analysis of chat sessions
Providing summarized context for generative AI models
Integrating chat data pipelines into custom AI workflows
Enabling developers to debug and inspect context protocol communication
Customizing chat data handling with environment-specific configurations
Facilitating review and monitoring of chat-based support logs
Building chat intelligence features for productivity tools

README

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.

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

Build the server:

bash
pnpm build

For development with auto-rebuild:

bash
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

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:

bash
pnpm inspector

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

Community

About the author

Star History

Star History Chart

Repository Owner

chatmcp
chatmcp

Organization

Repository Details

Language TypeScript
Default Branch main
Size 1,720 KB
Contributors 1
MCP Verified Nov 12, 2025

Programming Languages

TypeScript
84.59%
JavaScript
15.41%

Tags

Topics

chatbot chatsum mcp-server

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Unichat MCP Server

    Unichat MCP Server

    Universal MCP server providing context-aware AI chat and code tools across major model vendors.

    Unichat MCP Server enables sending standardized requests to leading AI model vendors, including OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, and Inception, utilizing the Model Context Protocol. It features unified endpoints for chat interactions and provides specialized tools for code review, documentation generation, code explanation, and programmatic code reworking. The server is designed for seamless integration with platforms like Claude Desktop and installation via Smithery. Vendor API keys are required for secure access to supported providers.

    • 37
    • MCP
    • amidabuddha/unichat-mcp-server
  • Kagi MCP Server

    Kagi MCP Server

    Integrate Kagi Search and Summarization as Model Context Protocol tools.

    Kagi MCP Server enables easy integration of Kagi's search and summarization capabilities with AI systems via the Model Context Protocol. It facilitates tool-based queries such as searching web results or summarizing content, and offers setup instructions for various platforms including Claude Desktop. Users can install and configure the server through package managers, Smithery, or direct Python environments. The project provides configurable environment variables for API access and summarization engine selection, supporting both local development and production usage.

    • 216
    • MCP
    • kagisearch/kagimcp
  • Confluence Communication Server MCP Server

    Confluence Communication Server MCP Server

    Seamlessly interact with Confluence using standardized MCP tools.

    Confluence Communication Server MCP Server is a TypeScript-based implementation that enables seamless interaction with Confluence through the Model Context Protocol. It provides tools for running CQL queries, retrieving, and updating Confluence page content, thus showcasing and adhering to core MCP concepts. The server is compatible with Claude Desktop and supports installation via Smithery, emphasizing ease of integration and automation for Confluence management tasks.

    • 13
    • MCP
    • KS-GEN-AI/confluence-mcp-server
  • any-chat-completions-mcp

    any-chat-completions-mcp

    Integrate multiple AI chat providers with OpenAI-compatible MCP server.

    any-chat-completions-mcp is a TypeScript-based server implementing the Model Context Protocol (MCP) to connect popular AI chat providers like OpenAI, Perplexity, Groq, xAI, and PyroPrompts via a unified interface. It relays chat/completion requests to any OpenAI SDK-compatible API, allowing users to easily access multiple AI services through the same standardized protocol. The server can be configured for different providers by setting environment variables and integrates with both Claude Desktop and LibreChat.

    • 143
    • MCP
    • pyroprompts/any-chat-completions-mcp
  • MCP ChatGPT Server

    MCP ChatGPT Server

    Enables direct access to OpenAI's ChatGPT API from Claude Desktop via the Model Context Protocol.

    MCP ChatGPT Server runs as an MCP-compliant server, allowing users to access OpenAI's ChatGPT API seamlessly within Claude Desktop. It supports customizable model parameters, automated conversation state management, integrated web search for up-to-date information, and facilitates interactive discussions between Claude and ChatGPT. Users can configure model selection, temperature, token limits, and use their own OpenAI API keys.

    • 14
    • MCP
    • billster45/mcp-chatgpt-responses
  • Perplexity MCP Server

    Perplexity MCP Server

    MCP Server integration for accessing the Perplexity API with context-aware chat completion.

    Perplexity MCP Server provides a Model Context Protocol (MCP) compliant server that interfaces with the Perplexity API, enabling chat completion with citations. Designed for seamless integration with clients such as Claude Desktop, it allows users to send queries and receive context-rich responses from Perplexity. Environment configuration for API key management is supported, and limitations with long-running requests are noted. Future updates are planned to enhance support for client progress reporting.

    • 85
    • MCP
    • tanigami/mcp-server-perplexity
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results