TranscriptYT
YouTube transcripts for AI agents: text, JSON, SRT, or VTT in 150+ languages, with AI fallback.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"transcriptyt": {
"url": "https://transcript-yt.com/mcp"
}
}
}远程端点
https://transcript-yt.com/mcpstreamable-http它能做什么
工具清单
工具(13)
🟢get_transcript(url, language, translate_to, format, timestamps, ...)
Fetch the transcript of a public YouTube video. Accepts a full URL or an 11-character video ID. Defaults to Markdown (title + text), which is the most compact format for reading or summarizing. Use json for timestamped segments, srt/vtt for subtitle files. Costs 1 credit on success; videos without captions (up to 9 hours long) are AI-transcribed at 1 credit per started minute (paid plans and credit packs; Free reads captions only).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube URL or video ID"
},
"language": {
"description": "Preferred caption language (BCP-47, e.g. en, es, pt-BR)",
"type": "string"
},
"translate_to": {
"description": "Translate the transcript into this language",
"type": "string"
},
"format": {
"default": "md",
"description": "Output format",
"type": "string",
"enum": [
"json",
"text",
"srt",
"vtt",
"csv",
"md"
]
},
"timestamps": {
"default": false,
"description": "Prefix lines with timestamps (text/md)",
"type": "boolean"
},
"original_language": {
"description": "Prefer the spoken language's captions over English",
"type": "boolean"
},
"start_time": {
"description": "Only return the part from this second on",
"type": "number"
},
"end_time": {
"description": "Only return the part before this second",
"type": "number"
},
"search": {
"description": "Only return lines containing this text",
"type": "string"
},
"mode": {
"default": "auto",
"description": "auto: captions, AI-transcribed audio if there are none. captions: never AI. ai: always transcribe the audio (1 credit per started minute). AI needs a paid plan or credit pack",
"type": "string",
"enum": [
"auto",
"captions",
"ai"
]
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_languages(url)
List the caption tracks available for a YouTube video. Free, and does not use credits.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube URL or video ID"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_playlist_videos(url, limit)
List the videos in a YouTube playlist, or a channel's uploads (newest first), with titles and durations. Accepts playlist links or IDs and channel links or @handles. Free on paid plans; Free plan: 10 a day, then 1 credit.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Playlist URL/ID, or channel URL/@handle"
},
"limit": {
"default": 50,
"description": "Maximum videos to return",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_youtube(query, channel, limit, upload_date)
Search YouTube for videos, or search within one channel by passing its link or @handle. Returns video IDs, titles, channels, durations, and view counts. Free on paid plans; Free plan: 10 a day, then 1 credit.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search terms"
},
"channel": {
"description": "Only search this channel (URL, channel ID, or @handle)",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum videos to return",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"upload_date": {
"description": "Only videos uploaded within this window (ignored with channel)",
"type": "string",
"enum": [
"hour",
"today",
"week",
"month",
"year"
]
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_video(url)
Metadata for one YouTube video: title, description, channel, publish date, duration, view and like counts, tags, category, thumbnails, live status, and chapters. Free on paid plans; Free plan: 10 lookups a day (shared with search and playlists), then 1 credit.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube URL or video ID"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_channel(channel)
Details for a YouTube channel (name, handle, description, subscriber, view, and video counts, country, join date, avatar, banner) and its 15 newest uploads. Free on paid plans; Free plan: 10 lookups a day (shared with search and playlists), then 1 credit.
输入模式
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"description": "Channel URL, channel ID, or @handle"
}
},
"required": [
"channel"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_comments(url, sort, limit, cursor, replies_to)
Comments on a YouTube video with author, likes, reply count, and pinned/hearted flags. Pass nextCursor back as cursor for more, or a comment's repliesCursor as replies_to for its replies. Costs 1 credit per call.
输入模式
{
"type": "object",
"properties": {
"url": {
"description": "YouTube URL or video ID (not needed with cursor or replies_to)",
"type": "string"
},
"sort": {
"default": "top",
"description": "top or new",
"type": "string",
"enum": [
"top",
"new"
]
},
"limit": {
"default": 20,
"description": "Maximum comments to return",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "nextCursor from a previous call",
"type": "string"
},
"replies_to": {
"description": "A comment's repliesCursor, to list its replies",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢summarize_video(url, language, translate_to)
Summary, key points, and timestamped study notes for a public YouTube video, generated from its transcript. Written in the transcript's language (translate_to changes which transcript is summarized). Costs 1 credit for the transcript plus 1 for the summary (2 total) for most videos; long videos cost about 1 more per further 45 minutes.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "YouTube URL or video ID"
},
"language": {
"description": "Preferred caption language (BCP-47, e.g. en, es, pt-BR)",
"type": "string"
},
"translate_to": {
"description": "Summarize a translation of the transcript into this language",
"type": "string"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢research_topic(query, videos, upload_date, channel, language, ...)
Search YouTube for a topic and return the transcripts of the top videos in one call, each with its title, channel, and link, so you can compare what several creators say. Timestamps are kept so answers can cite moments. Costs 1 credit per transcript returned (captions only; videos without captions are skipped). Use upload_date for recent coverage.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Topic or search terms"
},
"videos": {
"default": 5,
"description": "How many videos to read",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"upload_date": {
"description": "Only videos uploaded within this window",
"type": "string",
"enum": [
"hour",
"today",
"week",
"month",
"year"
]
},
"channel": {
"description": "Only this channel (URL, channel ID, or @handle)",
"type": "string"
},
"language": {
"description": "Preferred caption language (BCP-47)",
"type": "string"
},
"max_chars_per_video": {
"default": 12000,
"description": "Trim each transcript to this many characters",
"type": "integer",
"minimum": 1000,
"maximum": 60000
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢watch_youtube(channel, query, email, webhook_url, ai, ...)
Get the transcript of every new video from a YouTube channel, or every new video matching a search phrase, delivered by email and/or webhook. Checked hourly; videos already published are skipped. Each new video's transcript costs 1 credit. Paid plans and credit packs only. With keywords, only videos where a keyword is spoken are delivered, with each mention's quote and timestamp link (every new video's transcript is still charged, match or not). Give exactly one of channel or query.
输入模式
{
"type": "object",
"properties": {
"channel": {
"description": "Channel URL, channel ID, or @handle",
"type": "string"
},
"query": {
"description": "Search phrase to watch for (e.g. a brand name)",
"type": "string"
},
"email": {
"default": true,
"description": "Email the account owner when new transcripts are ready",
"type": "boolean"
},
"webhook_url": {
"description": "https URL to POST each transcript to",
"type": "string"
},
"ai": {
"default": false,
"description": "AI-transcribe videos still without captions after 6 hours (1 credit per started minute)",
"type": "boolean"
},
"keywords": {
"description": "Words or phrases (up to 20, 80 characters each). Only videos where one is spoken are delivered.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string"
}
},
"summary": {
"default": false,
"description": "Add an AI summary to each delivered video (charged like summarize_video, usually 1 more credit)",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_watches
List the channels and search phrases this account watches for new videos. Free.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴delete_watch(id)
Stop watching a channel or search phrase. Takes the watch's ID. Free.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Watch ID"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_usage
Show the remaining TranscriptYT credits and plan for this API key. Free.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据