How to Summarize YouTube Videos with Claude Code (AI Summary)

Technical work involves a lot of video content — library demos, recorded standups, conference talks, product walkthroughs. Watching a full video to extract one piece of information is a real time sink. With AgentPatch connected to Claude Code, you can ask your agent to summarize a YouTube video and get the relevant content without leaving your terminal.

Why This Matters

Claude Code is good at synthesizing information. Give it a transcript and it can extract the key points, find specific explanations, or rewrite content in the style you need. The gap has been getting the transcript in the first place.

AgentPatch fills that gap. The YouTube Transcript tool fetches the full transcript of any public video, including timestamps. Claude Code can then summarize it, extract specific sections, or use it to inform whatever you’re working on — all as part of your existing session.

Setup

Install the AgentPatch CLI (zero dependencies, Python 3.10+):

pip install agentpatch

Set your API key:

export AGENTPATCH_API_KEY=your_api_key

Then use it:

ap search "web search"
ap run agentpatch google-search --input '{"query": "test"}'

Get your API key from the AgentPatch dashboard.

Run this command to add AgentPatch as an MCP server:

claude mcp add -s user --transport http agentpatch https://agentpatch.ai/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Claude Code discovers all AgentPatch tools automatically.

Example

You’re reviewing a pull request that references a design decision explained in a recorded meeting. You ask Claude Code:

“Summarize this recorded discussion — specifically what was decided about the auth approach: https://youtube.com/watch?v=internal-recording

Claude Code fetches the transcript through AgentPatch and gives you a focused summary of the auth discussion with relevant timestamps. You can verify the specifics without watching the full recording.

Another example: you’re writing a technical blog post and want to reference a well-known talk.

“Summarize this keynote into three bullet points I can use in a ‘further reading’ section.”

Claude Code fetches the transcript and writes the bullets. You get citable content without watching the video.

You can also chain it with other work:

“Get the transcript from this tutorial video and then update our onboarding docs with any steps we’re missing.”

Claude Code fetches the transcript and compares it against your existing docs in the same session.

Wrapping Up

This also works as a youtube video to text conversion tool — if you need the raw transcript rather than a summary, just ask for it. Claude Code acts as a youtube summary AI that gives you exactly the level of detail you need, from full transcripts to one-line takeaways.

YouTube summarization is one use case. Adding AgentPatch to Claude Code gives you access to the full tool marketplace — web search, email, image generation, maps, and more — with one config change. Visit agentpatch.ai to get started.