Use YouTube transcripts with agents
Turn any YouTube video, playlist, or channel into agent-ready context. Start with the CLI because it is concrete, fast, and easy to verify.
Start here: CLI
Turn any YouTube video, playlist, or channel into agent-ready context.
Install and run
bashnpx youtube-transcript-agent auth set-key <api_key>
npx youtube-transcript-agent transcript FOp280ZAxhgMCP setup for Claude Code
Use remote HTTP for the hosted MCP server, or run a local stdio server through npx.
Claude Code remote MCP
Connect Claude Code directly to the hosted transcript MCP endpoint.
Remote HTTP MCP
bashclaude mcp add --transport http youtube-transcripts https://api.youtubetranscripts.fbetteo.com/mcp \
--header "Authorization: Bearer <api_key>"Claude Code local MCP
Run the transcript MCP server locally through the npm package.
Local MCP
bashclaude mcp add youtube-transcripts npx youtube-transcript-agent mcpLocal MCP with argument separator
bashclaude mcp add youtube-transcripts -- npx youtube-transcript-agent mcpClaude Code documents HTTP as the recommended transport for remote MCP servers and stdio as the transport for local process servers. See the Claude Code MCP docsfor details.