mcp-youtube
Model Context Protocol to fetch youtube transcript
claude mcp add --transport stdio adhikasp-mcp-youtube uvx --from git+https://github.com/adhikasp/mcp-youtube mcp-youtube
How to use
The YouTube MCP Server lets you download transcripts from YouTube videos and attach them to an ongoing MCP conversation with a timestamped transcript. It accepts both YouTube video IDs and full YouTube URLs and returns a transcript that can be consumed by an MCP client to provide context to a large language model. This makes it easy to reference exact moments in a video when discussing or querying the content. The server is designed to work with any MCP-compatible client, so you can integrate it into your existing MCP workflow and prompt pipelines.
How to install
Prerequisites:
- Python 3.8+ (or a compatible Python environment)
- Internet access to clone the repository and install dependencies
Installation steps:
-
Clone the repository: git clone https://github.com/adhikasp/mcp-youtube.git cd mcp-youtube
-
Create and activate a Python virtual environment (recommended): uv venv
On Unix/macOS
source .venv/bin/activate
On Windows
.venv\Scripts\activate
-
Install dependencies via uv (as described in the project): uv sync
-
Run the server locally to verify: python -m youtube_mcp
-
Optionally pin to a specific Python version or manage with your preferred environment manager.
Additional notes
Notes and tips:
- The server is accessed via MCP clients using the uvx pipeline (as shown in the usage example).
- Ensure you have network access to YouTube for transcription downloads.
- If you run into issues with dependencies, refresh the virtual environment and reinstall with uv sync.
- The transcript output includes timestamps, which helps with precise context in prompts.
- This server does not require any API keys for YouTube transcription in many cases, but some regional restrictions or YouTube changes may affect availability. If needed, check the repository for any required updates or alternative download methods.
- Since this is a Python-based MCP server, you’ll configure it in your MCP client using the uvx command as shown in the usage section.
Related MCP Servers
code-mode
🔌 Plug-and-play library to enable agents to call MCP and UTCP tools via code execution.
mysql_mcp_server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
mcp-reddit
A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.
Gitingest
mcp server for gitingest
skill-to
Convert AI Skills (Claude Skills format) to MCP server resources - Part of BioContextAI
Convert-Markdown-PDF
Markdown To PDF Conversion MCP