mateai-youtube
<div align="center">
<img src="assets/mateai-logo.png" width="88" alt="MateAI logo"/>
# MateAI YouTube MCP
**Upload, schedule and analyze your YouTube channel just by asking Claude or Antigravity.**<br/>
Free. Runs on your computer. One sign-in, verified by Google.
[](docs/SETUP.md#claude-code)
[](https://github.com/mategog/mateai-youtube-mcp/releases/latest)
[](https://glama.ai/mcp/servers/mategog/mateai-youtube-mcp)
[](LICENSE)
[**Get started**](#get-started-in-2-minutes) ยท [What you can ask](#what-you-can-ask) ยท [Setup guide](docs/SETUP.md) ยท [All tools](docs/REFERENCE.md)
<img src="assets/demo.gif" width="720" alt="Dry run, then schedule: an animated replay of real plugin output"/>
<sub>Replay of real plugin output: a dry run, a wrong date caught by a warning, then a real scheduled upload.</sub>
</div>
## Get started in 2 minutes
**1. Install** (in your terminal, with [Claude Code](https://claude.com/claude-code)):
```bash
claude plugin marketplace add mategog/mateai-youtube-mcp
claude plugin install yt-studio@mateai-youtube-mcp
```
**2. Connect your channel.** Type **`/yt-setup`** in Claude Code, pick your YouTube account in the browser and click **Allow**. To change channels later, type **`/yt-setup switch`** and pick another account; to sign out, type **`/yt-disconnect`**.
**3. Ask.** *"Take a snapshot of my channel and show me the report."*
That's it. No Google Cloud project, no API keys: the sign-in is verified by Google.
<details>
<summary><b>Using Antigravity, Claude Desktop, Windows or Linux?</b></summary>
<br/>
**Antigravity**
```bash
git clone https://github.com/mategog/mateai-youtube-mcp.git ~/.gemini/config/plugins/mateai-youtube
cd ~/.gemini/config/plugins/mateai-youtube && python3 yt_studio.py setup
```
**Claude Desktop or any MCP client:** clone the repo, run `python3 yt_studio.py setup`, then add this to your client's config:
```json
{ "mcpServers": { "mateai-youtube": { "command": "python3", "args": ["/ABSOLUTE/PATH/TO/mateai-youtube-mcp/mcp_server.py"] } } }
```
**Windows and Linux** work too: see the [setup guide](docs/SETUP.md#windows-1011).
</details>
## What you can ask
| | |
|---|---|
| ๐ค **Upload and schedule** | *"Upload `short.mp4` with this cover, write the title and hashtags, and schedule it for Friday 18:00."* |
| ๐ **Find where viewers leave** | *"Which of my last 5 Shorts had the highest swipe-away rate, and where did viewers drop off?"* |
| โ๏ธ **Edit videos** | *"Change the title of my latest video and make it public."* |
| ๐ฌ **Handle comments** | *"Show me new comments on my last video and draft replies."* |
| ๐ **See your channel at a glance** | *"Take a snapshot of my channel and show me the report."* Or type `/yt-dashboard` for a live card above the prompt. |
<img src="assets/dashboard-preview.png" width="720" alt="The channel report: views, Shorts vs long-form, and viewed-vs-swiped for every upload"/>
## Why creators use it
- **๐ก๏ธ Nothing goes live by surprise.** Every upload, edit and comment can run as a dry run first. Deleting always asks you, and the confirmation box comes from the plugin, so the AI can't click "yes" for you. Use `/yt-safety` to choose what else asks first.
- **๐ Your data stays with you.** It runs on your machine and talks only to Google. The author gets nothing. [Privacy details](PRIVACY.md)
- **๐ธ $0.** It uses YouTube's free official APIs and the AI subscription you already have.
- **๐ฌ Made for Shorts.** Viewed vs. swiped away, average % viewed and full retention curves for every video.
> [!TIP]
> **Prefer a desktop app?** [MateAI Studio](https://mateaistudio.com/) is built on this plugin, with the same one-click sign-in. Free during early access.
## Learn more
- ๐ [**Setup guide**](docs/SETUP.md): every client and OS, your own Google client, sign out, troubleshooting
- ๐งฐ [**Reference**](docs/REFERENCE.md): all tools, safety limits, API quota, privacy, bundled skills and credits
- ๐ต [**TikTok** (experimental)](docs/TIKTOK.md): compare Shorts with TikTok and send drafts to your TikTok inbox
<a name="use-your-own-google-cloud-client-optional-own-quota"></a>
Want your own API quota? [Use your own Google Cloud client](docs/SETUP.md#use-your-own-google-cloud-client-optional-own-quota).
## Support
If this saves you a monthly creator-tool fee, **โญ star the repo** so other creators can find it.
[](https://www.youtube.com/@mateai-c6m)
[](https://github.com/sponsors/mategog)
[](https://buymeacoffee.com/mateai)
## License
Free to use and modify for your own channels, including monetized ones. You may not resell it or run it as a paid service without a commercial license. Licensed under **Apache 2.0 with Commons Clause** ([LICENSE](LICENSE)): source-available, not OSI open source.
TDQS
Scored across 16 tools
Most tools target clearly distinct resources and actions (upload vs update vs delete vs list video, post vs reply vs list comment). The main friction is among the three reporting/analytics tools โ yt_channel_snapshot, yt_shorts_experiment_table, and cross_platform_shorts_table โ which all fetch similar stats and differ mainly in output form, so an agent may pause on which to call. yt_list_videos vs yt_video_details is also an overlap point but descriptions differentiate list vs single-video scope.
Consistent platform-prefix + verb_noun pattern (yt_upload_draft, yt_list_comments, tiktok_channel_snapshot, cross_platform_shorts_table). Minor deviations: noun-phrase names like yt_video_details and cross_platform_shorts_table lack a verb, and there are two 'draft' tools on different platforms with different semantics (upload_draft vs draft_status). Overall predictable and readable.
16 tools covering two platforms plus cross-platform comparison is proportionate โ roughly 12 YouTube, 3 TikTok, 1 cross-platform. Slightly top-heavy on YouTube reporting/analytics tools, but each earns a place. Not excessive for the stated dual-platform scope.
YouTube side has strong lifecycle coverage: upload, update metadata/schedule, delete with confirmation guard, list, details, comments (list/post/reply), analytics, and safety settings. Notable gaps: no comment deletion/moderation, no playlist or caption operations, and the TikTok side has no update/delete for posted videos (partly API-limited). Minor workaround gaps rather than dead ends.