ytranscript-mcp
Retrieves YouTube transcripts for AI assistants via a single get_transcript tool.
Fetch a transcript from a YouTube URL (
watch,youtu.be,shorts,embed) or an 11-character video ID (videois the only required argument).Choose output format:
text(default, one plain block) ortimestamped(one line per segment with[m:ss]times, for citing moments).Select a language with
lang(e.g.en,es); omitting it returns the video's original spoken language.Cap length with
max_charactersto keep long videos from flooding context.Handle captionless videos — the service transcribes them with AI speech-to-text (requires a
YTRANSCRIPT_API_KEY; consumption is metered in units).Caveat: this schema exposes only
get_transcript; the README'sget_video_infotool and theinclude_video_info/max_unitsoptions are not present in the schema.
Allows retrieving transcripts for YouTube videos, supporting video URLs or IDs, language selection, plain or timestamped formats, and length limits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ytranscript-mcp Summarize this YouTube video: https://youtu.be/dQw4w9WgXcQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ytranscript-mcp
An MCP server that gives Claude, Cursor, VS Code, and other AI tools the transcript of any YouTube video, plus its details: title, channel, duration, views and chapters.
Works from anywhere. Runs fine on AWS, Lambda, Vercel, n8n Cloud, and other cloud hosts. There are no proxies to buy and no IP bans to work around. YouTube blocks most cloud IPs for transcript requests; the yTranscript API handles that for you.
Handles videos without captions. If a video has no captions, it's transcribed with AI speech-to-text.
Returns the language actually spoken by default, including on auto-dubbed videos. Pass
langto pick a specific caption track.Knows what the video is. Get the title, channel, publish date, duration, views, tags and chapters, on their own or together with the transcript.
Keeps long videos manageable. Choose plain text or timestamped lines, and cap the length so a two-hour video doesn't flood the model's context.
Setup
Get a free API key at ytranscript.com/developers. The free plan includes 50 units a month, no card required.
Add the server to your client using one of the configs below.
Claude Code
claude mcp add ytranscript -e YTRANSCRIPT_API_KEY=yk_live_your_key -- npx -y ytranscript-mcpClaude Desktop
Add this to claude_desktop_config.json. Open it from Settings → Developer → Edit Config.
{
"mcpServers": {
"ytranscript": {
"command": "npx",
"args": ["-y", "ytranscript-mcp"],
"env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }
}
}
}Cursor
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"ytranscript": {
"command": "npx",
"args": ["-y", "ytranscript-mcp"],
"env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }
}
}
}VS Code
Add this to .vscode/mcp.json:
{
"servers": {
"ytranscript": {
"command": "npx",
"args": ["-y", "ytranscript-mcp"],
"env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }
}
}
}Any other MCP client that runs stdio servers works the same way: run npx -y ytranscript-mcp with YTRANSCRIPT_API_KEY set.
Related MCP server: YouTube Transcript MCP Server
Tool: get_transcript
Argument | Required | Description |
| yes | A YouTube URL ( |
| no | Language code of the caption track to fetch, such as |
| no |
|
| no | Cut the transcript at about this many characters. The response says how much was left out |
| no |
|
| no | The most the request may cost. A video without captions that would cost more isn't transcribed or charged, and the response gives the estimate. |
Things to ask your assistant:
"Summarize this video: https://youtu.be/..."
"What does the speaker say about pricing, and at what timestamps?"
"Pull the transcript of this Spanish video and translate it to English."
Tool: get_video_info
Returns a video's details without its transcript: title, description, channel (name, handle, subscribers), publish date, duration, view and like counts, tags, category and chapters.
Argument | Required | Description |
| yes | A YouTube URL or an 11-character video ID |
Things to ask your assistant:
"How long is this video, and who made it?"
"List the chapters of https://youtu.be/..."
"Is this video worth transcribing? Check the description first."
When YouTube limits what it shows for a video, the duration, tags and category can be missing. The response says so.
Every response ends with the units used and your monthly total, so you can keep an eye on your quota.
Pricing
A transcript from captions costs 1 unit. A video without captions is transcribed with AI for 1 unit per minute of audio, at least 5 (a 9-minute video costs 9). Use max_units to cap what a request may cost. Video info costs 1 unit, and nothing when it comes with a transcript. Failed requests are free.
Plan | Price | Units per month |
Free | $0 | 50 |
Starter | $9/mo | 1,000 |
Developer | $29/mo | 10,000 |
Scale | $79/mo | 50,000 |
Need more in a given month? Pay-as-you-go packs add 1,000 units for $10, 5,000 for $40 or 20,000 for $120, on top of any plan. See ytranscript.com/developers for details.
Related
ytranscript-apiis the JavaScript/TypeScript client this server is built on.YouTube Transcript Scraper on Apify runs the same transcripts in bulk, with pay-per-result pricing and no yTranscript account needed.
License
MIT
Available Tools
1 toolget_transcriptGet YouTube transcriptARead-only
Get the transcript of a YouTube video. Accepts a video URL (watch, youtu.be, shorts, embed) or an 11-character video ID. Returns the video's spoken language by default. Videos without captions are transcribed with AI speech-to-text. Use format=timestamped when you need to cite or jump to specific moments.
Inputs: video (required), lang, format, max_characters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of overlap or confusion. The tool's purpose is clear and singular.
The single tool name follows a clear verb_noun pattern (get_transcript), consistent with common MCP conventions. No inconsistency can exist with one tool.
One tool is borderline thin for an MCP server, but for a narrowly scoped YouTube transcript service it is not unreasonable. It would benefit from additional tools like listing available languages or transcript metadata.
The tool covers the primary use case well: accepts various URL formats, detects language, falls back to AI speech-to-text, and supports timestamped output. Minor gaps exist such as no explicit language selection or list of available transcripts, but these are not critical for the core purpose.
Related MCP Connectors
Transcripts of YouTube videos, channels, playlists and searches; AI transcription when no captions.
Transcripts, translations, summaries, subtitles, and search for public YouTube videos.
YouTube transcripts, video metadata, chapters, comments, channels and search for AI assistants.
Transcripts from YouTube videos, whole channels and playlists for AI agents, with bulk ZIP export.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to fetch and process YouTube video transcripts in multiple formats and languages, with built-in caching and rate limiting for efficient video content analysis.-
- AlicenseAqualityDmaintenanceRetrieves transcripts from YouTube videos with support for multiple languages, timestamp control, and language detection. Enables video content analysis, summarization, and quote extraction without manually downloading or watching videos.2123 npm16MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI models to extract transcripts from YouTube videos in multiple languages with zero local setup. It supports all YouTube URL formats and features smart caching via Cloudflare Workers for fast responses.1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to fetch YouTube video transcripts with precise timestamps, multi-language support, and time-range filtering.31MIT