Retrieves transcripts from YouTube videos, supporting various URL formats (standard, shortened, and embed) and returning the transcript text content.
Provides input validation for the YouTube transcript extraction functionality.
YouTube Integration
The YouTube MCP server provides functionality to extract transcripts from YouTube videos.
Available Tools
get_youtube_transcript
Retrieves the transcript text from a YouTube video.
Parameters:
videoUrl: Full YouTube video URL (supports standard, shortened, and embed URLs)
Returns: Object containing:
content: Array with transcript text
URL Support
Handles multiple YouTube URL formats:
Standard:
https://www.youtube.com/watch?v=VIDEO_IDShortened:
https://youtu.be/VIDEO_IDEmbed:
https://www.youtube.com/embed/VIDEO_ID
Error Handling
The server implements standard error handling:
Invalid URLs return
ErrorCode.InvalidParamsMissing URL returns
ErrorCode.InvalidParamsFailed transcript fetches return formatted error messages
Graceful shutdown on SIGINT
Technical Details
Built using the Highlight AI MCP SDK
Uses youtube-transcript library
Input validation via Zod
Runs as a stdio-based MCP server
Supports Node.js >=18.0.0
Limitations
Only works with videos that have captions enabled
Currently only returns English transcripts
Rate limits depend on YouTube's API restrictions
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables extraction of transcript text from YouTube videos by providing the video URL, supporting standard, shortened, and embed URL formats.
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA Model Context Protocol server that enables retrieval of transcripts from YouTube videos with language-specific support.Last updated -12291MIT License
- Asecurity-licenseAqualityA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.Last updated -161
- Asecurity-licenseAqualityA Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video transcripts and subtitles through a simple interface, making it ideal for content analysis and processing.Last updated -111426MIT License
- Asecurity-licenseAqualityA comprehensive MCP server for extracting YouTube video transcripts with support for multiple transports, languages, and output formats.Last updated -703MIT License