YouTube Translate MCP
A Model Context Protocol (MCP) server for accessing the YouTube Translate API, allowing you to obtain transcripts, translations, and summaries of YouTube videos.
Features
- Get transcripts of YouTube videos
- Translate transcripts to different languages
- Generate subtitles in SRT or VTT format
- Create summaries of video content
- Search for specific content within videos
Installation
Installing via Smithery
To install youtube-translate-mcp for Claude Desktop automatically via Smithery:
Installing Manually
This package requires Python 3.12 or higher:
Or install from source:
Usage
To run the server:
Docker
You can also run the server using Docker:
Environment Variables
YOUTUBE_TRANSLATE_API_KEY
: Required. Your API key for accessing the YouTube Translate API.
Deployment with Smithery
This package includes a smithery.yaml
file for easy deployment with Smithery.
To deploy, set the YOUTUBE_TRANSLATE_API_KEY
configuration parameter to your YouTube Translate API key.
Development
Prerequisites
- Python 3.12+
- Docker (optional)
Setup
Testing with Claude Desktop
To test with Claude Desktop (macOS/Windows only), you'll need to add your server to the Claude Desktop configuration file located at ~/Library/Application Support/Claude/claude_desktop_config.json
.
Method 1: Local Development
Use this method if you want to test your local development version:
Make sure to replace /ABSOLUTE/PATH/TO/youtube-translate-mcp
with the actual path to your project directory.
Method 2: Docker-based Testing
If you prefer to test using Docker (recommended for more reproducible testing):
Replace YOUR_API_KEY
with your actual YouTube Translate API key.
For more information on using MCP servers with Claude Desktop, see the MCP documentation.
Debugging
- The normal MCP Inspector has a built in timeout for MCP tool calls, which is generally too short for these video processing calls (as of March 13, 2025). Better to use Claude Desktop and look at the MCP logs from Claude at ~/Library/Logs/Claude/mcp-server-{asfasf}.log.
- Can do tail -f {log-file}.log to follow as you interact with Claude.
License
MIT
This server cannot be installed
A Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.