log-query-mcp
Allows searching messages by content across servers or channels, viewing message counts and top chatters, and listing all known channel names and IDs.
Supports regex or string search across channel logs, retrieving all messages from a user, ranking chatters by message count, and querying sub/bits/giftsub events.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@log-query-mcpsearch discord for 'deploy' in #dev-channel"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
log-query-mcp
MCP server exposing Discord and Twitch/Chatty chat log query tools to Claude Code.
Setup
npm install
cp .env.example .env
# Edit .env and set DISCORD_BOT_TOKENRegister with Claude Code (global):
claude mcp add discord-logs -- node /path/to/log-query-mcp/mcp-server.jsRelated MCP server: Claude Code History MCP Server
Twitch logs
Requires chatty-log-query checked out at ~/Projects/chatty-log-query. Reads Chatty log files from ~/.chatty/logs/.
Tools
Discord
Tool | Description |
| Search messages by content across server or channel |
| Message count and top chatters for a channel |
| List all known channel names and IDs |
Twitch (Chatty logs)
Tool | Description |
| Regex/string search across channel logs |
| All messages from a user in a channel |
| Rank chatters by message count |
| Query sub/bits/giftsub events |
Environment
Variable | Description |
| Bot token from Discord Developer Portal |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tenbux/log-query-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server