# YouTube Transcript Server

> Retrieve YouTube captions, with optional analysis of direct video files.

- **URL**: https://followmcp.com/en/servers/mcp-server-youtube-transcript
- **Category**: Other
- **Origin**: Community
- **Stars**: 611
- **FMRS Score**: 49/100 (Grade D)
- **Source**: https://github.com/kimtaeyoon83/mcp-server-youtube-transcript
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 18+
- **Auth**: Optional API key

## Overview
YouTube Transcript Server is an MCP server for retrieving captions and transcripts from YouTube videos. It accepts video URLs, Shorts URLs, or video IDs, supports a requested caption language, can include timestamps, and filters sponsorships and ads based on chapter markers by default. Its optional analyze_video tool uses TwelveLabs Pegasus to analyze publicly reachable direct video file URLs; YouTube watch page URLs are not supported by that tool.

## Best for
- Users who need captions or transcript text from YouTube videos.
- Users who want optional video analysis and can provide a TwelveLabs API key.

## Not for
- Users who need visual analysis of YouTube watch page URLs; analyze_video requires a direct video file URL.
- Users who require captions to exist for every video or in a specific language.

## Required permissions
- get_transcript needs access to YouTube to retrieve video captions.
- Enabling analyze_video requires TWELVELABS_API_KEY; TwelveLabs fetches the provided direct video file server-side.
- If APIFY_TOKEN is configured, failed transcript requests are retried through Apify's YouTube Transcripts Actor and billed to the Apify account.

## Risks
- Captions may be unavailable, and a requested language may not exist; language fallback can return another available language.
- The default ad and sponsorship filter relies on chapter markers and may affect returned transcript content.
- Apify retries incur charges; the README estimates about $0.003 per transcript.
- analyze_video sends the direct video URL to TwelveLabs for server-side retrieval.

## Client config (JSON)
```json
{"mcpServers":{"youtube-transcript":{"command":"npx","args":["-y","@kimtaeyoon83/mcp-server-youtube-transcript"]}}}
```

## Tools (2)
- `get_transcript`: Retrieve captions or transcript text for a YouTube video, with optional language selection, timestamps, and ad filtering. It falls back to available languages when the requested language is unavailable.
- `analyze_video`: Analyze a publicly reachable direct video URL with TwelveLabs Pegasus. Requires TWELVELABS_API_KEY; YouTube watch page URLs are not supported.
