Black Friday · 30% off

Get 30% off

Playlist → RAG corpus

Video knowledge bases fail because nobody rewatches videos. Transcripts with per-line timings make a corpus you can search, and every answer can link to the exact second it came from.

What you get

  • Chunks that respect caption boundaries instead of cutting sentences
  • Metadata per chunk: video id, title, channel, start second
  • Citations that open the video at the right moment (&t=123s)

With an AI assistant

Connect the MCP server to Claude, ChatGPT or Cursor, then paste:

This one is usually code, not a chat. The API loop below lists every video, fetches timed transcripts and writes chunks ready for your embedding model.

With the API

Set GYT_API_KEY to a key from the developers page. Each transcript, list page or channel check costs one credit.

  1. 1. List every video (follow continuation until it is null)

    curl -s -H "Authorization: Bearer $GYT_API_KEY" \
      "https://getyoutubetranscript.com/api/v1/playlist?list=PLAYLIST_ID"
  2. 2. Fetch timed segments for each video (they are in data.segments)

    curl -s -H "Authorization: Bearer $GYT_API_KEY" \
      "https://getyoutubetranscript.com/api/v1/transcript?v=VIDEO_ID&timestamps=true"
  3. 3. Chunk on segment boundaries (Python)

    def chunks(video, segments, max_chars=1200):
        buf, start = [], None
        for s in segments:
            start = s["start"] if start is None else start
            buf.append(s["text"])
            if sum(len(t) for t in buf) > max_chars:
                yield {"text": " ".join(buf), "video_id": video, "start": start,
                       "url": f"https://youtu.be/{video}?t={int(start)}"}
                buf, start = [], None
        if buf:
            yield {"text": " ".join(buf), "video_id": video, "start": start,
                   "url": f"https://youtu.be/{video}?t={int(start)}"}

Limits to know

  • Transcripts cached before segments were stored come back without timings; chunk those by characters.
  • Re-fetching a transcript costs a credit each time, so store what you ingest.

Tools for this workflow

Questions

Is there a LangChain or LlamaIndex loader?

Yes. langchain-getyoutubetranscript and llama-index-readers-getyoutubetranscript return Documents with the same metadata and optional segments.

Will YouTube block my server?

No. The API fetches captions on its own servers, so your ingestion job never calls YouTube directly.

More workflows

Featured on aitoolfame.comFeatured on Aura++Featured on DeepLaunch.ioFeatured on Dofollow.ToolsFeatured on EasyDoFollowFeatured on EarlyHuntFeatured on Findly.toolsFeatured on FoundrListGood AI ToolsFeatured on IndieHuntFeatured on LaunchBuffFeatured on launched.toolsFeatured on Launch Llama ToolsFeatured on LemonLaunchLiftOff launch badgeMy Launch StashGetYouTubeTranscript on Nick LaunchesOpenHunts Club MemberFeatured on saasfame.comShinyLaunchFeatured on ShowMeBestAIFeatured on toolfame.comListed on Turbo0Featured on Twelve ToolsHuzzler Embed BadgeFeatured on CodeHypeGetYouTubeTranscript on Better LaunchDokeyAIFeatured on WayfindioFeatured on LaunchZoneFeatured on NoonlaunchFeatured on WhatsthebigdataSurfaced on CodeTrendyFeatured on ScrollLaunchFeatured on ufind.bestFeatured on ShipBoostProduct WingWe Like ToolsAppa ListAcid ToolsPower Up ToolsToshi ListAIGC 160Appsy ToolsHunt for ToolsBeam ToolsTool Find DirTool SignalSaaS Tools DirSoftware BoltProduct List DirStack DirectorySaaS FieldSaaS WheelSaaS RootsStartup BenchmarksUnite ListTrustinerBest Tool VaultSolver ToolsAsh ListSmart Kit HubAI X CollectionAI Tech ViralMillion Dot HomepageThat App ShowLaunch ScrollMy Start ToolsLatest AI UpdatesSuper AI BoomTools Under RadarThe Key ToolsTool JourneyTools List HQThe App ToolsThe Mega ToolsSource DirTool CosmosTop Trend ToolsTiny Tool HubTool PrismStartup AIdeasFeatured on WonderLaunchFeatured on ShipycornFeatured on ToolsClawListed on ProofStoriesFeatured on ToolListedLaunched on Launch Streak