@gamesme/chatlab-mcp-server
MCP server for ChatLab chat history (forked from upstream v0.19.0)
Versions
0.19.101latest0.19.1000.19.00.17.20.14.0Tools 16
get_stats_overview Returns statistical overview of a session: message counts, active members, time distribution. Returns plain text by default (set format=json for JSON).
get_members Lists all members in a session with their platformId, name, and role. Returns plain text by default (set format=json for JSON).
get_conversation_text Get conversation in plain text format with filtering and compression. Returns compact text optimized for LLM context (saves tokens vs JSON).
get_full_conversation Get full conversation across multiple pages, returns compact text format. Use for small to medium sessions only.
list_sessions Lists all imported chat sessions with name, platform, message count, and time range. Returns plain text by default (set format=json for JSON).
get_session Gets full details of a single session by ID. Returns plain text by default (set format=json for JSON).
execute_sql For statistical aggregation ONLY (COUNT, GROUP BY, SUM, AVG). Do NOT use to fetch message content — use get_messages for that. Max 200 rows returned. Available tables: message, member.
get_message_context Get N messages before and after one or more specific message IDs. Use when the user references
get_conversation_between Get messages between two specific members (interleaved by time). Use when the user asks
get_session_summaries Get AI-generated summaries of chat sub-sessions from the chat_session table. Use to quickly survey what topics have been discussed. Supports keyword filtering and time range. Returns text by default.
deep_search_messages Full-text search messages via FTS5, then expand each hit with surrounding context messages. Use for
get_time_stats Get message count distribution bucketed by hour, weekday, or day. Use for
get_member_activity Top members ranked by message count with percentage of total. Use for
get_member_name_history Get the historical name changes (account name, nickname) for a single member. Useful for tracking identity changes over time.
get_response_time_analysis Reply intervals between consecutive messages from different senders, grouped by (from, to) pair. Excludes same-sender continuations and gaps over 1 hour. Use for
keyword_frequency Word/keyword frequency analysis. Currently not implemented in the MCP server due to NLP dependency size; returns a stub message with alternative approaches.
Permissions 2
network medium env_vars low