Allows extracting, searching, and analyzing YouTube video transcripts, supporting full transcript retrieval, keyword searching with context, time-chunked summaries, and batch processing for multiple videos.
Click on "Install 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., "@YouTube Transcript MCP Serverget the transcript for https://www.youtube.com/watch?v=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.
YouTube Transcript MCP Server
An MCP (Model Context Protocol) server that extracts, searches, and analyzes YouTube video transcripts. Works with Claude Desktop, Cursor, and any MCP-compatible client.
Features
Get Transcript - Extract full transcript from any YouTube video
Search Transcript - Find specific keywords with surrounding context
Transcript Summary - Get time-chunked transcript for easier analysis
Batch Processing - Process up to 10 videos at once
Installation
pip (recommended)
pip install yt-transcript-mcpFrom source
git clone https://github.com/alex2zimmermann-ux/yt-transcript-mcp
cd yt-transcript-mcp
pip install .Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"youtube-transcript": {
"command": "yt-transcript-mcp",
"env": {
"YT_MCP_MODE": "standalone"
}
}
}
}Environment Variables
Variable | Default | Description |
|
|
|
|
| Backend service URL |
| - | API key for backend |
|
| Max cache entries |
|
| Cache TTL in seconds |
|
| Rate limit |
|
|
|
Modes
Standalone (default)
Uses youtube-transcript-api directly. Lightweight, no external dependencies. Best for marketplace deployment.
Backend
Connects to a running transcript service (FastAPI) that supports cookies, yt-dlp, and Whisper fallback. Best for premium/self-hosted usage.
Tools
get_transcript
Get the transcript of a YouTube video.
Parameters:
url(required) - YouTube URL or video IDlanguage(optional, default: "en") - Language codeformat(optional, default: "text") - "text", "segments", or "both"
search_transcript
Search for keywords in a video transcript.
Parameters:
url(required) - YouTube URL or video IDquery(required) - Search termlanguage(optional, default: "en")context_segments(optional, default: 1) - Surrounding segments to include
get_transcript_summary
Get transcript in time chunks for analysis.
Parameters:
url(required) - YouTube URL or video IDlanguage(optional, default: "en")chunk_minutes(optional, default: 5)
batch_transcripts
Process multiple videos at once.
Parameters:
urls(required) - List of YouTube URLs or IDs (max 10)language(optional, default: "en")
Docker
# Standalone
docker compose --profile standalone up
# Backend
YT_MCP_BACKEND_API_KEY=your-key docker compose --profile backend upDevelopment
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest tests/ -v --covLicense
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.