ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

YouTube-Kanal per Claude Code und MCP analysieren

Während typische Zusammenfassungs-Tools bei einem einzelnen Video bleiben, lassen sich mit Claude Code und MCP ganze Kanäle auswerten: hochgeladene Videos, Transkripte und Kommentare. So zeigt sich, welche Themen ein Kanal abdeckt, welche Videos Aufmerksamkeit erhalten und was Zuschauer wünschen.

dev.toMittwoch 18:03 · 02.12.DE3 Min. Lesezeit
Bild: dev.to

Veröffentlicht am 2. Dezember • Ursprünglich veröffentlicht auf getyoutubetranscript.com

Die meisten Setups für das Chatten mit einem YouTube-Video enden bei einem einzigen Video: Link einfügen, Zusammenfassung erhalten. Die nützlichere Frage ist meist größer als ein einzelnes Video. Was hat dieser Kanal in letzter Zeit behandelt? Welches Video hat die meiste Aufmerksamkeit bekommen? Was fordern die Zuschauer in den Kommentaren?

Dafür braucht man drei Arten von Daten: die aktuellen Uploads eines Kanals, die Transkripte und die Kommentare. Mit einem MCP-Server kann Claude Code alle drei selbst abrufen, in einer einzigen Unterhaltung, ohne dass du etwas kopieren musst.

Dieser Beitrag geht den Workflow mit dem GetYouTubeTranscript MCP-Server durch. (Offenlegung: Ich arbeite daran.)

Der Server läuft remote (Streamable HTTP), es muss also nichts lokal installiert oder ausgeführt werden. Erstelle einen API-Key im Dashboard und registriere ihn anschließend:

claude mcp add --transport http getyoutubetranscript \ https://getyoutubetranscript.com/api/mcp \ --header "Authorization: Bearer sk_live_..." Vollbildmodus öffnen Vollbildmodus verlassen Füge -s user hinzu, damit der Server in jedem Projekt verfügbar ist, statt nur im aktuellen. Führe /mcp innerhalb von Claude Code aus, um zu bestätigen, dass die Verbindung steht und die Tools aufgelistet werden.

Cursor, VS Code, Cline, Codex und Gemini CLI verwenden dieselbe URL und denselben Bearer-Header; nur die Konfigurationsdatei unterscheidet sich. Clients, die ausschließlich OAuth unterstützen (wie ChatGPT-Connectors), können dieselbe URL verwenden und stattdessen einen OAuth-Flow durchlaufen, anstatt einen Key einzufügen.

Was hat @Fireship in den letzten zwei Wochen veröffentlicht? Sortiere nach Aufrufen.

Claude ruft get_channel_latest_videos auf, was die Kanaldetails sowie die 15 neuesten Uploads zurückgibt. Ein gekürzter Auszug aus der echten Antwort:

{ "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" } ] } ] } Vollbildmodus öffnen Vollbildmodus verlassen Da das Ergebnis strukturiert ist (Aufrufe, Länge, Alter), kann das Modell es sortieren und filtern, ohne raten zu müssen.

Hole die Transkripte der Top Drei und sag mir, welche Themen sie gemeinsam haben. Zitiere die Zeile, in der jedes seine Kernaussage macht, mit Zeitstempeln.

Das ist get_youtube_transcript mit timestamps: true, einmal pro Video. Jede Untertitelzeile wird mit ihrer [m:ss]-Startzeit als Präfix zurückgegeben, sodass Zitate auf einen exakten Moment verweisen, den du prüfen kannst.

Lies die Top-Kommentare zum meistgesehenen Video. Was fordern die Leute?

get_video_comments gibt eine Seite mit Top-Kommentaren zurück (Text, Likes, Antwortanzahl); das Modell gibt den Continuation-Token für weitere Seiten zurück. Das ist oft der nützlichste Schritt: Er verwandelt „was hat der Creator gesagt“ in „was will das Publikum als Nächstes“.

Derselbe Server bietet Tools für den Rest einer Recherche-Session:

Alle paginierten Tools verwenden einen Continuation-Token aus der vorherigen Antwort statt offset/limit.

Man könnte das als Skript gegen die REST-API schreiben, und für eine feste Pipeline sollte man das auch. Die MCP-Version glänzt, wenn sich die Fragen unterwegs ändern: Du beginnst mit „was gibt es Neues auf diesem Kanal“, bemerkst, dass ein Video durchgestartet ist, und vertiefst dich in sein Transkript und seine Kommentare, ohne für jeden Schritt Code zu schreiben. Das Modell wählt das Tool; du stellst weiter Fragen.

Die meisten Aufrufe kosten 1 Credit, der gesamte obige Workflow (eine Kanalabfrage, drei Transkripte, eine Seite Kommentare) kostet also etwa 5 Credits.

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

Posted on Dec 2 • Originally published at getyoutubetranscript.com

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.)

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_..." Enter fullscreen mode Exit fullscreen mode 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.

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" } ] } ] } Enter fullscreen mode Exit fullscreen mode Because the result is structured (views, length, age), the model can sort and filter it without guessing.

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.

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".

The same server has tools for the rest of a research session:

Paginated tools all use a continuation token from the previous response instead of offset/limit.

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.

Most calls cost 1 credit, so the whole workflow above (one channel lookup, three transcripts, one page of comments) is about 5 credits.

Originaltitel: Research a YouTube channel from Claude Code with MCP: uploads, transcripts and commentsQuelle: dev.to (dev.to). Original öffnen