transcriptyt-mcp
Fetches YouTube transcripts, captions, video metadata and channel metadata through the Transcriptyt API, with language priority, manual/auto-generated selection, multiple output formats, and long-video truncation.
transcriptyt-mcp
An MCP server for the Transcriptyt API. It lets Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and other MCP clients fetch YouTube transcripts, captions, video metadata and channel metadata as tools.
Transcripts in plain text (compact, the default), JSON with timestamps, SRT or WebVTT
Language priority (
["de", "en"]) and manual vs auto-generated selectionLong videos are cut at a whole line with a note saying how to read on, so a 3-hour video doesn't flood the context
Video and channel metadata without a Google Cloud project or YouTube Data API quota
Read-only, runs locally over stdio, depends only on the official MCP SDK and zod
Get an API key
Transcriptyt is a hosted, paid API with a free plan. Sign up at transcriptyt.com, then create an API key in your dashboard. Every tool call is one API request against your plan; see transcriptyt.com/pricing for plans and limits.
Related MCP server: YouTube Transcript MCP Server
Install
Requires Node.js 20 or newer (node --version). Replace <your key> with your API key.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"transcriptyt": {
"command": "npx",
"args": ["-y", "transcriptyt-mcp"],
"env": {
"TRANSCRIPTYT_API_KEY": "<your key>"
}
}
}
}Restart Claude Desktop.
Claude Code
claude mcp add transcriptyt --env TRANSCRIPTYT_API_KEY=<your key> -- npx -y transcriptyt-mcpAdd --scope user to make it available in every project.
Cursor
.cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"transcriptyt": {
"command": "npx",
"args": ["-y", "transcriptyt-mcp"],
"env": {
"TRANSCRIPTYT_API_KEY": "<your key>"
}
}
}
}VS Code
.vscode/mcp.json in your workspace. This prompts for the key once and stores it securely instead of writing it
in the file:
{
"inputs": [
{
"type": "promptString",
"id": "transcriptyt-api-key",
"description": "Transcriptyt API key",
"password": true
}
],
"servers": {
"transcriptyt": {
"type": "stdio",
"command": "npx",
"args": ["-y", "transcriptyt-mcp"],
"env": {
"TRANSCRIPTYT_API_KEY": "${input:transcriptyt-api-key}"
}
}
}
}Windsurf and other clients
Any client that runs stdio servers works with the same command, npx -y transcriptyt-mcp, and the
TRANSCRIPTYT_API_KEY environment variable. For Windsurf, add the Claude Desktop block above to
~/.codeium/windsurf/mcp_config.json.
Configuration
Variable | Required | Default | Purpose |
| yes | Your API key | |
| no |
| API base URL (only change it for testing) |
Without a key the server still starts and lists its tools; each tool call then returns instructions for setting the key.
Tools
All tools are read-only.
get_transcript
The transcript of a video, with timestamps.
Parameter | Default | Description |
| required | 11-character video ID or a YouTube URL ( |
|
| Language codes in priority order, at most 10. The first available one is returned |
|
|
|
|
|
|
|
| Keep |
|
| Output longer than this is cut at a whole line, with a note (1,000 to 2,000,000) |
|
| Only captions starting at or after this time ( |
text output is a header line (video ID, language, language code, manual or auto-generated) followed by one
[HH:MM:SS.mmm] text line per caption. It is rendered locally from the API's JSON response, in exactly the API's
own text format, so the header costs no extra request. json returns the API's JSON response unchanged (compact).
srt and webvtt are returned exactly as the API formats them, without a header.
Every call fetches the whole transcript from the API and counts as one request, including calls with
start_seconds; the cutting happens locally.
list_transcripts
video: the transcript languages available for a video, whether each is manual or auto-generated, and whether
it is translatable.
get_video_metadata
video (ID or URL, as above): title, channel, length, views, publish date, keywords and description (cut at
2,000 characters).
get_channel_metadata
channel: a channel ID (UC...), an @handle, or a channel URL (youtube.com/@handle,
youtube.com/channel/UC...). Returns name, handle, channel ID, subscriber count as YouTube displays it, video
count, country, keywords and description. Legacy /c/ and /user/ URLs are not supported.
Errors
API errors come back as tool errors the model can act on: an invalid key (401) says how to fix the key; no
transcript in the requested languages (404) points to list_transcripts; disabled transcripts (403) and
age-restricted videos (451) say so; rate limits (429) include the Retry-After wait and the upgrade link; temporary
outages (503/504) include Retry-After. Requests time out after 90 seconds (uncached transcripts can take up to
75 seconds on the API side). The API key never appears in tool output or logs; the server logs only to stderr.
Development
npm ci
npm run typecheck
npm test # builds, then runs unit tests and a stdio integration test against a local mock APITry it with the MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js.
License
MIT
Available Tools
4 toolsget_channel_metadataGet YouTube channel metadataARead-onlyIdempotent
Get a YouTube channel's metadata as text: name, @handle, channel ID, subscriber count (as YouTube displays it, e.g. "1.2M subscribers"), video count, country, keywords and description (cut at 2,000 characters). Does not list the channel's videos. Counts as one request against the user's plan.
Inputs: channel (required).
get_transcriptGet YouTube transcriptARead-onlyIdempotent
Fetch the transcript (captions) of a YouTube video: what is said in it, with timestamps. Default output is plain text, one "[HH:MM:SS.mmm] text" line per caption, preceded by a header line with the video ID, language, language code and whether the captions are auto-generated. format "json" returns compact JSON {video_id, language, language_code, is_generated, snippets:[{text, start, duration}]}; "srt" and "webvtt" return subtitle files exactly as the API formats them (no header). Languages are tried in the order given and the first available one is returned; if none exists the tool says so, and list_transcripts shows what is available. Output longer than max_characters is cut at a whole line with a note telling you how to read on with start_seconds. A request can take up to about 75 seconds for uncached videos. Each call (including one with start_seconds) counts as one request against the user's plan.
Inputs: video (required), type, format, languages, +3 more.
get_video_metadataGet YouTube video metadataARead-onlyIdempotent
Get a YouTube video's metadata as text: title, channel name and ID, length, view count, publish date, keywords and description (description cut at 2,000 characters). Does not include the transcript; use get_transcript for what is said. Counts as one request against the user's plan.
Inputs: video (required).
list_transcriptsList available transcriptsARead-onlyIdempotent
List the transcript (caption) languages available for a YouTube video: language code and name, whether each is manual (human-made) or auto-generated, and whether YouTube can translate it. Use it before get_transcript when you don't know which languages exist, or after get_transcript reports none in the requested languages. Counts as one request against the user's plan.
Inputs: video (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct resource and action: fetching captions, enumerating caption languages, video metadata, and channel metadata. The descriptions explicitly cross-reference each other (e.g., get_video_metadata says it does not include the transcript; get_channel_metadata says it does not list videos), eliminating selection ambiguity.
All four names follow a clean verb_noun snake_case pattern: get_transcript, list_transcripts, get_video_metadata, get_channel_metadata. The get/list distinction maps predictably onto fetch-vs-enumerate semantics.
Four tools is well-scoped for a focused YouTube transcript server: one acquire-transcript tool, one discovery/fallback lister, and two metadata tools. Nothing appears redundant or missing at the structural level, and each tool clearly earns its place.
The transcript workflow is closed-loop: list_transcripts covers language discovery and get_transcript supports pagination via start_seconds and multiple output formats. The only real gap is that channel metadata cannot enumerate a channel's videos, leaving no way to discover video IDs from within the server, though that is a minor workaround.
Maintenance
Related MCP Connectors
YouTube transcript API: batch video captions, timestamps, metadata and SRT/VTT subtitles.
Fetch public YouTube transcripts as text, Markdown, SRT, WebVTT or JSON via OAuth or API key.
Transcripts of YouTube videos, playlists and channels with timestamps; SRT or WebVTT too.
Fetch transcripts, subtitles, chapters, metadata and frames from YouTube and 10+ video platforms
Related MCP Servers
- AlicenseAqualityDmaintenanceFetches YouTube video subtitles and transcripts with support for multiple languages and output formats (SRT, VTT, TXT, JSON).111 npmApache 2.0
- 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.2143 npm16MIT
- AlicenseAqualityDmaintenanceEnables fetching YouTube video transcripts with metadata, including timed captions in multiple formats (JSON, SRT, VTT, CSV, TXT) and preprocessing options.41MIT
- FlicenseNot gradedqualityCmaintenanceProvides tools to extract YouTube video transcripts, list available caption languages, and retrieve video metadata such as title, channel, duration, views, and publish date.-