Ytranscript MCP logo

Ytranscript MCP

Fetches YouTube transcripts, including AI transcriptions for videos without captions, with language, format, and length controls.

Install Ytranscript MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ytranscript-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ytranscript-mcp"
      ],
      "env": {
        "YTRANSCRIPT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y ytranscript-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The ytranscript-mcp MCP server gives AI clients access to YouTube transcripts through the yTranscript API. Its `get_transcript` tool accepts YouTube URLs or video IDs, can select a language and output format, and can limit response length. Videos without captions are processed with AI speech-to-text. Use it when an agent needs to summarize, search, translate, or cite spoken YouTube content, including from cloud-hosted environments.

Use cases

  • Summarize a YouTube video from its URL
  • Find statements and timestamps about a topic
  • Translate transcripts from another language
  • Limit long transcripts before sending them to a model

Key features

  • Retrieve transcripts from YouTube URLs or video IDs
  • Transcribe videos without captions with AI speech-to-text
  • Select a caption language
  • Return plain text or timestamped segments
  • Limit transcript length by character count
  • Report units used and monthly usage

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 63d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · ytranscript-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads974Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Ytranscript MCP works

What ytranscript-mcp MCP server does

ytranscript-mcp MCP server exposes YouTube transcript retrieval to MCP-compatible AI clients. It uses the yTranscript API rather than requesting transcript data directly from YouTube, which allows it to run from environments such as AWS, Lambda, Vercel, and n8n Cloud without requiring you to purchase proxies. The API also handles situations where cloud IP addresses are blocked for transcript requests.

The server supports videos with and without captions. Captioned videos return the available transcript, while videos without captions are processed with AI speech-to-text. By default, the response uses the language actually spoken in the video, including cases involving auto-dubbed videos. You can request a particular caption language when needed.

How it works

The get_transcript tool takes either a YouTube URL or an 11-character video ID. Supported URL forms include standard watch links, youtu.be links, Shorts, and embedded videos. The tool returns plain text by default. A timestamped format instead produces one line per transcript segment with timestamps such as [m:ss].

Set max_characters to keep lengthy transcripts within an agent's context budget. When the result is shortened, the response indicates how much content was omitted. Each response also reports the units consumed by the request and the running monthly total.

Caption-based transcripts cost 1 unit, while AI transcription for a video without captions costs 15 units. Failed requests do not consume units. The API's free plan provides 50 units per month without requiring a card; paid plans provide higher monthly limits.

Setup and configuration

The ytranscript-mcp MCP server requires an API key from the yTranscript developer portal. Store the key in the YTRANSCRIPT_API_KEY environment variable. The documented installation command runs the package with npx:

Terminal
npx -y ytranscript-mcp

For Claude Code, add the server with claude mcp add and pass the environment variable. Claude Desktop, Cursor, and VS Code use their respective MCP configuration files with the same command, arguments, and environment variable. Other MCP clients that run stdio servers can use the same arrangement.

Tools and capabilities

The server provides one documented tool:

  • get_transcript: Retrieves transcript content for a YouTube URL or video ID.
  • lang: Optionally selects a caption track such as en or es.
  • format: Returns plain text or timestamped transcript segments.
  • max_characters: Limits the approximate response length.

These options support tasks such as summarizing a video, finding what a speaker says about a topic with timestamps, or obtaining a Spanish transcript before translating it into English.

Limitations and notes

ytranscript-mcp MCP server usage is metered through the yTranscript API. Videos without captions use substantially more units than videos with captions, so repeated AI transcription can consume the monthly allowance quickly. The free plan includes 50 units per month.

The server needs a valid API key and access to the yTranscript service.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ytranscript MCP

ytranscript-mcp is an MCP server that connects AI tools to YouTube transcripts through the yTranscript API. Its get_transcript tool accepts YouTube URLs or video IDs, supports language and format selection, limits output length, and uses AI speech-to-text for videos without captions.

Install it by running `npx -y ytranscript-mcp` from an MCP client's stdio configuration and setting `YTRANSCRIPT_API_KEY`. The README provides configurations for Claude Code, Claude Desktop, Cursor, and VS Code.

Yes, ytranscript-mcp works with Cursor through its MCP configuration. Add the server to `~/.cursor/mcp.json` or a project-level `.cursor/mcp.json`, use `npx -y ytranscript-mcp`, and provide the API key in the environment settings.

Yes, it can transcribe videos without captions using AI speech-to-text. These requests cost 15 units, compared with 1 unit for a transcript retrieved from captions.

Set the `max_characters` argument on `get_transcript` to an approximate character limit. The response reports how much transcript content was left out when the result is cut.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYtranscript MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ytranscript-mcp?style=directory)](https://allmcps.com/mcp/ytranscript-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ytranscript-mcp"><img src="https://allmcps.com/api/badge/ytranscript-mcp?style=directory" alt="Ytranscript MCP on AllMCPs" /></a>