YouTube Transcripts MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| APIFY_TOKEN | Yes | Your Apify API token, used to authenticate with the hosted MCP endpoint (sent as `Authorization: Bearer <APIFY_TOKEN>` or as a `token` query parameter). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
YouTube transcripts for AI agents. Use search_videos to find videos, get_transcript for the full transcript (text, timestamped segments or SRT) plus video metadata and available caption languages, get_video_chapters for creator chapters (or topic segments derived from the transcript), and summarize_transcript for an extractive summary with key points, keywords, per-chapter bullets and timestamped quotes. Errors carry a stable code (e.g. TRANSCRIPTS_DISABLED, NO_TRANSCRIPT_FOUND, AGE_RESTRICTED, REQUEST_BLOCKED).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_transcriptA | Fetch the transcript (captions) of a YouTube video plus metadata: title, channel, duration, views, publish date, available caption languages and whether the returned transcript is auto-generated. Formats: 'text' (plain text; with include_timestamps, ~30 s paragraphs prefixed [m:ss]), 'segments' (array of {start, duration, text}) or 'srt'. Can machine-translate captions via YouTube (translate_to). |
| search_videosA | Search YouTube videos by keyword (YouTube's InnerTube search API, the same one the website uses). Returns video id, title, channel, duration, views, relative publish time, description snippet, thumbnail and badges. Optional filters: upload_date, duration (short <4 min, medium 4-20 min, long >20 min), sort_by, and features (e.g. 'subtitles' = only videos with captions). |
| get_video_chaptersA | Chapters of a YouTube video with start/end times and deep links. Uses the creator's chapters from the description (or YouTube's chapter markers) when present; otherwise derives topic segments from the transcript (time windows + keyword-shift detection) and titles them with their distinctive keywords and a representative sentence. |
| summarize_transcriptA | Structured extractive summary of a YouTube video without an LLM: TL;DR, key points (TextRank over TF-IDF sentence similarity, de-duplicated), keywords/keyphrases, bullets per chapter (creator chapters or derived topic segments) and notable quotes. Every point carries a timestamp and a deep link to that moment. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct output: raw captions (get_transcript), discovery (search_videos), structure (get_video_chapters), and condensed summary (summarize_transcript). The only mild overlap is that get_video_chapters and summarize_transcript both derive topic segments from transcripts, but the descriptions make the difference in output shape clear.
All four names follow a consistent snake_case verb_noun pattern (get_*, search_*, summarize_*). The verbs accurately signal the operation and resource, with no mixed conventions.
Four tools is a tight, well-scoped set covering the search → fetch → structure → summarize workflow with no redundancy. It is on the lean side, but each tool clearly earns its place given the narrow YouTube-transcript domain.
The surface covers discovery, transcript retrieval with format/translation options, chapter extraction, and summarization, which is the full lifecycle for this domain. Minor gaps exist (no batch/multi-video transcript fetch or standalone metadata/playlist lookup), but agents can work around them.