@pipeworx/twitch
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/twitch’s. Install: one-click buttons
Connect to just the @pipeworx/twitch pack
https://gateway.pipeworx.io/twitch/mcp — only @pipeworx/twitch’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 6
Twitch MCP — live streams, channels, clips and videos from Twitch’s official Helix API. Read-only. Works with the shared Pipeworx credential; bring your own for higher limits.
Tools
top_games(first?)— the games being streamed right now, ranked by viewers: id, name, box art.get_streams(game?, language?, first?)— live streams, optionally for one game (by NAME, resolved to its id for you) and one language: streamer, title, viewer count, start time, thumbnail.search_channels(query, live_only?, first?)— channels matching a name or keyword, with whether each is live now.twitch_get_user(login)— a channel profile: id, login, display name, description, broadcaster type (partner,affiliateor empty), account type (staff,admin,global_mod, oruserfor an ordinary account), creation date, profile image, andoffline_image(the banner shown when the channel is not live;nullwhen the channel has none).twitch_get_clip(clip)— one clip by slug or clip URL:slug,title,view_count,duration(seconds),embed_url,url, broadcaster, clip creator, game id, language, creation time, thumbnail, and the sourcevideo_idwithvod_offset.twitch_get_videos(login, first?, after?, type?)— a channel’s videos, newest first: id, title, URL, type (archive,highlight,upload), duration, view count, publish time, language, thumbnail.next_cursorcarries the following page; pass it back asafter. It isnullon the last page.
Auth
Twitch uses the OAuth client-credentials grant. _apiKey is optional on every tool; omit it to use
the shared Pipeworx credential. To use your own, register an application in the Twitch developer
console and pass _apiKey as CLIENT_ID:CLIENT_SECRET. The pack exchanges it for a short-lived app
token on each call and never stores it.
Notes and traps
- A clip is addressed by slug, and callers usually hold a URL.
twitch_get_cliptakes the bare slug,clips.twitch.tv/<slug>,twitch.tv/<channel>/clip/<slug>or the embed URL. A deleted clip answersnot_found. embed_urlneeds aparentparameter naming the embedding site’s domain before Twitch will play it in an iframe. The URL returned is the one Twitch gives; add&parent=<your domain>.- A clip’s source video expires.
video_idandvod_offsetarenullonce the broadcast the clip was cut from is gone. The clip itself keeps playing. - Past broadcasts expire (7 to 60 days depending on the channel’s status) and many channels keep
none, so
twitch_get_videoscan truthfully return zero for a channel that streams daily. The answer then carriescount: 0and anotesaying the channel exists, so an empty list is not mistaken for a failed lookup. An unknown login answersnot_found. - Video
durationis Twitch’s own string (3h8m33s), not seconds. Clipdurationis seconds. view_counton a profile is deprecated by Twitch and reads 0 for most channels. It is passed through as sent. Follower counts need a user token and are not available to an app credential.- An app token reads public data only: no subscriber lists, no follower lists, no chat.
Data sources
- Twitch — Helix API (official)
Tools
- top_games — Get the top games currently being streamed on Twitch, ranked by number of viewers. Returns game id, name, and box art. Example: top_games({ first: 20 })
- get_streams — Get live Twitch streams, optionally filtered by game name and/or language. Returns streamer name, title, current viewer count, and thumbnail for each live stream. Omit
gamefor the overall top live - search_channels — Search Twitch channels/streamers by name or keyword. Returns matching channels with display name, the game they stream, whether they are live now, title, and thumbnail. Example: search_channels({ quer
- twitch_get_user — Look up a Twitch user/channel by login (username). Returns profile info: id, display name, description, view count, broadcaster type (partner, affiliate or neither), account type (staff, admin, global
- twitch_get_clip — Get one Twitch clip by its slug or its clip URL. Returns the slug, title, view count, duration in seconds, the embed URL for an iframe player, the watch URL, the broadcaster and the clip creator, the
- twitch_get_videos — List the videos on a Twitch channel by login (username): past broadcasts, highlights and uploads, newest first. Returns each video id, title, URL, type, duration, view count, publish time, language an
Tools
get_streams— Get live Twitch streams, optionally filtered by game name and/or language. Returns streamer name, title, current viewer count, and thumbnail for each live stream. Omit `game` for the overall top livesearch_channels— Search Twitch channels/streamers by name or keyword. Returns matching channels with display name, the game they stream, whether they are live now, title, and thumbnail. Example: search_channels({ quertop_games— Get the top games currently being streamed on Twitch, ranked by number of viewers. Returns game id, name, and box art. Example: top_games({ first: 20 })twitch_get_clip— Get one Twitch clip by its slug or its clip URL. Returns the slug, title, view count, duration in seconds, the embed URL for an iframe player, the watch URL, the broadcaster and the clip creator, thetwitch_get_user— Look up a Twitch user/channel by login (username). Returns profile info: id, display name, description, view count, broadcaster type (partner, affiliate or neither), account type (staff, admin, globaltwitch_get_videos— List the videos on a Twitch channel by login (username): past broadcasts, highlights and uploads, newest first. Returns each video id, title, URL, type, duration, view count, publish time, language an