Twitch MCP Server
Twitch MCP 服务器
与 Twitch API 交互的模型上下文协议 (MCP) 服务器。该服务器利用 Twitch Helix API 检索频道信息、流详情、游戏数据等。
特征
获取频道信息(个人资料、描述、创建日期等)
获取流信息(标题、游戏、观众数量、开始时间等)
获取热门游戏列表
搜索类别/游戏
搜索频道
获取直播(可按游戏和语言过滤)
获取全球表情
获取全球聊天徽章
获取用户信息
从频道获取剪辑
获取聊天设置
获取指定频道的视频
从存档视频中获取评论(使用 GraphQL API)
Related MCP server: Twitch MCP Server
先决条件
Node.js(建议使用 v18 或更高版本)
Twitch 开发者账户
Twitch API 客户端 ID 和客户端密钥
Twitch GraphQL 客户端 ID(用于视频评论功能)
安装
使用 npm 安装包:
npm install @mtane0412/twitch-mcp-server配置
在Twitch 开发者控制台中创建新应用程序
设置以下环境变量:
# macOS/Linux
export TWITCH_CLIENT_ID="your_client_id"
export TWITCH_CLIENT_SECRET="your_client_secret"
# Windows (PowerShell)
$env:TWITCH_CLIENT_ID="your_client_id"
$env:TWITCH_CLIENT_SECRET="your_client_secret"或者,您可以创建一个.env文件:
TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secret用法
安装后,您可以通过运行以下命令开始使用服务器:
npx @mtane0412/twitch-mcp-server调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspect检查器将提供一个 URL 来访问浏览器中的调试工具。
执照
MIT 许可证
Available Tools
14 toolsget_channel_infoC
チャンネル情報を取得します
Inputs: channelName (required).
get_chat_settingsC
チャット設定を取得します
Inputs: channelName (required).
get_clipsC
クリップの情報を取得します
Inputs: channelName (required), limit.
get_gameC
特定のゲームの情報を取得します
Inputs: name (required).
get_global_badgesB
グローバルチャットバッジのリストを取得します
Inputs: no named parameters.
get_global_emotesB
グローバルエモートのリストを取得します
Inputs: no named parameters.
get_stream_infoC
配信情報を取得します
Inputs: channelName (required).
get_streamsC
現在ライブ配信中のストリームを取得します
Inputs: game, language, limit.
get_top_gamesC
人気のゲームのリストを取得します
Inputs: limit.
get_usersC
ユーザーの情報を取得します
Inputs: userNames (required).
get_video_commentsC
アーカイブ動画のコメントを取得します
Inputs: videoId (required), limit, cursor.
get_videosC
チャンネルのビデオを取得します
Inputs: channelName (required), limit.
search_categoriesC
ゲームやカテゴリーを検索します
Inputs: query (required), limit.
search_channelsC
チャンネルを検索します
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Every tool has a clearly distinct purpose targeting specific Twitch resources like channels, clips, games, streams, videos, and searches. The naming makes it unambiguous what each tool retrieves, with no functional overlap between tools.
All tools follow a consistent 'get_' or 'search_' verb prefix with descriptive noun patterns (e.g., get_channel_info, search_channels). This uniform snake_case naming convention makes the tool set predictable and easy to understand.
With 14 tools, this server is well-scoped for the Twitch domain, covering key resources like channels, streams, videos, games, and searches. Each tool earns its place by addressing a specific aspect of Twitch's API without being overwhelming.
The tool set provides comprehensive read-only coverage for retrieving Twitch data, including channels, streams, videos, games, and searches. A minor gap is the lack of write operations (e.g., posting comments or managing streams), but for a retrieval-focused server, it's highly complete.
Maintenance
Related MCP Connectors
Query your Twitch streams, events, supporters, raids & rankings from an AI assistant via OAuth.
Unofficial Twitch MCP — wraps the Twitch Helix API (read-only)
Manage your Twitch raid-train schedule from an AI assistant: claim, release & trade slots via OAuth.
StreamElements MCP server for ChatGPT, Claude and any AI agent: list chat commands, edit command, edit timer, edit store item, review tips, adjust loyalty points, resolve store redemption and remove song request in your own StreamElements account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to StreamElements yourself; Cotlet does not store your password and you need no StreamElements API key. About the official StreamElements API: StreamElements has a full REST API (kappa v2) with a documented OAuth2 flow, but no official MCP server (checked 17 Oct 2026). Its developer docs list the HTTP API, WebSockets and custom widgets. Setup and FAQ: https://cotlet.dev/integrations/streamelements-api-mcp-server
Related MCP Servers
- FlicenseBqualityDmaintenanceThis project is a fork and expansion of TomCools' Twitch MCP Server, which implements a Model Context Protocol (MCP) server that integrates with Twitch chat, allowing AI assistants like Claude to interact with your Twitch channel.101-
- -licenseNot gradedqualityNot gradedmaintenanceEnables access to Twitch API data for retrieving channel statistics, viewership information, stream status, and discovering channels and game categories. Provides real-time Twitch data including follower counts, current viewer numbers, and search functionality through natural language interactions.-
- AlicenseNot gradedqualityDmaintenanceA comprehensive Twitch MCP (Model Context Protocol) server providing chat moderation, stream management, and Twitch API integration for AI systems.4ISC
- AlicenseBqualityBmaintenanceProvides access to the Internet Game Database (IGDB) API, enabling users to search for video games, retrieve detailed game information including ratings and platforms, and discover trending and anticipated titles.45MIT