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
}社群
證據