Skip to main content
Glama
README.md
<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.

[![Google OAuth: verified](https://img.shields.io/badge/Google%20OAuth-verified-2ea44f)](docs/SETUP.md#claude-code)
[![Release](https://img.shields.io/github/v/release/mategog/mateai-youtube-mcp?color=238636)](https://github.com/mategog/mateai-youtube-mcp/releases/latest)
[![mategog/mateai-youtube-mcp MCP server](https://glama.ai/mcp/servers/mategog/mateai-youtube-mcp/badges/score.svg)](https://glama.ai/mcp/servers/mategog/mateai-youtube-mcp)
[![License](https://img.shields.io/badge/license-Apache%202.0%20%2B%20Commons%20Clause-blue.svg)](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.

[![YouTube Channel](https://img.shields.io/badge/YouTube-@mateai--c6m-FF0000?logo=youtube&logoColor=white)](https://www.youtube.com/@mateai-c6m)
[![Sponsor on GitHub](https://img.shields.io/badge/Sponsor-mategog-EA4AAA?logo=github-sponsors&logoColor=white)](https://github.com/sponsors/mategog)
[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-MateAI-FFDD00?logo=buy-me-a-coffee&logoColor=black)](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

A4/5.0

Scored across 16 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count4/5

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.

Completeness4/5

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.

Maintenance

ActivityNo data
ResponsivenessOutdated data