ChatSum
Summarize chat messages from a local database file.
mcp-server-chatsum
This MCP Server is used to summarize your chat messages.
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
- 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
- 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
Related Servers
A2A Client MCP Server
An MCP server client for the Agent-to-Agent (A2A) protocol, enabling LLMs to interact with A2A agents.
Discord MCP
An MCP server for the Discord API, enabling seamless integration of Discord bots with MCP-compatible applications.
Hacker News MCP Server
Access Hacker News stories, comments, and user profiles using the Hacker News API.
Bluesky MCP Server
An MCP server for Bluesky that provides tools to interact with the ATProtocol.
CData Google Contacts
A read-only MCP server for Google Contacts, powered by the CData JDBC Driver.
Voice MCP
Enables voice interactions with Claude and other LLMs using an OpenAI API key for STT/TTS services.
MyMCPSpace
Access and interact with MyMCPSpace posts, replies, likes, and feeds.
Inbox MCP
An intelligent, LLM-powered email assistant using the Nylas v3 API.
Twilio
Interact with Twilio APIs to send messages, manage phone numbers, configure your account, and more.
Zulip Chat
An MCP server for integrating with the Zulip team chat platform.