How to Use YouTube video details and transcript in Claude Code
Returns a YouTube video's metadata, description, and available transcript. Use it to summarize a specific video or inspect its description; transcript availability depends on captions.
Prompts to try with YouTube video details and transcript in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use YouTube video details and transcript for https://www.youtube.com/watch?v=aircAruvnKk. Compare its explanation of neural networks with this project's README and suggest clearer definitions.
Use YouTube video details and transcript for https://www.youtube.com/watch?v=IHZwWFHWa-w. Compare the available transcript's gradient descent explanation with our optimizer implementation and list differences to review.
Use YouTube video details and transcript for https://www.youtube.com/watch?v=Ilg3gGewQ5U. Draft a backpropagation study note in docs with the source URL and distinguish transcript evidence from your explanation.
Use YouTube video details and transcript for https://www.youtube.com/watch?v=rfscVS0vtbw. Extract learning resources from the description and propose additions to this repository's Python onboarding guide.
Use YouTube video details and transcript for https://www.youtube.com/watch?v=aircAruvnKk and https://www.youtube.com/watch?v=IHZwWFHWa-w. Build a concept checklist for our neural network tutorial from the available transcripts.
How to set up YouTube video details and transcript in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run YouTube video details and transcript
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "youtube/read", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Claude Code finds YouTube video details and transcript on Spiral, shows the price and runs it.
YouTube video details and transcript providers and prices
Spiral runs YouTube video details and transcript through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Proxy | basic, stealth, enhanced, or auto | Scrape proxy tier: basic, stealth, enhanced or auto (default). Higher tiers cost more Scrape credits. | |
| Max age | a number from 0 | Accept a cached copy up to this many milliseconds old. | |
| Mobile | on or off | Scrape with a mobile device profile. | |
| Timeout | 1000 to 60000 | Scrape timeout in milliseconds. | |
| Wait for | 0 to 30000 | Milliseconds to wait before capturing the page. | |
| Only main content | on or off | Return only the main content of the page. |
Every API field of YouTube · Read YouTube video is on its tool page: open its card above.
What can you do with YouTube video details and transcript in Claude Code?
Turn selected YouTube tutorials into project notes and implementation checklists using their descriptions and available transcripts. Compare the explanation with your code and identify assumptions the video does not address.
Turn a tutorial into study notes
Summarize an available tutorial transcript into concepts, definitions, and practice questions, with the video URL attached.
Compare explanations across videos
Read selected educational videos and compare how their transcripts explain the same concept, including examples and prerequisites.
Audit resources in video descriptions
Extract links and resource names from selected video descriptions to prepare a reading list for a course or internal training session.
Review changes to published video details
Compare successive reads of selected public business videos and flag changes to returned titles or descriptions for editorial review.
Answer questions from a video
Use the available transcript to answer a focused question about what a tutorial or public presentation says, citing the video.
Check a summary against its source
Compare draft notes with the video's description and available transcript. Identify claims that the retrieved text does not support.
More on YouTube video details and transcript and Claude Code
Overview
YouTube video details and transcript in other agents
Questions about YouTube video details and transcript in Claude Code
Can Claude Code use YouTube video details and transcript?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run YouTube video details and transcript like any built-in tool.
How much does YouTube video details and transcript cost in Claude Code?
$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use YouTube video details and transcript in Claude Code?
No. Spiral runs YouTube video details and transcript on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube video details and transcript in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while YouTube video details and transcript runs?
YouTube video details and transcript runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Does every YouTube video have a transcript?
No. YouTube makes transcripts available for videos with captions, so a video's metadata and description do not establish that a transcript exists.
Are transcripts available as soon as a video is uploaded?
Not always. YouTube says its automatically generated captions can become available after upload, so a newly published video may initially lack a transcript.
How accurate are YouTube's automatic transcripts?
YouTube warns that pronunciation, accents, dialects, and background noise can cause transcription errors. Check important quotations against the video's audio.
How much text can a YouTube title and description contain?
YouTube caps titles at 100 characters and descriptions at 5,000 characters. These are limits on the source text, separate from the video's spoken transcript.
Is the same video available in every country?
No. Video owners can limit distribution to selected countries, and YouTube can restrict content to meet local legal requirements.
Start using YouTube video details and transcript in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


