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

NameTypeRequiredDescription
clipstringyesClip slug, e.g. “AverageSparklyTortoisePeoplesChamp”, or a full clip URL (clips.twitch.tv/ or twitch.tv//clip/).
_apiKeystringno

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

FieldTypeDescription
slugstringClip slug (the clip id)
titlestring
view_countnumber
durationnumberClip length in seconds
embed_urlstringEmbed URL for an iframe player; add a parent parameter naming your domain
urlstringWatch URL
broadcaster_idstring
broadcaster_namestring
creator_idstring
creator_namestringWho cut the clip
game_idstring | null
languagestring
created_atstring
thumbnailstring
video_idstring | nullSource video id; null once the source broadcast is gone
vod_offsetnumber | nullSeconds into the source video where the clip starts
is_featuredboolean | null
errorstring | number
messagestring
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.

Regenerated from source · build December 2, 2026