Research a YouTube channel from Claude Code with MCP: uploads, transcripts and comments
Most "chat with a YouTube video" setups stop at one video: paste a link, get a summary. The more useful question is usually bigger than one video. What has this channel been covering lately? Which video got the most attention? What are viewers asking for in the comments?
That takes three kinds of data: a channel's recent uploads, the transcripts, and the comments. With an MCP server, Claude Code can fetch all three itself, in one conversation, without you copying anything.
This post walks through that workflow with the GetYouTubeTranscript MCP server. (Disclosure: I work on it.)
1. Connect the server
The server is remote (Streamable HTTP), so there is nothing to install or run locally. Create an API key in the dashboard, then register it:
claude mcp add --transport http getyoutubetranscript \ https://getyoutubetranscript.com/api/mcp \ --header "Authorization: Bearer sk_live_..." Add -s user to make it available in every project instead of only the current one. Run /mcp inside Claude Code to confirm it connected and lists its tools.
Cursor, VS Code, Cline, Codex and Gemini CLI take the same URL and bearer header; only the config file differs. Clients that only do OAuth (such as ChatGPT connectors) can point at the same URL and go through an OAuth flow instead of pasting a key.
2. Ask about the channel, not a video
Start broad:
What has @Fireship posted in the last two weeks? Sort by views.
Claude calls get_channel_latest_videos, which returns the channel's details plus its 15 newest uploads. A trimmed piece of the real response:
{ "channel": { "title": "Fireship", "subscribers": 4350000, "videos": 871 }, "videos_sections": [{ "section_title": "Latest Videos", "videos": [ { "id": "Me_NU5PI8Vk", "views": 1400000, "length": "6:08", "published_time": "1 day ago" }, { "id": "sPGzM3ktJVE", "views": 2300000, "length": "11:37", "published_time": "5 days ago" } ] }] } Because the result is structured (views, length, age), the model can sort and filter it without guessing.
3. Pull the transcripts it needs
Next:
Get the transcripts of the top three and tell me what topics they share. Quote the line where each one makes its main claim, with timestamps.
That is get_youtube_transcript with timestamps: true, once per video. Each caption line comes back prefixed with its [m:ss] start time, so quotes point to an exact moment you can check.
A few behaviours worth knowing:
- Captions first. By default the tool only returns a video's existing captions (1 credit). If a video has none, it says so rather than inventing text.
- No captions? Ask again with
mode: "auto"and it falls back to an AI speech-to-text transcript of the audio (3 credits per minute of video). Long videos return ajob_id, andget_transcript_jobcollects the result. - Other languages.
languagepicks a caption track;translatemachine-translates the transcript and keeps timestamps aligned.
4. Read the audience
Read the top comments on the most-viewed one. What are people asking for?
get_video_comments returns one page of top comments (text, likes, reply count); the model passes the continuation token back for more pages. This is often the most useful step: it turns "what did the creator say" into "what does the audience want next".
5. Go wider when you need to
The same server has tools for the rest of a research session:
| Tool | Use it for |
|---|---|
search_youtube | Find videos or channels on a topic |
search_channel_videos | Find a topic inside one channel |
list_channel_videos / list_playlist_videos | Full upload history or a whole playlist, paginated |
get_video_details | Views, likes, upload date, tags, description |
get_related_videos | What YouTube suggests next to a video |
get_credits | Check your remaining balance |
Paginated tools all use a continuation token from the previous response instead of offset/limit.
Why MCP instead of a script
You could write this as a script against the REST API, and for a fixed pipeline you should. The MCP version shines when the questions change as you go: you start with "what's new on this channel", notice one video took off, and drill into its transcript and comments without writing code for each step. The model picks the tool; you keep asking questions.
Try it
- MCP setup for every client: https://getyoutubetranscript.com/youtube-mcp-server
- Full walkthrough on our blog: https://getyoutubetranscript.com/blog/mcp-server-youtube-transcripts
- REST API docs: https://getyoutubetranscript.com/docs
Most calls cost 1 credit, so the whole workflow above (one channel lookup, three transcripts, one page of comments) is about 5 credits.