YouTube Transcript MCP Server
Retrieves a YouTube video's title, duration, and transcript with language preference support.
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 Transcript MCP Servertranscript of YouTube video https://youtu.be/dQw4w9WgXcQ"
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 Transcript MCP Server
A simple Model Context Protocol (MCP) server that retrieves a YouTube video's title, duration, and transcript.
Features
Get YouTube video title
Get video duration
Automatically fetch the best available transcript
Language preference:
Hindi (
hi)Marathi (
mr)English (
en)
Compatible with MCP clients such as Claude Desktop and VS Code
Related MCP server: YouTube Video Summarizer MCP Server
Requirements
Python 3.10+
Internet connection
Installation
Clone the repository:
git clone https://github.com/<your-username>/youtube-transcript-mcp.git
cd youtube-transcript-mcpInstall dependencies:
pip install -r requirements.txtOr install manually:
pip install mcp youtube-transcript-api yt-dlpProject Structure
youtube-transcript-mcp/
ā
āāā server.py
āāā requirements.txt
āāā README.mdRun
python server.pyMCP Tool
youtube_transcript
Input
{
"url": "https://www.youtube.com/watch?v=VIDEO_ID"
}Output
{
"title": "Sample Video",
"duration": "18:42",
"language": "Hindi",
"language_code": "hi",
"transcript": "Complete transcript..."
}Claude Desktop Configuration
{
"mcpServers": {
"youtube-transcript": {
"command": "python",
"args": [
"/path/to/server.py"
]
}
}
}Replace /path/to/server.py with the location of your server.py.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Search YouTube, read video metadata, and fetch transcripts with language preferences
Transcripts of YouTube videos, playlists and channels in any language: text, SRT, VTT or JSON.
Transcripts of YouTube videos, playlists and channels with timestamps; SRT or WebVTT too.
1Fetch the full transcript of any YouTube video as clean text. No API key, no signup.
Related MCP Servers
- AlicenseAqualityDmaintenanceRetrieves transcripts from YouTube videos with support for multiple languages, timestamp control, and language detection. Enables video content analysis, summarization, and quote extraction without manually downloading or watching videos.272 npm15MIT
- AlicenseBqualityFmaintenanceEnables AI assistants to analyze and summarize YouTube videos by extracting captions, subtitles, and comprehensive metadata including title, description, and duration in multiple languages.128 npm62MIT
- FlicenseDqualityDmaintenanceEnables AI assistants to fetch and analyze transcripts from YouTube videos using video IDs or URLs, with support for multiple language preferences.1-
- AlicenseAqualityDmaintenanceEnables fetching, searching, and summarizing YouTube video transcripts with multi-language support.4MIT