YouTube Transcript + YouTube Search MCP

YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
84%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,367Token(工具定義)
~1006 B典型回應大小
中等的注意力影響(128k 上下文的 1.07%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "youtube-transcript-and-youtube-search": {
      "url": "https://getyoutubetranscript.com/api/mcp"
    }
  }
}

遠端端點

https://getyoutubetranscript.com/api/mcpstreamable-http

它能做什麼

工具清單

工具(7)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢get_youtube_transcript(video_url, language, send_metadata, timestamps)

Use this when the user shares a YouTube video link or ID, or asks to summarize, explain, quote, translate, take notes on, or chat about a specific YouTube video, lecture, podcast, or talk. Returns the full spoken text (captions) as one block, plus the title and channel. Set timestamps to true when the user wants timestamps, wants to find or quote where something is said, or wants a timeline or chapter breakdown: each caption line then starts with its [m:ss] time. Accepts watch, youtu.be, Shorts, and live URLs. Do not use for non-YouTube videos or for files the user uploads. If a video has no captions, this returns an error: tell the user instead of guessing what the video says.

輸入結構描述

{
  "type": "object",
  "properties": {
    "video_url": {
      "type": "string",
      "description": "YouTube URL (full or short) or an 11-character video ID"
    },
    "language": {
      "description": "Language code, e.g. 'en', 'es'. Defaults to 'en'.",
      "type": "string"
    },
    "send_metadata": {
      "description": "Include title/author/thumbnail metadata. Defaults to true.",
      "type": "boolean"
    },
    "timestamps": {
      "description": "One line per caption, each starting with its [m:ss] start time. Defaults to false (one block of text).",
      "type": "boolean"
    }
  },
  "required": [
    "video_url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢search_youtube(query, search_type, continuation)

Use this when the user wants to find YouTube videos or channels on a topic, for example 'find lectures on linear algebra' or 'popular videos about the Apollo missions', before reading or comparing them. Returns each result's title, video ID, link, channel, views, length, and upload date. Pass `continuation` from a previous response for the next page. Does not return what a video says: call get_youtube_transcript with a result's video ID for that.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Search query. Required unless `continuation` is set.",
      "type": "string"
    },
    "search_type": {
      "description": "'video' (default) or 'channel'.",
      "type": "string",
      "enum": [
        "video",
        "channel"
      ]
    },
    "continuation": {
      "description": "Opaque token from a previous response - fetches the next page. Do not construct this yourself.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_channel_latest_videos(channel)

Use this when the user asks what a YouTube channel has posted recently, or wants a channel's details (name, description, links) with its newest uploads. Accepts an @handle, channel URL, or UC... ID. For a channel's full upload history use list_channel_videos; to find a topic inside one channel use search_channel_videos.

輸入結構描述

{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "Channel @handle, URL, or UC... id"
    }
  },
  "required": [
    "channel"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢search_channel_videos(channel, query, continuation)

Use this when the user wants videos from one specific YouTube channel about a topic, for example 'what has @hubermanlab said about sleep' or 'find the MIT OpenCourseWare videos on recursion'. Searches only inside that channel. Pass `continuation` from a previous response for the next page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "channel": {
      "description": "Channel @handle, URL, or UC... id. Required unless `continuation` is set.",
      "type": "string"
    },
    "query": {
      "description": "Query to search within the channel. Required unless `continuation` is set.",
      "type": "string"
    },
    "continuation": {
      "description": "Opaque token from a previous response - fetches the next page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_channel_videos(channel, continuation)

Use this when the user wants to browse a YouTube channel's uploads beyond its latest videos, for example to see a creator's older episodes or find a video they remember from that channel. Returns the channel's uploads (its Videos tab) one page at a time. Pass `continuation` from a previous response for the next page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "channel": {
      "description": "Channel @handle, URL, or UC... id. Required unless `continuation` is set.",
      "type": "string"
    },
    "continuation": {
      "description": "Opaque token from a previous response - fetches the next page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_playlist_videos(playlist, continuation)

Use this when the user shares a YouTube playlist, or wants to work through a course, lecture series, or podcast playlist video by video (for example to build study notes for each lecture). Returns the videos in playlist order, one page at a time. Pass `continuation` from a previous response for the next page.

輸入結構描述

{
  "type": "object",
  "properties": {
    "playlist": {
      "description": "Playlist URL or id. Required unless `continuation` is set.",
      "type": "string"
    },
    "continuation": {
      "description": "Opaque token from a previous response - fetches the next page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_credits

Use this when the user asks how many credits their getyoutubetranscript.com account has left, or after another tool reports the account has no credits remaining. Returns plan and top-up credit balances. Calling it does not use credits.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本7 個工具
已驗證未記錄版本7 個工具
已驗證未記錄版本6 個工具