yt_video_details
Pack: youtube · Endpoint: https://gateway.pipeworx.io/youtube/mcp
Get detailed information about one or more YouTube videos including title, description, channel, duration, view/like/comment counts, and tags.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | YouTube Data API v3 key from Google Cloud Console |
video_id | string | yes | Video ID or comma-separated list of video IDs (max 50) |
Example call
Arguments
{
"_apiKey": "your-youtube-api-key",
"video_id": "dQw4w9WgXcQ"
}
curl
curl -X POST https://gateway.pipeworx.io/youtube/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"yt_video_details","arguments":{"_apiKey":"your-youtube-api-key","video_id":"dQw4w9WgXcQ"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('yt_video_details', {
"_apiKey": "your-youtube-api-key",
"video_id": "dQw4w9WgXcQ"
});
More examples
{
"_apiKey": "your-youtube-api-key",
"video_id": "dQw4w9WgXcQ,9bZkp7q19f0"
}
Response shape
Always returns: videos
| Field | Type | Description |
|---|---|---|
videos | array | Array of video detail objects |
Full JSON Schema
{
"type": "object",
"properties": {
"videos": {
"type": "array",
"description": "Array of video detail objects",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Video ID"
},
"title": {
"type": "string",
"description": "Video title"
},
"description": {
"type": "string",
"description": "Video description"
},
"channel_title": {
"type": "string",
"description": "Channel title"
},
"channel_id": {
"type": "string",
"description": "Channel ID"
},
"published_at": {
"type": "string",
"description": "ISO 8601 publish date"
},
"tags": {
"type": "array",
"description": "Array of video tags",
"items": {
"type": "string"
}
},
"category_id": {
"type": "string",
"description": "YouTube category ID"
},
"thumbnail": {
"type": [
"string",
"null"
],
"description": "Default thumbnail URL"
},
"duration": {
"type": "string",
"description": "ISO 8601 duration string (e.g., PT5M30S)"
},
"definition": {
"type": "string",
"description": "Video definition (sd or hd)"
},
"view_count": {
"type": [
"number",
"null"
],
"description": "Total view count"
},
"like_count": {
"type": [
"number",
"null"
],
"description": "Total like count"
},
"comment_count": {
"type": [
"number",
"null"
],
"description": "Total comment count"
}
},
"required": [
"id",
"title",
"description",
"channel_title",
"channel_id",
"published_at",
"tags",
"category_id",
"thumbnail",
"duration",
"definition",
"view_count",
"like_count",
"comment_count"
]
}
}
},
"required": [
"videos"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"youtube": {
"url": "https://gateway.pipeworx.io/youtube/mcp"
}
}
}
See Getting Started for client-specific install steps.