YouTube for AI Agents
Enables AI agents to search, watch, summarize, clip, and extract transcripts from YouTube videos, all without needing an API key or leaving the chat.
README
<div align="center">
YouTube for AI Agents
Claude watches YouTube so you don't have to
Ask "what's the best video on…?" and Claude finds it, watches it, and reports back. Drop a long podcast in chat — get the highlights in seconds. Cut clips, build reels, pull transcripts — all without opening a YouTube tab.
Quick Start · Try it · Discord · Demo
</div>
Demo
Click the image to watch the 1-minute walkthrough.
Quick Start
1. Install the plugin — inside Claude Code, run:
/plugin marketplace add JCodesMore/jcodesmore-plugins
/plugin install youtube@jcodesmore-plugins
Then fully restart Claude Code (quit the app and reopen).
2. That's it. No API key, no signup. Just start asking.
Optional: run
/youtube:setupto sign in with your own YouTube cookies for personalized search and recommendations.
Try it
Talk to Claude like a friend:
- "Watch this video and give me the recipe — I don't want to scroll the comments."
- "Find me five highly-rated videos on Roman history."
- "What are this channel's best uploads? Watch the top three and summarize."
- "Pull the actionable takeaways from this 90-minute interview."
- "Cut a 30-second clip starting at 2:15 from this video."
- "Combine these three cooking videos into a single highlight reel."
The agent searches, watches, and reports back — no scrubbing, no scrolling.
What's inside
Nine smart tools wrapped in two skills and one agent — search, watch, clip, and reel without leaving the chat.
| Capability | Try saying |
|---|---|
| Search videos, channels, playlists | "find me the top videos on…" |
| Watch and summarize | "watch this and tell me what matters" |
| Browse a channel or playlist | "what's worth watching from this YouTuber?" |
| Pull a transcript | "grab the transcript around the 5-minute mark" |
| Download video or audio | "save the audio of this video" |
| Cut a clip | "clip 2:15 to 2:45 from this video" |
| Build a highlight reel | "combine these clips into one reel" |
Community
Discord — chat, help, show-and-tell · Issues — bugs & feature requests · Contribute · More plugins
<details> <summary><b>Personalized results (optional)</b></summary>
By default, search runs anonymously — no login required. If you want personalized recommendations and search results, run /youtube:setup and follow the cookie-extraction wizard. Cookies stay on your machine in the plugin data directory; nothing is uploaded anywhere.
</details>
<details> <summary><b>Use it in Cursor, Codex, OpenCode, or Gemini CLI</b></summary>
The MCP server is portable. Per-platform setup guides:
</details>
<details> <summary><b>Advanced install (without the marketplace)</b></summary>
Clone and build it yourself:
git clone https://github.com/JCodesMore/youtube-for-ai-agents.git
cd youtube-for-ai-agents
npm install
npm run build
Or wire the published npm package directly into any MCP-compatible client:
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "@jcodesmore/youtube-for-ai-agents"]
}
}
}
Requirements: Node.js ≥ 18.
</details>
<details> <summary><b>Built on</b></summary>
- Model Context Protocol SDK — tool exposure to Claude
- youtubei.js — YouTube InnerTube client (no API key needed)
- youtube-transcript-plus — transcript fetching
- ytdlp-nodejs — video and audio downloads
- Zod — schema validation
</details>
License
Apache License 2.0 — © 2026 JCodesMore
Uses youtubei.js, an unofficial YouTube client. Not affiliated with, endorsed by, or associated with YouTube or Google.
Part of jcodesmore-plugins.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
