youtube
YouTube: YouTube Data API, you can add various YouTube features to your app. Use the API for.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"youtube": {
"url": "https://mcp.jojapi.com/youtube"
}
}
}远程端点
https://mcp.jojapi.com/youtubestreamable-http它能做什么
工具清单
工具(20)
🟢get_v1_auto_complete(gl, hl, q)
Auto Complete Group: Explore. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"q": {
"type": "string",
"title": "Query",
"example": "desp"
}
},
"additionalProperties": false
}🟢get_v1_search(cursor, gl, hl, q)
Search Group: Explore. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"q": {
"type": "string",
"example": "despacito"
}
},
"additionalProperties": false
}🟢get_v2_trending
Trending Group: Explore. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_v1_home(cursor, gl, hl)
Home Group: Explore. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
}
},
"additionalProperties": false
}🟢get_v1_channel_details(id, gl, hl)
Channel Details Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg",
"description": "Starts with the UC prefix"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
}
},
"additionalProperties": false
}🟢get_v1_channel_videos(id, cursor, filter, gl, hl)
Channel Videos Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg"
},
"cursor": {
"type": "string",
"title": "Cursor token"
},
"filter": {
"type": "string",
"enum": [
"videos_latest",
"streams_latest",
"shorts_latest",
"live_now"
],
"example": "videos_latest"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
}
},
"additionalProperties": false
}🟡post_channel_videos(body)
Channel Videos Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"id\":\"UCJ5v_MCY6GNUBTO8-D3XoAg\",\"filter\":\"videos_latest\",\"cursor\":\"\",\"hl\":\"en\",\"gl\":\"US\"}"
}
},
"additionalProperties": false
}🟢get_v1_channel_playlists(cursor, filter, gl, hl, id)
Channel Playlists Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"filter": {
"type": "string",
"example": "all_collections"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg"
}
},
"additionalProperties": false
}🟢get_v1_channel_community(cursor, id)
Channel Community Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg"
}
},
"additionalProperties": false
}🟢get_v1_channel_channels(cursor, filter, gl, hl, id)
Channel Channels Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"filter": {
"type": "string",
"example": "all_collections"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg"
}
},
"additionalProperties": false
}🟢get_v1_channel_search(cursor, gl, hl, id, q)
Channel Search Group: Channel. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Channel ID",
"example": "UCJ5v_MCY6GNUBTO8-D3XoAg"
},
"q": {
"type": "string",
"title": "Search query",
"example": "john cena"
}
},
"additionalProperties": false
}🟢get_v1_video_details(gl, hl, id)
Video Details Group: Video. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Video ID",
"example": "kJQP7kiw5Fk"
}
},
"additionalProperties": false
}🟢get_v2_video_details(video_id, hl)
Video Details (v2) Group: Video. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"example": "kJQP7kiw5Fk"
},
"hl": {
"type": "string",
"example": "en"
}
},
"additionalProperties": false
}🟢get_v1_video_comments(cursor, gl, hl, id)
Video Comments Group: Video. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Video ID",
"example": "kJQP7kiw5Fk"
}
},
"additionalProperties": false
}🟢get_v1_video_streaming_data(id)
(Some videos may be protected.) Group: Video. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Video ID",
"example": "VyHV0BRtdxo"
}
},
"additionalProperties": false
}🟢get_v1_video_related_contents(cursor, gl, hl, id)
Video Related Contents Group: Video. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Video ID",
"example": "kJQP7kiw5Fk"
}
},
"additionalProperties": false
}🟢get_v1_playlist_details(gl, hl, id)
Playlist Details Group: Playlist. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Playlist ID",
"example": "PLcirGkCPmbmFeQ1sm4wFciF03D_EroIfr"
}
},
"additionalProperties": false
}🟢get_v1_playlist_videos(cursor, gl, hl, id)
Playlist Videos Group: Playlist. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token"
},
"gl": {
"type": "string",
"example": "US"
},
"hl": {
"type": "string",
"example": "en"
},
"id": {
"type": "string",
"title": "Playlist ID",
"example": "PLcirGkCPmbmFeQ1sm4wFciF03D_EroIfr"
}
},
"additionalProperties": false
}🟡get_v1_community_post_details(id)
Community Post Details Group: Community Post. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Community post ID",
"example": "UgkxCWeKPiIOLsnh_5a0MPHWCmYgbhifgwIZ"
}
},
"additionalProperties": false
}🟡get_v1_community_post_comments(cursor)
Community Post Comments Group: Community Post. Billing per call: 1 Credits.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"title": "Cursor token",
"description": "You can get it from the Community Post Details endpoint."
}
},
"additionalProperties": false
}社区
证据