YouTube Transcript Downloader
Clean YouTube transcripts for agents: single videos, channels, playlists, plus AI caption cleanup.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"transcripts": {
"url": "https://youtubetranscriptdownload.com/api/mcp"
}
}
}远程端点
https://youtubetranscriptdownload.com/api/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢get_transcript(video)
Get the full transcript of a single YouTube video as timestamped markdown. Read-only: fetches existing captions, modifies nothing. Requires an API key; each successful call charges 1 credit, including repeat calls for the same video, so reuse a transcript already in context instead of re-fetching. Videos without captions return an error and cost nothing. Rate limit: 5 requests per 10 seconds.
输入模式
{
"type": "object",
"properties": {
"video": {
"type": "string",
"description": "YouTube video ID (e.g. dQw4w9WgXcQ) or full video URL (youtube.com/watch?v=... or youtu.be/... forms)"
}
},
"required": [
"video"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"videoId": {
"type": "string",
"description": "YouTube video ID"
},
"title": {
"type": "string",
"description": "Video title"
},
"transcript": {
"type": "string",
"description": "Full transcript as timestamped markdown"
},
"creditsUsed": {
"type": "number",
"description": "Credits charged for this call"
},
"creditsRemaining": {
"type": "number",
"description": "Account balance after this call"
}
},
"required": [
"videoId",
"title",
"transcript",
"creditsUsed",
"creditsRemaining"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢polish_transcript(video)
Get a cleaned-up transcript of a YouTube video's auto-generated captions: punctuation and capitalisation restored, filler and false starts removed, paragraphs added, misheard names fixed, faithful to what was said. Use when raw captions are too messy to read or quote; for a plain transcript use get_transcript. Read-only; requires an API key. Each call charges credits by transcript length (about 3 per 1,000 words, minimum 5), including repeat calls, so keep the result in context. Human-uploaded captions (already clean) and transcripts over ~7,000 words return an error without charging. Rate limit: 5 requests per 10 seconds.
输入模式
{
"type": "object",
"properties": {
"video": {
"type": "string",
"description": "YouTube video ID (e.g. dQw4w9WgXcQ) or full video URL (youtube.com/watch?v=... or youtu.be/... forms)"
}
},
"required": [
"video"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"videoId": {
"type": "string",
"description": "YouTube video ID"
},
"title": {
"type": "string",
"description": "Video title"
},
"transcript": {
"type": "string",
"description": "Cleaned transcript as timestamped markdown"
},
"creditsUsed": {
"type": "number",
"description": "Credits charged for this call (scales by length)"
},
"creditsRemaining": {
"type": "number",
"description": "Account balance after this call"
}
},
"required": [
"videoId",
"title",
"transcript",
"creditsUsed",
"creditsRemaining"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_channel_transcripts(url, limit)
Get transcripts for a YouTube channel's most recent videos (newest first) as timestamped markdown, one section per video. Use for research across a creator's recent output; for one known video use get_transcript. Read-only; requires an API key. Charges 1 credit per video that returns a transcript, including repeat calls; videos without captions are skipped free. A 10-video call typically costs up to 10 credits, so start with a small limit. Rate limit: 5 requests per 10 seconds.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube channel URL or handle (e.g. https://www.youtube.com/@lexfridman or @lexfridman)"
},
"limit": {
"default": 10,
"description": "Number of most-recent videos to fetch, 1-50 (default 10). Upper bound on the credit charge for this call.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel name"
},
"totalVideos": {
"type": "number",
"description": "Videos attempted in this call"
},
"succeeded": {
"type": "number",
"description": "Videos that returned a transcript (each charged 1 credit)"
},
"failed": {
"type": "number",
"description": "Videos skipped without charge (no captions)"
},
"transcripts": {
"type": "string",
"description": "All transcripts as timestamped markdown, one section per video, divider-separated"
},
"creditsUsed": {
"type": "number",
"description": "Credits charged for this call"
},
"creditsRemaining": {
"type": "number",
"description": "Account balance after this call"
}
},
"required": [
"channel",
"totalVideos",
"succeeded",
"failed",
"transcripts",
"creditsUsed",
"creditsRemaining"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_playlist_transcripts(url, limit)
Get transcripts for the videos in a YouTube playlist (in playlist order) as timestamped markdown, one section per video. Use for working through a course, series, or curated list; for one known video use get_transcript. Read-only; requires an API key. Charges 1 credit per video that returns a transcript, including repeat calls; videos without captions are skipped free. A 10-video call typically costs up to 10 credits, so start with a small limit. Rate limit: 5 requests per 10 seconds.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube playlist URL (e.g. https://www.youtube.com/playlist?list=PLxxxxxx)"
},
"limit": {
"default": 10,
"description": "Number of videos to fetch from the start of the playlist, 1-50 (default 10). Upper bound on the credit charge for this call.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"description": "Playlist title"
},
"totalVideos": {
"type": "number",
"description": "Videos attempted in this call"
},
"succeeded": {
"type": "number",
"description": "Videos that returned a transcript (each charged 1 credit)"
},
"failed": {
"type": "number",
"description": "Videos skipped without charge (no captions)"
},
"transcripts": {
"type": "string",
"description": "All transcripts as timestamped markdown, one section per video, divider-separated"
},
"creditsUsed": {
"type": "number",
"description": "Credits charged for this call"
},
"creditsRemaining": {
"type": "number",
"description": "Account balance after this call"
}
},
"required": [
"playlist",
"totalVideos",
"succeeded",
"failed",
"transcripts",
"creditsUsed",
"creditsRemaining"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}社区
证据