Skip to content
Back to search

mcp-server-chatsum

Query and Summarize your chat messages.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/chatmcp--mcp-server-chatsum/badge.svg)](/listings/chatmcp--mcp-server-chatsum)

HTML

<a href="/listings/chatmcp--mcp-server-chatsum"><img src="/api/listings/chatmcp--mcp-server-chatsum/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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](https://github.com/modelcontextprotocol/inspector), which is available as a package script:

pnpm inspector

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 93 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # mcp-server-chatsum
  2. This MCP Server is used to summarize your chat messages.
  3. [中文说明](README_CN.md)
  4. ![preview](./preview.png)
  5. > **Before you start**
  6. >
  7. > move to [chatbot](./chatbot) directory, follow the [README](./chatbot/README.md) to setup the chat database.
  8. >
  9. > start chatbot to save your chat messages.
  10. ## Features
  11. ### Resources
  12. ### Tools
  13. - `query_chat_messages` - Query chat messages
  14. - Query chat messages with given parameters
  15. - Summarize chat messages based on the query prompt
  16. ### Prompts
  17. ## Development
  18. 1. Set up environment variables:
  19. create `.env` file in the root directory, and set your chat database path.
  20. ```txt
  21. CHAT_DB_PATH=path-to/chatbot/data/chat.db
  22. ```
  23. 2. Install dependencies:
  24. ```bash
  25. pnpm install
  26. ```
  27. Build the server:
  28. ```bash
  29. pnpm build
  30. ```
  31. For development with auto-rebuild:
  32. ```bash
  33. pnpm watch
  34. ```
  35. ## Installation
  36. To use with Claude Desktop, add the server config:
  37. On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
  38. On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
  39. ```json
  40. {
  41. "mcpServers": {
  42. "mcp-server-chatsum": {
  43. "command": "path-to/bin/node",
  44. "args": ["path-to/mcp-server-chatsum/build/index.js"],
  45. "env": {
  46. "CHAT_DB_PATH": "path-to/mcp-server-chatsum/chatbot/data/chat.db"
  47. }
  48. }
  49. }
  50. }
  51. ```
  52. ### Debugging
  53. Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:
  54. ```bash
  55. pnpm inspector
  56. ```
  57. The Inspector will provide a URL to access debugging tools in your browser.
  58. ## Community
  59. - [MCP Server Telegram](https://t.me/+N0gv4O9SXio2YWU1)
  60. - [MCP Server Discord](https://discord.gg/RsYPRrnyqg)
  61. ## About the author
  62. - [idoubi](https://bento.me/idoubi)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.