YouTube Transcript MCP server
Commit Nov 4, 2026Extract YouTube transcripts with timestamps, manage history, and fetch video statistics for AI assistants.
Also known as Youtube-Transcript-Dev/youtube-transcript-mcp, youtube-transcript-mcp
- Stars
- 0
- Tools
- 17
- Downloads, 30 days
- —
- Latest version
- 2.0.0
- Last commit
- Nov 4, 2026
- License
- MIT
What is YouTube Transcript MCP?
YouTube Transcript extracts YouTube transcripts with timestamps, manage history, and fetch video statistics for AI assistants. It exposes 17 tools, such as get_stats, transcribe_v2, list_transcripts.
Summary generated from the project's README
About YouTube Transcript MCP server
Extracting YouTube transcripts with timestamps and managing video content history is what this server enables for AI assistants. It allows users to connect tools like Claude, Cursor, Windsurf, and VS Code to YouTubeTranscript.dev to process video data without writing custom code. The server provides specific tools to fetch captions, search through previous transcriptions, and retrieve video statistics.
Users can interact with the service via a remote MCP URL or by running it locally using npm. Connection methods include OAuth for compatible clients or providing an API key through authorization headers. The toolset includes transcribe_v2 for fast caption extraction, list_transcripts for managing history with pagination, and get_stats to monitor credits and rate limits. It supports both manual and automatic captions to ensure flexible data retrieval.
What you can do with it
- 1Extract video captionsAn AI assistant can pull text from a YouTube URL including specific formatting like timestamps or paragraphs.
- 2Manage transcription historyDevelopers can search through their previously extracted transcripts using video IDs or specific text.
- 3Monitor API usageYou can check your remaining credits and current subscription plan through the assistant.
- 4Clean up stored dataAn AI can remove specific transcript records or all transcripts associated with a particular video ID.
Written from the project's README. Every use case is checked against a quote from it.
How to install YouTube Transcript MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall YouTube Transcript MCP in Claude Code
$ claude mcp add --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/Install YouTube Transcript MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"youtube-transcript-mcp": {
"url": "https://mcp.youtubetranscript.dev/"
}
}
}Install YouTube Transcript MCP in VS Code
.vscode/mcp.json
{
"servers": {
"youtube-transcript-mcp": {
"type": "http",
"url": "https://mcp.youtubetranscript.dev/"
}
}
}Install YouTube Transcript MCP in VS Code CLI
$ code --add-mcp '{"name":"youtube-transcript-mcp","type":"http","url":"https://mcp.youtubetranscript.dev/"}'Install YouTube Transcript MCP in Codex
$ codex mcp add youtube-transcript-mcp --url https://mcp.youtubetranscript.dev/Install YouTube Transcript MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.youtube-transcript-mcp] url = "https://mcp.youtubetranscript.dev/"
Install YouTube Transcript MCP in Gemini CLI
$ gemini mcp add -s user --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/Install YouTube Transcript MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"youtube-transcript-mcp": {
"url": "https://mcp.youtubetranscript.dev/",
"type": "http"
}
}
}YouTube Transcript MCP tools 17
Detected from the READMEget_statstranscribe_v2list_transcriptsget_transcriptdelete_transcriptvideolanguagesourceformatsearchlimitpage
| get_stats | — | |
| transcribe_v2 | — | |
| list_transcripts | — | |
| get_transcript | — | |
| delete_transcript | — | |
| video | — | |
| language | — | |
| source | — | |
| format | — | |
| search | — | |
| limit | — | |
| page | — |
Show all 17 toolsShow fewer tools
statusinclude_segmentsvideo_idinclude_timestampsids
| status | — | |
| include_segments | — | |
| video_id | — | |
| include_timestamps | — | |
| ids | — |
Configuration
YTSM_API_KEY
| Name | Description | |
|---|---|---|
| YTSM_API_KEY | — |
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachableyoutube-transcript-dev/youtube-transcript-mcp is public and reachablegithub.com/youtube-transcript-dev/youtube-transcript-mcp ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-04github.com/youtube-transcript-dev/youtube-transcript-mcp ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model17 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeHTTPS endpoint answered 401 (sign-in required)Pass
README
View on GitHubWhy This MCP Server?
Connect Claude, Cursor, Windsurf, or any MCP client to YouTubeTranscript.dev — no custom code. Your AI assistant gets tools to extract transcripts, list history, and manage content at scale.
- ⚡ Fast caption extraction — Manual or auto captions, returns in seconds
- 📚 Transcript history — List, search, and paginate your transcripts
- 🎯 Full control — Get stats, delete transcripts, fetch by video ID
- 🔌 One config — Works with Claude, Cursor, Windsurf, VS Code, Cline
- 🔒 User-owned keys — API key per connection, no server-side secrets
Quick Start
Remote MCP URL: https://mcp.youtubetranscript.dev
Claude, Cursor, and VS Code can add this as a remote MCP connector. ChatGPT users must enable Developer mode and create a custom app with this URL; availability depends on the workspace plan. OAuth-capable clients sign in once, so no API key is needed in the chat.
| Client | One-click |
|---|---|
| Claude | Add custom connector |
| ChatGPT | Developer mode / custom MCP app setup or Custom GPT |
| Cursor | Install |
| VS Code | Install |
| Claude Code | claude mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev |
| Grok | grok mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev |
Full walkthrough: youtubetranscript.dev/resources/mcp-server
API key clients (if the tool has no OAuth): send Authorization: Bearer YOUR_API_KEY. x-api-token still works. Get a key from the account page.
Run locally (optional): npm install && npm run build && npm run start:http — then connect to http://localhost:8080.
MCP Connection Settings
Claude Code
claude mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev
Claude Desktop
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Cursor
.cursor/mcp.json:
{
"mcpServers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"youtubetranscript": {
"serverUrl": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
VS Code + Copilot
settings.json:
{
"mcp": {
"servers": {
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
}
Cline
Add to your Cline MCP config (format may vary by Cline version):
{
"youtubetranscript": {
"url": "https://mcp.youtubetranscript.dev",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
Replace YOUR_API_KEY with your API key from youtubetranscript.dev/dashboard/account.
Configuration
Server Environment (for deployment)
| Variable | Description | Default |
|---|---|---|
YTSM_BASE_URL |
Base URL of the API | https://www.youtubetranscript.dev |
MCP_PUBLIC_URL |
Public MCP origin | https://mcp.youtubetranscript.dev |
YTSM_TIMEOUT_MS |
Request timeout in ms | 30000 |
PORT |
HTTP server port | 8080 |
DEBUG |
Enable debug logging | false (set true to enable) |
Note: HTTP mode uses OAuth where the client supports it, including compatible Claude, Cursor, VS Code, and Grok clients. ChatGPT requires Developer mode and a custom MCP app. API-key clients can send Authorization: Bearer / x-api-token from the client. Do not put user keys in server env. For stdio mode, set YTSM_API_KEY. Always set YTSM_BASE_URL to https://www.youtubetranscript.dev — the apex host 301s and breaks POST/auth.
Tools Reference
| Tool | Best for | Returns |
|---|---|---|
get_stats |
Credits, transcripts count, plan | credits, transcripts_total, plan, rate_limit |
transcribe_v2 |
Create/fetch transcript (fast) | Transcript JSON |
list_transcripts |
List user transcripts | History list with pagination |
get_transcript |
Get full transcript by video_id | Transcript detail |
delete_transcript |
Delete transcript(s) | Delete result |
get_stats
Credits left, transcripts created, plan, rate limit. No parameters.
transcribe_v2
Fast caption-based transcript (no ASR). Uses manual or auto captions only.
| Parameter | Required | Description |
|---|---|---|
video |
Yes | YouTube URL or 11-character video ID |
language |
No | Language tag (e.g. en, en-US) |
source |
No | auto (default) or manual |
format |
No | { timestamp, paragraphs, words } booleans |
list_transcripts
List transcript history for the authenticated user.
| Parameter | Required | Description |
|---|---|---|
search |
No | Search by video id, title, or transcript text |
limit |
No | How many to return (default 10) |
page |
No | Page number (default 1) |
status |
No | all, queued, processing, succeeded, failed |
language |
No | Language filter (e.g. en) |
include_segments |
No | Include transcript segments in response |
get_transcript
Get full transcript by video_id.
| Parameter | Required | Description |
|---|---|---|
video_id |
Yes | YouTube video ID |
id |
No | Transcript record id for specific version |
language |
No | Language filter |
source |
No | auto, manual, or asr |
include_timestamps |
No | Include timestamps in response |
delete_transcript
Delete transcript records.
| Parameter | Required | Description |
|---|---|---|
ids |
No* | Array of transcript record ids to delete |
video_id |
No* | Convenience: delete by video id (resolves id) |
*Provide at least one of ids or video_id.
Deployment (Optional)
For production, deploy to a service that supports long-lived connections (e.g. Cloud Run, Railway, Fly.io). Avoid serverless (Vercel, Lambda) for MCP — timeouts and concurrency limits cause issues.
docker build -f Dockerfile.cloudrun -t gcr.io/YOUR_PROJECT/youtube-transcript-mcp .
docker push gcr.io/YOUR_PROJECT/youtube-transcript-mcp
gcloud run deploy youtube-transcript-mcp --image gcr.io/YOUR_PROJECT/youtube-transcript-mcp ...
Stdio (Alternative)
Run as a subprocess instead of HTTP. Required: set YTSM_API_KEY in env (API key is not passed per-request for stdio).
{
"mcpServers": {
"youtubetranscript": {
"command": "node",
"args": ["dist/index.js"],
"env": { "YTSM_API_KEY": "YOUR_API_KEY" }
}
}
}
Run from the project directory after npm run build. For globally installed package, use the path to dist/index.js in the package.
Development
npm install
npm run build
npm test
npm run start:http # Local HTTP server (port 8080)
Quick test all tools (requires YTSM_API_KEY in env):
npm install && npm run build
export YTSM_API_KEY=your_key # bash/mac
$env:YTSM_API_KEY="your_key" # PowerShell
npm run test:all
See QUICK_TEST.md for full testing instructions.
Links
License
MIT License — see LICENSE for details.
YouTube Transcript MCP questions
How do I add YouTube Transcript MCP to Claude Code?
Run claude mcp add --transport http youtube-transcript-mcp https://mcp.youtubetranscript.dev/ in your terminal. Add --scope user to make it available in every project.
How do I add YouTube Transcript MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does YouTube Transcript MCP provide?
It exposes 17 tools, including get_stats, transcribe_v2, list_transcripts, get_transcript, delete_transcript.
How do I add this to Claude?
You can add it as a remote MCP connector using the provided URL or by adding the server configuration to your claude_desktop_config.json file.
What kind of transcripts can I extract?
The server supports fast caption-based extraction using either manual or automatic captions.
Do I need an API key?
Yes, you can get a free API key from the YouTubeTranscript.dev website to use with the server.
Can I search through my previous transcripts?
Yes, the list_transcripts tool allows you to search your history by video ID, title, or transcript text.