YouTube MCP Server
A Model Context Protocol server that provides tools to interact with YouTube videos, primarily for retrieving video subtitles. This server enables LLMs to extract content from YouTube videos for analysis and processing.
Available Tools
watch_youtube_video- Downloads and processes subtitles for a YouTube video.- Required arguments:
url(string): The URL of the YouTube video to watch.sub_lang(string): The language of the subtitles to download.
- Required arguments:
Installation
Prerequisites
This server requires:
- Python 3.11 or later
- yt-dlp (must be installed and available in your PATH)
Using uv
uv run src/server.py
Integration
- Start the server:
docker build -t youtube-mcp:latest .
docker run --rm -i --name youtube-mcp youtube-mcp:latest
- On cursor, add the following to your
mcp.jsonfile:
{
"mcpServers": {
"youtube-mcp": {
"transport": "sse",
"url": "http://localhost:8000/sse",
"description": "A simple MCP server to watch YouTube videos and download subtitles"
}
}
}
Examples of Questions for Cursor
- "What does this YouTube video talk about?" (provide URL)
- "Can you summarize this YouTube video for me?" (provide URL)
- "Extract the key points from this YouTube lecture" (provide URL)
- "Watch this YouTube tutorial and explain the steps" (provide URL)
Recommend MCP Servers 💡
wikijs
An MCP (Model Context Protocol) server for WikiJS that allows AI models to interact with wiki content.
mcp-openweathermap
An MCP server that provides current weather information using the OpenWeatherMap API.
nysse-mcp-server
MCP server providing real-time bus traffic information for Tampere's public transport system to LLM AI agents
edgeone-geo-mcp-server
An MCP server that integrates with EdgeOne Pages Functions to retrieve user geolocation information for large language models.
fitbit-mcp
MCP implementation for Fitbit to enable AI assistants access to health and fitness data
nebulablock-mcp-server
This repository hosts the official NebulaBlock API Model Context Protocol (MCP) server. This server integrates with the fastmcp library to expose the full range of NebulaBlock API functionalities as accessible tools, enabling seamless and efficient interaction within any MCP-compatible environment.