Back to MCP Catalog

Chat Summarizer MCP Server

Knowledge & MemoryTypeScript
Query and summarize your chat message history
Available Tools

query_chat_messages

Query chat messages with given parameters and summarize them based on the query prompt

Chat Summarizer is a powerful tool that helps you extract insights from your conversation history. It allows you to query your past chat messages and generate summaries based on specific criteria, making it easier to recall important information and track conversation patterns over time. With this MCP server, you can search through your chat database using various parameters and create concise summaries of relevant conversations. This is particularly useful for retrieving information from past discussions, identifying recurring themes, or compiling key points from lengthy chat histories.

Overview

Chat Summarizer is an MCP server that connects to your chat message database and provides tools to query and summarize your conversation history. This allows you to extract valuable information from past conversations without having to manually search through them.

Prerequisites

Before using Chat Summarizer, you need to set up the chat database:

  1. Navigate to the chatbot directory in the repository
  2. Follow the instructions in the README to set up the chat database
  3. Start the chatbot to begin saving your chat messages

Installation

To use Chat Summarizer with Claude Desktop, you need to add the server configuration to your Claude Desktop config file:

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

Add the following configuration, replacing the paths with the actual paths on your system:

{
  "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"
      }
    }
  }
}

Setting Up for Development

If you want to modify or develop the server:

  1. Create a .env file in the root directory and set your chat database path:

    CHAT_DB_PATH=path-to/chatbot/data/chat.db
    
  2. Install dependencies:

    pnpm install
    
  3. Build the server:

    pnpm build
    
  4. For development with auto-rebuild:

    pnpm watch
    

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. It's recommended to use the MCP Inspector:

pnpm inspector

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

Usage

Once installed, you can use the query_chat_messages tool to search through your chat history and generate summaries. You can specify various parameters to narrow down your search and provide a prompt for summarization.

Example prompts you might use:

  • "Summarize all my conversations about project planning from last week"
  • "Find all discussions about machine learning and create a summary of key points"
  • "Extract all action items from my recent conversations with the development team"

Community Support

If you need help or want to connect with other users:

  • Join the MCP Server Telegram: https://t.me/+N0gv4O9SXio2YWU1
  • Join the MCP Server Discord: https://discord.gg/RsYPRrnyqg

Related MCPs

Knowledge Graph Memory
Knowledge & MemoryTypeScript

A persistent memory system using a local knowledge graph

MemoryMesh
Knowledge & MemoryTypeScript

A knowledge graph server for structured memory persistence in AI models

Cognee
Knowledge & MemoryPython

Knowledge management and retrieval system with code graph capabilities

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.