mcp-youtube-transcript-downloader
Allows downloading transcripts from YouTube videos using the Supadata API, providing tools to retrieve and save transcripts for analysis.
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., "@mcp-youtube-transcript-downloaderget transcript of 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.
š¬ MCP YouTube Transcript Downloader
Download YouTube video transcripts directly into your AI workflow ā no more copying/pasting!
A minimalist MCP server that fetches transcripts from YouTube videos using the Supadata API. Perfect for AI assistants that need to analyze video content, create summaries, or extract key information.
ā” Features
šÆ Two handy tools ā
get_transcriptfor quick downloads,get_transcript_and_savefor full path controlš¦ Zero dependencies ā lightweight and fast
š Flexible auth ā token from file or environment variable
š”ļø Basic error handling ā clear error messages when things go wrong
Related MCP server: ytt-mcp
š Quick Start
Prerequisites
Node.js 18 or higher
A free Supadata API key
Installation
# Install dependencies
npm install
# Build the project
npm run build
# Or use directly with npx
npx @milor123/mcp-youtube-transcript-downloaderGet Your Free API Key
Sign up at https://supadata.ai
100 requests/month FREE ā no credit card required! Perfect for personal projects and experimentation.
Configuration
Create a token_api.txt file in the project root with your API key:
sd_your_api_key_hereOr set an environment variable:
export SUPADATA_API_KEY="sd_your_api_key_here"š„ Available Tools
get_transcript
Downloads a YouTube video transcript and saves it to a .txt file. Returns the transcript content and filename for use in subsequent operations.
Parameter | Type | Required | Description |
| string | ā | Full YouTube video URL (e.g., |
| string | ā | Custom filename without extension. If omitted, uses the video ID |
Returns:
contentā The full transcript text_meta.filenameā The filename where transcript was saved_meta.videoIdā The extracted YouTube video ID
Example request:
{
"youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"filename": "rick_roll_transcript"
}Example response:
{
"content": [
{
"type": "text",
"text": "Never gonna give you up, never gonna let you down..."
}
],
"_meta": {
"filename": "rick_roll_transcript.txt",
"videoId": "dQw4w9WgXcQ"
}
}get_transcript_and_save
Downloads a YouTube video transcript and saves it to a specific filepath of your choice. Great when you need precise control over where files are stored.
Parameter | Type | Required | Description |
| string | ā | Full YouTube video URL |
| string | ā | Full filepath including |
Returns:
Confirmation message with the filepath where the transcript was saved
Example request:
{
"youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"filepath": "C:/Users/You/Documents/my_transcripts/rick_roll.txt"
}Example response:
{
"content": [
{
"type": "text",
"text": "Transcript saved to C:/Users/You/Documents/my_transcripts/rick_roll.txt"
}
]
}š” Tip: This tool automatically creates parent directories if they don't exist!
š¤ AI Client Configuration
OpenCode
Option 1 - Remote (recommended - coming soon)
{
"mcpServers": {
"youtube-transcript": {
"type": "remote",
"url": "https://your-remote-mcp-server.com/youtube-transcript",
"environment": {
"SUPADATA_API_KEY": "sd_your_api_key_here"
}
}
}
}Remote hosting allows sharing a single MCP server across multiple users. Contact the maintainer for server access.
Option 2 - Local (npx installation)
{
"mcpServers": {
"youtube-transcript": {
"type": "local",
"command": ["npx", "@milor123/mcp-youtube-transcript-downloader"],
"enabled": true,
"environment": {
"SUPADATA_API_KEY": "sd_28bee9cd727665ed7a6ceebcf4c90334"
}
}
}
}Claude Desktop
{
"mcpServers": {
"youtube-transcript": {
"command": "node",
"args": ["/full/path/to/dist/index.js"],
"env": {
"SUPADATA_API_KEY": "sd_your_api_key_here"
}
}
}
}š° Supadata Free Tier
Feature | Limit |
Requests per month | 100 |
Credit card required | ā No |
Cost | Free! |
Get your API key at https://supadata.ai
š Project Structure
@milor123/mcp-youtube-transcript-downloader/
āāā src/
ā āāā index.ts # Main MCP server implementation
āāā dist/ # Compiled JavaScript output (generated after build)
āāā token_api.txt # Your API token (never commit this!)
āāā package.json
āāā tsconfig.json
āāā README.mdā¤ļø Credits & Acknowledgments
This project was inspired by a script created by Mutti from GreasyFork. Thank you for the original idea that sparked this MCP server!
š License
MIT License ā feel free to use it in your projects!
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
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.
An MCP server that provides congressional transcripts
An MCP server that provides tools to discover and retrieve podcast episodes transcripts.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceSimple MCP server that returns the transcription of a Youtube video using url and desired language.-
- AlicenseBqualityDmaintenanceAn MCP server designed to fetch transcripts for YouTube videos. It enables AI tools to access video text content for tasks like summarization, analysis, and key takeaway extraction.174MIT
- AlicenseAqualityCmaintenanceMCP server for YouTubeTranscript.dev ā extract transcripts, manage history, and power AI assistants with YouTube content.541 npmMIT
- FlicenseNot gradedqualityDmaintenanceThis MCP server fetches and extracts transcripts from YouTube videos, enabling AI language models to access and analyze video content.1-