LurkAPI

How to get a YouTube transcript into Claude

Claude can’t open a YouTube link, but it reads captions. Add a transcript connector in claude.ai or Claude Code, or paste the transcript with timestamps.

5 min read

A tablet on a stand showing a video, with a long ribbon of lined paper unrolling from it, jade tabs along its margin and one amber tab marking a single line.

Claude can’t watch a YouTube video, and pasting the link doesn’t change that. It reads captions, so you hand it those: paste the transcript yourself, or add a connector that fetches it every time you drop in a link. For one video, pasting is fine. If you do this often, the connector takes two minutes to set up and the copying stops.

With only a link, Claude summarizes someone else’s summary

Give Claude only a link and it improvises. Asked in Claude Code to summarize a 35-minute Veritasium video, it first tried to download the captions with yt-dlp, a command-line tool it needs your permission to run. Then it fetched the YouTube page, which gave it the title and little else. So it searched the web, found a third-party summary site and summarized that.

It said so, but the section times it gave, 2:45, 9:40 and 18:00, came from the summary site. The video’s own chapters start at 3:09, 5:27 and 8:04. A summary built this way reads fine and sends you to the wrong minute. The Claude apps have the same gap: Claude reads text and images, and its uploads take neither video nor audio.

The same prompt, twice: with only the link, Claude spent 48 seconds and answered from a summary site; with the connector it answered from the captions in 24.

Add a transcript connector once, then just paste links

A connector gives Claude a tool it can call on its own. LurkAPI’s gives it youtube_transcript: you paste a link, Claude fetches the captions and answers from what was said.

claude.ai and Claude Desktop

  1. Open Customize > Connectors, click Add custom connector and paste https://api.lurkapi.com/mcp?platforms=youtube. If it asks how Claude should identify itself, pick Register automatically.
  2. Sign in on lurkapi.com with Google or an email code, then click Allow. New accounts get 100 free credits, and a lower balance tops back up to 25 every day.
  3. In a chat, click + > Connectors and switch LurkAPI on.

From then on it works in the Claude mobile app too. Free plans allow one custom connector (Anthropic’s guide); on Team and Enterprise, an Owner adds it and members click Connect.

Claude Code

If Claude Code is signed in with the same Claude account, the connector is already there. If not, it’s one command. Keep the quotes: zsh, the default shell on a Mac, trips over a bare ?.

Terminal · Claude Code
claude mcp add --transport http lurkapi "https://api.lurkapi.com/mcp?platforms=youtube"

Claude asks you to sign in the first time it uses it, or run /mcp to do it now. For scripts, skip the sign-in and pass a key with --header "x-api-key: $LURK_KEY".

A transcript costs 1 credit. It reads the captions, the creator’s own or YouTube’s automatic ones, in any language the video has them. Claude usually fetches the video’s details alongside (title, chapters, views) for 1 credit more, so a summary comes to 2 credits, and the 100 free credits cover about 50 summaries. A two-hour podcast arrives in three parts: you pay for the first, and Claude fetches the rest free for 15 minutes.

Then ask the way you’d ask a friend who watched it. The connector also reads comments and channels, so these all work:

  • “Summarize this video with its chapter times.”
  • “Where does she talk about pricing? I want to clip it.”
  • “What do the top comments push back on?”
  • “Summarize the last five uploads on this channel, one line each.” That’s one call for the list and a transcript per video, 6 credits.

Plain text for summaries, timestamps to find a moment

Timestamps take room. That 35-minute video is about 37,000 characters as plain text. As timed lines, with a start and an end on each of its 903 captions, it’s about 98,000. A summary doesn’t need the times; finding a moment does.

So the connector sends plain text by default, and the timed lines only when Claude asks for them. Ask, in the same chat, where the video talks about the turkey because you want to clip it, and Claude calls the tool again with timestamps on.

Asked where the turkey comes up, Claude fetched the timed lines and found 6:02 to 7:09.

The turkey bit runs from 6:02 to 7:09, about 66 seconds. … The answer ends at 7:08.96 on “...not 100% longer.”

It cost 1 credit. If you paste a transcript instead, keep the timestamps for the same reason: without them Claude can quote a passage but can’t tell you where it is. Our free transcript tool has a Copy with timestamps button.

What Claude got back for the turkey question (trimmed)
Tool result · 4 of 413 lines
{
  "success": true,
  "credits_charged": 1,
  "_note": "Part of the result, to fit: transcript 1–413 of 903. For the rest (transcript, availableLanguages), call again with the same arguments and offset=413 (free for 15 minutes).",
  "transcript": [
    { "text": "- Really familiar example would", "startMs": 362520, "endMs": 364800, "startTimeText": "6:02" },
    { "text": "come from thinking about cooking.", "startMs": 364800, "endMs": 367666, "startTimeText": "6:04" },
    { "text": "(mellow music)", "startMs": 367666, "endMs": 367680, "startTimeText": "6:07" },
    { "text": "Maybe you want to make a big turkey for Thanksgiving.", "startMs": 367680, "endMs": 370320, "startTimeText": "6:07" }
  ]
}

Other ways to get the transcript

WayWorks inEach time you
YouTube’s Show transcript panelAny chat, by pastingCopy by hand, paste
Our free transcript toolAny chat, by pastingCopy and paste
An open-source local MCP serverClaude Desktop, Claude CodeKeep it running
The LurkAPI connectorEvery Claude appPaste a link

Local servers run on your computer, so claude.ai and the phone app can’t reach them. Run on a server, the same kind of fetch tends to meet YouTube’s bot check: why youtube-transcript-api gets blocked.

Building transcripts into your own app instead? The same transcript is one HTTP call:

Video transcriptWhat's said in a video or Short: its captions as timed segments and as one block of text.GET/v1/youtube/video/transcript1 credit per callRead the docs

Questions

How do I get a YouTube transcript for Claude?

Add a transcript connector and paste the link: in claude.ai it’s Customize > Connectors > Add custom connector, in Claude Code it’s claude mcp add. For a single video you can also copy the transcript, with timestamps, and paste it into the chat.

Can Claude watch YouTube videos?

No. Claude reads text and images, not video. Given only a link it sees little more than the title; given the captions, through a connector or pasted in, it can summarize the video, quote it and find moments in it.

Can Claude summarize YouTube videos?

Yes, from the transcript. Without one it may summarize a third-party summary page instead, with that page’s section times rather than the video’s.

Is there a YouTube connector for Claude?

Not from Google or Anthropic. You add one as a custom connector, such as https://api.lurkapi.com/mcp?platforms=youtube; the Free plan allows one custom connector.

What is a YouTube transcript MCP server?

A server that hands Claude a video’s captions as a tool result. Remote ones work in claude.ai, Claude Desktop, the mobile app and Claude Code; local ones run on your computer, for Claude Desktop and Claude Code.

Keep reading