MCP server for YouTube video transcripts
## YouTube Transcript MCP Server: Video Content Extraction The **YouTube Transcript MCP Server** provides access to YouTube video transcripts and captions directly within Google Antigravity, enabling AI assistants to extract, process, and analyze spoken content from videos programmatically. This integration enables powerful video content analysis and accessibility features. ### Why YouTube Transcript MCP? - **Automatic Transcripts**: Access YouTube auto-generated transcripts for most videos - **Multi-Language**: Retrieve transcripts in multiple languages with translation support - **Timestamped Text**: Get text with precise timestamps for video synchronization - **Caption Extraction**: Access both auto-generated and manually uploaded captions - **Bulk Processing**: Extract transcripts from multiple videos efficiently ### Key Features #### 1. Transcript Extraction ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Extract the full transcript from this YouTube video with timestamps" }], tools=[{ "name": "yt_transcript_get", "description": "Extract video transcripts" }] ) ``` #### 2. Language Options ```python # Get transcripts in different languages response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Get available transcript languages for this video and fetch the Spanish version" }], tools=[{"name": "yt_transcript_languages", "description": "Language options"}] ) ``` #### 3. Batch Extraction ```python # Process multiple videos response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Extract transcripts from all videos in this playlist" }], tools=[{"name": "yt_transcript_batch", "description": "Batch extraction"}] ) ``` #### 4. Content Analysis ```python # Analyze transcript content response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Extract key topics and timestamps from this tutorial video transcript" }], tools=[{"name": "yt_transcript_analyze", "description": "Analyze content"}] ) ``` ### Configuration ```json { "mcpServers": { "youtube-transcript": { "command": "npx", "args": ["-y", "@anthropic/mcp-youtube-transcript"], "env": {} } } } ``` ### Use Cases **Content Summarization**: Extract and summarize video content for quick consumption. **Research Tools**: Build tools that search and analyze video content at scale. **Accessibility**: Create accessible versions of video content with text transcripts. **Training Data**: Extract transcripts for machine learning and NLP training datasets. The YouTube Transcript MCP Server brings video content extraction directly into your development workflow, enabling text-based video analysis.
{
"mcpServers": {
"youtube-transcript": {
"mcpServers": {
"youtube-transcript": {
"args": [
"-y",
"@kimtaeyoon83/mcp-server-youtube-transcript"
],
"command": "npx"
}
}
}
}
}