# ytranscript-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/nnnoel/ytranscript-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 974  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ytranscript-mcp

## Description
YouTube transcripts for AI tools. No proxies needed; transcribes videos without captions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ytranscript-mcp": {
    "command": "npx",
    "args": ["-y","ytranscript-mcp"],
    "env": {
      "YTRANSCRIPT_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `YTRANSCRIPT_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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`:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/ytranscript-mcp/readme_

