twitch_get_videos
Pack: twitch · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/twitch_get_videos for the schema, then POST the same URL with its arguments for the data.
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 and thumbnail, plus next_cursor for the following page (null on the last page). Pass next_cursor back as after to continue. Example: twitch_get_videos({ login: “riotgames”, first: 20 })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
login | string | yes | Twitch username (login) of the channel, e.g. “riotgames”. A channel URL is accepted too. |
first | number | no | Number of videos to return per page (default 20, max 100) |
after | string | no | Cursor for the next page: the next_cursor value from the previous call. |
type | string | no | Video type filter: archive (past broadcasts), highlight, upload, or all (default). |
_apiKey | string | no |
Example call
Arguments
{
"login": "riotgames",
"first": 5
}
curl
curl -X POST https://gateway.pipeworx.io/twitch/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"twitch_get_videos","arguments":{"login":"riotgames","first":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('twitch_get_videos', {
"login": "riotgames",
"first": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
user_id | string | |
login | string | |
display_name | string | |
count | number | Videos on this page |
videos | array | |
next_cursor | string | null | Pass as after for the next page; null on the last page |
note | string | Present when the list is empty |
error | string | number | |
message | string |
Full JSON Schema
{
"type": "object",
"properties": {
"user_id": {
"type": "string"
},
"login": {
"type": "string"
},
"display_name": {
"type": "string"
},
"count": {
"type": "number",
"description": "Videos on this page"
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"type": {
"type": "string",
"description": "archive, highlight or upload"
},
"duration": {
"type": "string",
"description": "Twitch duration string, e.g. 3h8m33s"
},
"view_count": {
"type": "number"
},
"created_at": {
"type": "string"
},
"published_at": {
"type": "string"
},
"language": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
},
"stream_id": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"next_cursor": {
"type": [
"string",
"null"
],
"description": "Pass as `after` for the next page; null on the last page"
},
"note": {
"type": "string",
"description": "Present when the list is empty"
},
"error": {
"type": [
"string",
"number"
]
},
"message": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the twitch pack
{
"mcpServers": {
"twitch": {
"url": "https://gateway.pipeworx.io/twitch/mcp"
}
}
}
See Getting Started for client-specific install steps.