Cover image
Try Now
5 天前

Query and Summarize your chat messages.

3 years

Works with Finder

8

Github Watches

85

Github Forks

897

Github Stars

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

相关推荐

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Beria Joey
  • 你的职业规划师,不走弯路就问我。Sponsor:小红书“ ItsJoe就出行 ”

  • Benedikt Ess
  • FindetundanalysiertOnlineProdukteeinschlielichAmazonnachVolumenBewertungenundPreis

  • pontusab
  • The Cursor & Windsurf community, find rules and MCPs

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • GeyserMC
  • A library for communication with a Minecraft client/server.

  • awslabs
  • AWS MCP Servers — specialized MCP servers that bring AWS best practices directly to your development workflow

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(数据处理、模型训练、模型部署、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • appcypher
  • Awesome MCP Servers - A curated list of Model Context Protocol servers

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • idosal
  • Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

    Reviews

    3 (1)
    Avatar
    user_w4FVNrga
    2025-04-17

    As a loyal user of mcp-server-chatsum, I must say this product revolutionizes chat summarization! Developed by chatmcp, it’s a robust tool available at https://github.com/chatmcp/mcp-server-chatsum. Efficient and language versatile, it starts with a welcoming interface and performs seamlessly. Highly recommend for anyone needing concise and accurate chat summaries!