sinjab/mcp_youtube_extract
If you are the rightful owner of mcp_youtube_extract and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP YouTube Extract is a Model Context Protocol server designed for YouTube operations, providing tools for extracting video metadata and transcripts.
MCP YouTube Extract is a comprehensive server application that leverages the Model Context Protocol (MCP) to facilitate YouTube data extraction. It is designed to integrate seamlessly with YouTube's API, allowing users to retrieve detailed video information and transcripts. The server is built with robust error handling and logging capabilities, ensuring reliable performance and easy debugging. Available as a package on PyPI, it supports both manual and auto-generated transcripts, making it versatile for various use cases. The server can be installed and run using standard Python package management tools, and it includes a development setup for those who prefer to work with the source code. With a focus on security, the application requires a YouTube API key, which can be configured via environment variables. The project is open-source, licensed under MIT, and welcomes contributions from the community.
Features
- Fully functional MCP server for YouTube operations
- Extracts video metadata and transcripts with fallback logic
- Comprehensive logging and error handling
- Supports both manually created and auto-generated transcripts
- Available on PyPI for easy installation
Usages
usage with pypi installation
{ "mcpServers": { "mcp_youtube_extract": { "command": "mcp_youtube_extract", "env": { "YOUTUBE_API_KEY": "your_youtube_api_key" } } } }
usage with development setup
{ "mcpServers": { "mcp_youtube_extract": { "command": "uv", "args": [ "--directory", "<your-project-directory>", "run", "mcp_youtube_extract" ], "env": { "YOUTUBE_API_KEY": "your_youtube_api_key" } } } }
Tools
get_yt_video_info
Extracts video metadata and transcripts using a YouTube video ID.