Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

A minimalist MCP server that fetches transcripts from YouTube videos using the Supadata API.

README.md

🎬 MCP YouTube Transcript Downloader

Download YouTube video transcripts directly into your AI workflow — no more copying/pasting!

![npm version](https://www.npmjs.com/package/@milor123/mcp-youtube-transcript-downloader) ![License: MIT](https://opensource.org/licenses/MIT) ![Node.js 18+](https://nodejs.org/)

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 toolsget_transcript for quick downloads, get_transcript_and_save for 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

---

🚀 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-downloader

Get 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_here

Or 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 | |-----------|------|----------|-------------| | youtube_url | string | ✅ | Full YouTube video URL (e.g., https://www.youtube.com/watch?v=dQw4w9WgXcQ) | | filename | 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: ``json { "youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "filename": "rick_roll_transcript" } ``

Example response: ``json { "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 | |-----------|------|----------|-------------| | youtube_url | string | ✅ | Full YouTube video URL | | filepath | string | ✅ | Full filepath including .txt extension (e.g., C:/Users/You/Documents/transcript.txt) |

Returns:

  • Confirmation message with the filepath where the transcript was saved

Example request: ``json { "youtube_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "filepath": "C:/Users/You/Documents/my_transcripts/rick_roll.txt" } ``

Example response: ``json { "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!

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.