YouTube Translate MCP
This MCP server lets you retrieve and work with YouTube video transcripts and derived content.
Get a transcript of a YouTube video.
Get a translated transcript for a specified language.
Generate subtitles in configurable format and language (defaults: SRT, English).
Generate summaries of configurable length and language (defaults: medium, English).
Search within a video's transcript for specific content.
Allows access to YouTube video content by fetching transcripts, translating them to different languages, generating subtitles in SRT or VTT format, creating summaries of video content, and searching for specific content within videos.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@YouTube Translate MCP translate the transcript of https://youtube.com/watch?v=abc123 to Spanish"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: YouTube Transcript Server
Hosted remote MCP
Production endpoint: https://api.youtubetranslate.com/mcp using streamable HTTP.
Preferred authentication is OAuth. The server returns a protected-resource discovery challenge, and the API provides public-client registration, S256 PKCE, owner consent, short-lived access tokens, refresh rotation, and revocation. Send Authorization: Bearer <access token> after linking your account.
For legacy clients, send an account-owned user key on every request:
X-API-Key: ut-user-...For local stdio, YOUTUBE_TRANSLATE_API_KEY remains supported. Every hosted request is authenticated before tool discovery or invocation, and the transport is stateless. No shared administrative credential is used. The account page provides a disconnect action that revokes an assistant's token family.
Tools
start_video: queue a YouTube URL and return a job ID.get_video_status: check processing state by job ID or YouTube ID.get_transcript: return text or timestamped segments.get_translation: request and return a translated transcript.get_subtitles: generate and return translated SRT or VTT.get_summary: generate short, medium, or long summaries.search_video: find passages with global positions and timestamps.
High-level tools wait up to TOOL_TIMEOUT_SECONDS (75 by default). Longer videos return a processing message and should be retried by the agent.
Run remotely
uv run youtube-translate-mcp --transport streamable-http --host 0.0.0.0 --port 8000MCP_ALLOWED_HOSTS must include the public hostname used by the reverse proxy. Requests without X-API-Key are rejected.
ChatGPT and Claude
Use the hosted URL with OAuth where the client supports it. Account-owned API-key headers remain an alternative. The production OAuth flow and MCP invocation have been verified with an outside client, but not through ChatGPT's or Claude's own connection UI. Google account signup still needs this application's configured OIDC client. Public directory review and submission are not complete. Do not promise in-chat purchase: current ChatGPT plugin rules prohibit selling digital credits through the plugin.
Installation
Installing via Smithery
To install youtube-translate-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @brianshin22/youtube-translate-mcp --client claudeInstalling Manually
This package requires Python 3.12 or higher:
# Using uv (recommended)
uv pip install youtube-translate-mcp
# Using pip
pip install youtube-translate-mcpOr install from source:
# Clone the repository
git clone https://github.com/yourusername/youtube-translate-mcp.git
cd youtube-translate-mcp
# Using uv (recommended)
uv pip install -e .
# Using pip
pip install -e .Usage
To run the server:
# Using stdio transport (default)
YOUTUBE_TRANSLATE_API_KEY=your_api_key youtube-translate-mcp
# Using SSE transport
YOUTUBE_TRANSLATE_API_KEY=your_api_key youtube-translate-mcp --transport sse --port 8000Docker
You can also run the server using Docker:
# Build the Docker image
docker build -t youtube-translate-mcp .
# Run with stdio transport
docker run -e YOUTUBE_TRANSLATE_API_KEY=your_api_key youtube-translate-mcp
# Run with SSE transport
docker run -p 8000:8000 -e YOUTUBE_TRANSLATE_API_KEY=your_api_key youtube-translate-mcp --transport sseEnvironment 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
# Create and activate a virtual environment using uv (recommended)
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies using uv
uv pip install -e .
# Alternatively, with standard tools
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .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:
{
"mcpServers": {
"youtube-translate": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/youtube-translate-mcp",
"run",
"-m", "youtube_translate_mcp"
],
"env": {
"YOUTUBE_TRANSLATE_API_KEY": "YOUR_API_KEY"
}
}
}
}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):
{
"mcpServers": {
"youtube-translate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YOUTUBE_TRANSLATE_API_KEY",
"youtube-translate-mcp"
],
"env": {
"YOUTUBE_TRANSLATE_API_KEY": "YOUR_API_KEY"
}
}
}
}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.
Directory submissions and launch learnings
See submission/README.md for the ChatGPT review status, Claude preparation, exact findings and fixes, evidence, and remaining steps. The cross-product submission playbook captures reusable requirements and failure modes for future services.
License
MIT
Available Tools
5 toolsget_subtitlesCInspect
Generate subtitle files for a YouTube video
Inputs: url (required), language, format.
get_summaryCInspect
Generate a summary of a YouTube video
Inputs: url (required), language, length.
get_transcriptCInspect
Get the transcript of a YouTube video
Inputs: url (required).
get_translationCInspect
Get a translated transcript of a YouTube video
Inputs: url (required), language (required).
search_videoCInspect
Search for specific content within a YouTube video's transcript
Inputs: url (required), query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: get_subtitles generates subtitle files, get_summary creates a summary, get_transcript retrieves the transcript, get_translation provides a translated transcript, and search_video searches within a transcript. There is no overlap or ambiguity between these functions.
All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_subtitles, get_summary). The naming is uniform and predictable across all five tools.
With 5 tools, the server is well-scoped for YouTube translation and content analysis. Each tool serves a unique and necessary function, making the count appropriate without being too thin or heavy.
The tool set covers core operations for YouTube video analysis: retrieving transcripts, generating summaries and subtitles, translating, and searching. A minor gap might be the lack of tools for managing or editing transcripts, but the existing tools support key workflows effectively.
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video captions and subtitles through a simple interface.11,237 npm603MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables retrieval of transcripts from YouTube videos with language-specific support.11,237 npm1MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.110 npm4MIT
- AlicenseAqualityDmaintenanceA 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.1327 npm39MIT