GetTranscript MCP Server
YouTube 单个视频或最多 100 个视频的字幕稿,可导出为纯文本、Markdown、JSON、SRT、VTT 或 CSV。通过 GetTranscript API 在 Claude、Cursor 和 VS Code 中使用;处理失败的视频会退款。
文档
GetTranscript MCP server
Give Claude, Cursor, VS Code and other MCP clients the transcripts of YouTube videos — one video or up to 100 at once.
Most YouTube transcript MCP servers fetch a single video from your own IP and break as soon as YouTube blocks it. This server uses the GetTranscript API, so requests come from our infrastructure and you can pass a whole list of videos in one call.
- 📄 Transcripts as clean text, Markdown, JSON, SRT, VTT or CSV
- 📚 Up to 100 videos per call — videos from different channels, a research list, a playlist you already have links for
- 🔗 Accepts any YouTube link (watch, youtu.be, Shorts, embed) or a bare video ID
- 💸 1 credit per video, failed videos are refunded automatically, credits never expire
Get an API key
- Sign in at gettranscript.app — new accounts get 10 free credits.
- Create a key on the API keys page.
Install
The server runs with npx and reads the key from GETTRANSCRIPT_API_KEY. It needs Node.js 18 or newer on your computer (check with node -v).
Using ChatGPT or Claude in the browser? Those apps connect only to remote MCP servers by URL; a hosted GetTranscript endpoint is planned. Until then, use one of the desktop clients below.
Claude Code
claude mcp add gettranscript --env GETTRANSCRIPT_API_KEY=your_key -- npx -y gettranscript-mcp
Claude Desktop
Add the block below to claude_desktop_config.json (create the file if it doesn't exist), save, then fully quit Claude Desktop (including the tray icon) and reopen it.
-
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json -
Windows: the folder depends on the app version (
%APPDATA%\Claude, or aClaude-Data/Packagesfolder under%LOCALAPPDATA%for newer builds). The quickest way to find the file is PowerShell:Get-ChildItem $env:LOCALAPPDATA, $env:APPDATA -Recurse -Filter claude_desktop_config.json -ErrorAction SilentlyContinue | Select-Object FullNameIf the file already has other settings, add
"mcpServers": { ... },right after the first{and keep the rest.
{
"mcpServers": {
"gettranscript": {
"command": "npx",
"args": ["-y", "gettranscript-mcp"],
"env": { "GETTRANSCRIPT_API_KEY": "your_key" }
}
}
}
Cursor
After installing, replace your_key with your API key in Cursor's MCP settings. Or add manually to ~/.cursor/mcp.json (or .cursor/mcp.json in a project — keep it out of version control):
{
"mcpServers": {
"gettranscript": {
"command": "npx",
"args": ["-y", "gettranscript-mcp"],
"env": { "GETTRANSCRIPT_API_KEY": "your_key" }
}
}
}
VS Code
VS Code asks for your API key when the server starts and stores it securely. Or add manually to .vscode/mcp.json:
{
"servers": {
"gettranscript": {
"type": "stdio",
"command": "npx",
"args": ["-y", "gettranscript-mcp"],
"env": { "GETTRANSCRIPT_API_KEY": "your_key" }
}
}
}
Tools
| Tool | What it does |
|---|---|
get_transcript | Transcript of one video (URL or ID). |
get_transcripts | Transcripts of up to 100 videos in one job, returned as one document, plus a list of videos that failed and why. |
get_job | Check a job that was still running when get_transcripts stopped waiting, and get its transcripts. |
list_jobs | Your recent jobs with status and video counts. |
Common options: format (txt default, md, json, srt, vtt, csv), timestamps (default false) and save_to.
save_to — a folder on your computer (for example ~/Downloads). The server writes the transcript file there and returns only the file path, its size and a short preview. This is much faster than returning a long transcript into the chat, so ask for it whenever you want a file, or for long videos and batches. A batch is saved as one file; existing files are never overwritten.
get_transcripts also takes wait_seconds (default 120): large batches can take a few minutes, and if the time runs out you get a job_id to check later.
Example prompts
- "Get the transcript of https://www.youtube.com/watch?v=<video-id> and summarize it in five bullet points."
- "Save the transcripts of these 20 videos as Markdown to ~/Downloads/research."
- "Here are 30 conference talks — get all their transcripts and list the tools each speaker mentions."
- "Fetch transcripts for these videos as Markdown and build a FAQ from them."
Environment variables
| Variable | Required | Default |
|---|---|---|
GETTRANSCRIPT_API_KEY | yes | — |
GETTRANSCRIPT_BASE_URL | no | https://gettranscript.app |
Limits
- Up to 100 videos per call, 60 API requests per minute per key.
- Only videos with captions (creator-provided or YouTube auto-generated) can be transcribed. Private, removed or caption-less videos fail and their credits are refunded.
- Very long results are cut at 200,000 characters; the full result stays available in your dashboard.
Need a whole channel or playlist without code? Use the bulk YouTube transcript extractor on the website.
Development
npm install
npm run build
GETTRANSCRIPT_API_KEY=your_key node dist/index.js
License
MIT
GetTranscript is an independent tool and is not affiliated with YouTube or Google LLC.