How to connect Twitch to AI agents
checked by the operator
TL;DR
| Verdict | Official, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review |
|---|---|
| Who can use it | Individuals and organizations with a Twitch account (verified email and two-factor authentication required). Register an app in the developer console and you can start using it as an individual, with no review process. |
| Method | 公式API(REST) |
| Pricing | The API is free to use, and registering an app costs nothing. Rate limits use a token bucket of 800 points per minute (per Client ID for App Access Tokens; a separate bucket per Client ID and user for User Access Tokens. Most requests cost 1 point, but some endpoints cost more). |
| Risk | Granting a user token broad scopes lets it change channel information and perform moderation actions. Where you keep the Client Secret and tokens is effectively your line of defense. When reading third-party input such as chat messages or stream titles, there is also a risk that instructions planted in that text could induce write actions. |
There is no official MCP server, but the official API (Helix) and EventSub are publicly available for free. Register an app in the developer console and obtain an OAuth token, and you can read streams, channels and clips — and, depending on the scopes granted, also write, including sending chat messages and moderation actions.
| Authentication | OAuth 2.0 (Client ID / Client Secret from app registration. App Access Token for public data; scoped User Access Token for user data) |
|---|---|
| Checked by the operator | 2026.12.05 |
| How the operator checked | Checked against official documentation |
Official MCP and AI guides
- Official MCP serverNo
Twitch 公式の MCP サーバーはない。MCP の公式レジストリと Twitch の開発者ドキュメントのどちらにも掲載がない(2026-12-05 確認)。MCP で使いたい場合は非公式サーバーか、公式 API を自分で MCP 化する形になる
- Official guide for AI agentsNo
開発者ドキュメント(dev.twitch.tv/docs)に API リファレンスとガイドはあるが、AI・エージェント向けの専用ガイドや llms.txt はない
Connectors
Official connectors from AI services
Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot
Third-party integration services
トリガー(配信開始、指定した配信者の配信開始)と、Twitch API への GET / 変更リクエストのアクションがある。Zapier MCP 経由でエージェントからも実行できる
Make の Twitch アプリ(Make が保守)。チャンネルの取得、フォロワー一覧、ユーザーのブロック/ブロック解除、動画の削除などのモジュールがある。Make の公式 MCP サーバー経由でエージェントからも利用できる
Twitch のサービスがあり、配信開始や新規フォロワーなどのトリガーを中心に13件の triggers / queries / actions が使える(2026年12月確認)。Twitch 側への書き込みアクションはない
Pipedream の Twitch アプリ。新規フォロワー(Instant)、新規クリップ、フォロー中配信の開始などのトリガーと、検索・動画取得などのアクションがある。Pipedream の公式 MCP サーバー経由でも利用できる
Composio に Twitch ツールキットがあり、ツール約30件(EventSub の購読管理、チャット関連、フォロワー数・スケジュール取得など)。Composio 経由の MCP 接続もできる。認証は Composio 管理の OAuth
Not supported: n8n, Power Automate, Yoom
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
個人開発のローカル MCP サーバー(npm パッケージ @mtane0412/twitch-mcp-server、tool 14件)。Helix API でチャンネル・配信・ゲーム・クリップ・チャット設定などを読み取る。一部(アーカイブ動画のコメント取得)は、Twitch が公開 API として提供していない GraphQL エンドポイントを使い、その機能には別途 GraphQL 用のクライアント ID 設定が要る。環境変数 TWITCH_CLIENT_ID / TWITCH_CLIENT_SECRET が必要。Glama 上の保守評価は活発ではない(Activity: Inactive)
Python 製の個人開発 MCP サーバー(pip パッケージ twitch-mcp、tool 110件超。数値は PyPI ページの記載による)。Helix API のほぼ全体を tool 化しており、読み取りに加えてチャット送信、モデレーション(BAN など)、投票・予測の作成、チャンネル情報の変更までできる
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Third-party integrationZapierOfficial from the integration service
Permissions required Read and write Zapier に接続した Twitch アカウントの権限で API を呼ぶ。変更リクエストのアクションでは書き込みも可能
Terms of service No issues 公式 API の利用範囲内。API の利用は開発者規約に従う
Source: relevant section of the terms
Data path Zapier のサーバーを経由する。OAuth の認可とトークンの更新は Zapier が代行する - Third-party integrationMakeOfficial from the integration service
Permissions required Read and write Make に OAuth で接続したアカウントの権限の範囲
Terms of service No issues 公式 API の利用範囲内。API の利用は開発者規約に従う
Source: relevant section of the terms
Data path Make のサーバーを経由して Twitch の API を呼ぶ - Third-party integrationIFTTTOfficial from the integration service
Permissions required Read only IFTTT に OAuth で接続したアカウントの範囲。トリガー/クエリ中心で、Twitch 側への書き込みアクションはない
Terms of service No issues 公式 API の利用範囲内。API の利用は開発者規約に従う
Source: relevant section of the terms
Data path IFTTT のサーバーを経由する - Third-party integrationPipedreamOfficial from the integration service
Permissions required Read and write Pipedream に OAuth で接続したアカウントの権限の範囲
Terms of service No issues 公式 API の利用範囲内。API の利用は開発者規約に従う
Source: relevant section of the terms
Data path Pipedream のサーバーを経由して Twitch の API を呼ぶ - Third-party integrationComposioOfficial from the integration service
Permissions required Read and write Composio に OAuth で接続したアカウントの権限の範囲
Terms of service No issues 公式 API の利用範囲内。API の利用は開発者規約に従う
Source: relevant section of the terms
Data path Composio のサーバーを経由する。OAuth の認可とトークン管理は Composio が代行する - Unofficial MCPtwitch-mcp-server(mtane0412)Third party (unofficial)
Permissions required Read only 自分のアプリの Client ID / Client Secret を渡す(読み取り中心)。ただし GraphQL を使う機能は、公開 API の権限の枠の外の挙動になる
Terms of service Conditional Helix API の利用は開発者規約の範囲内。ただし GraphQL エンドポイントは Twitch が開発者向けに公開している API ではなく、その機能は使わないことが条件
Source: relevant section of the terms
Data path 手元で動き、Twitch の API に直接つながる。サーバー自体はデータを保存しない設計(ソースコード確認ベース)。取得したデータは、接続した LLM プロバイダーのクラウドへ送られ、会話履歴等に残りうる - Unofficial MCPtwitch-mcp(PyPI)Third party (unofficial)
Permissions required Read and write ユーザーのアクセストークンと、チャット・モデレーション・チャンネル編集など広いスコープを渡す
Terms of service Conditional 公式 API(Helix)の利用範囲内で、規約上の問題は確認できなかった。広いスコープの付与は規約ではなく運用・セキュリティ上のリスク
Source: relevant section of the terms
Data path 手元で動き、Twitch の API に直接つながる。取得したデータは、接続した LLM プロバイダーのクラウドへ送られ、会話履歴等に残りうる
Data you can fetch within the terms of service
Twitch API(Helix / EventSub)と Twitch のコンテンツ全般
- ScrapingProhibited
利用規約で、データマイニング、ロボット、その他類似の収集・抽出手段の使用が禁止されている。開発者規約(Developer Services Agreement)の Schedule 1 では、Twitch コンテンツの再配布・再配信の禁止、保存は原則として24時間以内のキャッシュなどに限ること、キーの秘密保持が定められている
- Fetching with the agent's own browser
There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.
Usage
How to connect
- Enable email verification and two-factor authentication on your Twitch account
- Register an app in the developer console (dev.twitch.tv/console) and obtain a Client ID and Client Secret
- For public data only, issue an App Access Token via client credentials. For user data, have the user authorize only the scopes you need
- Call the Helix API with the Authorization: Bearer <token> and Client-Id headers. Subscribe to EventSub if you need event notifications
Setup examples
Paste these as they are. Replace the API key, domain and similar values with your own.
curl -X POST "https://id.twitch.tv/oauth2/token" \
-d "client_id=CLIENT_ID" \
-d "client_secret=<redacted>" \
-d "grant_type=client_credentials"CLIENT_ID / CLIENT_SECRET は、開発者コンソールで登録したアプリのものに置きかえる。返ってきた App Access Token で公開データを読める
Official page checked: https://dev.twitch.tv/docs/api/guide/
curl "https://api.twitch.tv/helix/streams?user_login=streamer-name" \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Client-Id: CLIENT_ID"Helix の呼び出しには Authorization と Client-Id の両ヘッダーが必須。ACCESS_TOKEN は取得したトークン、CLIENT_ID はアプリのもの、streamer-name は調べたい配信者のログイン名
Official page checked: https://dev.twitch.tv/docs/api/reference/
Limiting the features
https://id.twitch.tv/oauth2/authorize?client_id=your-client-id&redirect_uri=http://localhost:3000&response_type=code&scope=moderator:read:followersフォロワー一覧の取得だけなら、スコープは moderator:read:followers のみに絞る。公開データだけなら、そもそもユーザートークンを使わず App Access Token(クライアントクレデンシャル)で読む
Official page checked: https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/
配信の状態とクリップを調べる
この配信者が今ライブ中か確認して、直近1週間のクリップを人気順に並べて
Get Streams で指定ユーザーの配信状態、Get Clips で期間内のクリップを取得できる。公開データは App Access Token で足りる
フォロワー一覧を取る
自分のチャンネルのフォロワーを新しい順に一覧にして
Get Channel Followers は、配信者本人またはモデレーターのユーザートークン(moderator:read:followers)でのみ一覧を返し、それ以外は総数のみ。一覧は1回最大100件で、続きは after カーソルでたどる
Pitfalls and tips
Pitfalls
- Keep the Client Secret on the server side. Putting it in client-side code or a public repository can lead to app takeover or key revocation
- The rate limit is 800 points per minute (per Client ID for App Access Tokens; per Client ID plus user for User Access Tokens). Space out polling and control request rates using the Ratelimit-Remaining / Ratelimit-Reset headers
- Some data, such as the follower list, requires a user token from the broadcaster or a moderator with a dedicated scope; an App Access Token returns only the total count
- The Developer Agreement generally prohibits selling, sharing or redistributing Twitch data, and storage is limited in principle to caches of up to 24 hours. Designs that keep data long-term in the run history of tools like Zapier, or in transfer destinations, may also breach this limit
- The private GraphQL endpoint used by the website (gql.twitch.tv) is not a public API. The Terms of Service themselves prohibit data mining and collection by robots
- User tokens expire after about 4 hours (renew them with a refresh token). The token that lasts about 60 days is the App Access Token, which cannot be refreshed and must be re-issued. Validating tokens (oauth2/validate) at app startup and hourly is an official requirement
Tips
- For having an agent read stream data, the official API is the main route: use App Access Tokens for public data and a narrowly scoped user token for managing your own channel
- If you only need notifications and integrations without writing code, Zapier / Make / IFTTT are faster
- If you want to use it over MCP, only unofficial servers exist, so start with a read-only one
Test environment and change history
| How it was checked | Checked against official documentation |
|---|---|
| Clients tried | Not yet tried with a real client |
公式ドキュメント(API ガイド、アプリ登録、API リファレンス)と開発者規約で確認。実機での接続はしていない
Change history
- 初版
Sources
Official and primary sources
Pages published by the service provider, the integration provider or the MCP author about their own product.
- Twitch API ガイド(Twitch Developers)API の認証方式とレート制限(800ポイント/分)の根拠, checked 2026.12.05
- アプリの登録(Twitch Developers)アプリ登録の手順と2要素認証の要件の根拠, checked 2026.12.05
- Twitch API リファレンスHelix のエンドポイントと必要スコープの根拠, checked 2026.12.05
- Twitch Developer Services Agreementデータの保存・再配布の制限とキーの秘密保持の根拠, checked 2026.12.05
- Twitch 連携(Zapier)Zapier のトリガーとアクションの根拠, checked 2026.12.05
- Twitch 連携(Make)Make の Twitch モジュールの根拠, checked 2026.12.05
- Twitch 連携(IFTTT)IFTTT の Twitch トリガーと Applet の根拠, checked 2026.12.05
- Twitch 連携(Pipedream)Pipedream の Twitch アプリ(トリガー/アクション)の根拠, checked 2026.12.05
- Twitch 利用規約データマイニング・ロボットによる収集の禁止の根拠, checked 2026.12.05
- Twitch ツールキット(Composio)Composio の Twitch ツールキット(約30ツール、Composio 管理 OAuth)の根拠, checked 2026.12.05
- Twitch アプリ(Pipedream)Pipedream の Twitch アプリのページ, checked 2026.12.05
- Twitch ツールキット(Composio)Composio の Twitch ツールキットのページ, checked 2026.12.05
- OAuth トークンの取得(Twitch Developers)OAuth トークン取得とスコープ指定の根拠, checked 2026.12.05
References (third-party write-ups)
Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.
- Twitch MCP Server(Glama)非公式 MCP(mtane0412)の tool 一覧と保守状況の根拠, checked 2026.12.05
- twitch-mcp(PyPI)非公式 MCP(twitch-mcp)の tool 構成の根拠, checked 2026.12.05
