# Youtube For Ai Agents

> Your AI agent can now search Youtube, watch videos, create highlight reels, and more

- **Type:** MCP server
- **Install:** `agentstack add mcp-jcodesmore-youtube-for-ai-agents`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [JCodesMore](https://agentstack.voostack.com/s/jcodesmore)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [JCodesMore](https://github.com/JCodesMore)
- **Source:** https://github.com/JCodesMore/youtube-for-ai-agents
- **Website:** https://dsc.gg/jcodesmore

## Install

```sh
agentstack add mcp-jcodesmore-youtube-for-ai-agents
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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.

[](https://discord.gg/babcVNJBet)

[Quick Start](#quick-start) · [Try it](#try-it) · [Discord](https://discord.gg/babcVNJBet) · [Demo](#demo)

---

## Demo

[](https://youtu.be/KbCC7vaeAHY)

> 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:setup` to 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**](https://discord.gg/babcVNJBet) — chat, help, show-and-tell · [**Issues**](https://github.com/JCodesMore/youtube-for-ai-agents/issues) — bugs & feature requests · [**Contribute**](CONTRIBUTING.md) · [**More plugins**](https://github.com/JCodesMore/jcodesmore-plugins)

Personalized results (optional)

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.

Use it in Cursor, Codex, OpenCode, or Gemini CLI

The MCP server is portable. Per-platform setup guides:

- [Cursor](docs/README.cursor.md)
- [Codex](docs/README.codex.md)
- [OpenCode](docs/README.opencode.md)
- [Gemini CLI](docs/README.gemini-cli.md)

Advanced install (without the marketplace)

Clone and build it yourself:

```bash
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:

```json
{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@jcodesmore/youtube-for-ai-agents"]
    }
  }
}
```

**Requirements:** Node.js ≥ 18.

Built on

- [Model Context Protocol SDK](https://modelcontextprotocol.io/) — tool exposure to Claude
- [youtubei.js](https://github.com/LuanRT/YouTube.js) — YouTube InnerTube client (no API key needed)
- [youtube-transcript-plus](https://www.npmjs.com/package/youtube-transcript-plus) — transcript fetching
- [ytdlp-nodejs](https://www.npmjs.com/package/ytdlp-nodejs) — video and audio downloads
- [Zod](https://zod.dev/) — schema validation

## License

[Apache License 2.0](LICENSE) — © 2026 JCodesMore

> Uses [youtubei.js](https://github.com/LuanRT/YouTube.js), an unofficial YouTube client. Not affiliated with, endorsed by, or associated with YouTube or Google.

---

*Part of [jcodesmore-plugins](https://github.com/JCodesMore/jcodesmore-plugins).*

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [JCodesMore](https://github.com/JCodesMore)
- **Source:** [JCodesMore/youtube-for-ai-agents](https://github.com/JCodesMore/youtube-for-ai-agents)
- **License:** Apache-2.0
- **Homepage:** https://dsc.gg/jcodesmore

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-jcodesmore-youtube-for-ai-agents
- Seller: https://agentstack.voostack.com/s/jcodesmore
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
