twitch_get_clip
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_clip for the schema, then POST the same URL with its arguments for the data.
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 game id, language, creation time, thumbnail, and the source video id with the offset the clip starts at when the source video still exists. Example: twitch_get_clip({ clip: “AverageSparklyTortoisePeoplesChamp” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clip | string | yes | Clip slug, e.g. “AverageSparklyTortoisePeoplesChamp”, or a full clip URL (clips.twitch.tv/ |
_apiKey | string | no |
Example call
Arguments
{
"clip": "AverageSparklyTortoisePeoplesChamp"
}
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_clip","arguments":{"clip":"AverageSparklyTortoisePeoplesChamp"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('twitch_get_clip', {
"clip": "AverageSparklyTortoisePeoplesChamp"
});
Response shape
| Field | Type | Description |
|---|---|---|
slug | string | Clip slug (the clip id) |
title | string | |
view_count | number | |
duration | number | Clip length in seconds |
embed_url | string | Embed URL for an iframe player; add a parent parameter naming your domain |
url | string | Watch URL |
broadcaster_id | string | |
broadcaster_name | string | |
creator_id | string | |
creator_name | string | Who cut the clip |
game_id | string | null | |
language | string | |
created_at | string | |
thumbnail | string | |
video_id | string | null | Source video id; null once the source broadcast is gone |
vod_offset | number | null | Seconds into the source video where the clip starts |
is_featured | boolean | null | |
error | string | number | |
message | string |
Full JSON Schema
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Clip slug (the clip id)"
},
"title": {
"type": "string"
},
"view_count": {
"type": "number"
},
"duration": {
"type": "number",
"description": "Clip length in seconds"
},
"embed_url": {
"type": "string",
"description": "Embed URL for an iframe player; add a parent parameter naming your domain"
},
"url": {
"type": "string",
"description": "Watch URL"
},
"broadcaster_id": {
"type": "string"
},
"broadcaster_name": {
"type": "string"
},
"creator_id": {
"type": "string"
},
"creator_name": {
"type": "string",
"description": "Who cut the clip"
},
"game_id": {
"type": [
"string",
"null"
]
},
"language": {
"type": "string"
},
"created_at": {
"type": "string"
},
"thumbnail": {
"type": "string"
},
"video_id": {
"type": [
"string",
"null"
],
"description": "Source video id; null once the source broadcast is gone"
},
"vod_offset": {
"type": [
"number",
"null"
],
"description": "Seconds into the source video where the clip starts"
},
"is_featured": {
"type": [
"boolean",
"null"
]
},
"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.