youtube-watchlater-mcp
Allows fetching YouTube Watch Later playlist and video subtitles using yt-dlp with browser cookies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-watchlater-mcp show my watch later playlist"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
youtube-watchlater-mcp
MCP server for fetching your YouTube Watch Later playlist via yt-dlp.
Why This Exists
The YouTube Watch Later playlist is invisible to the YouTube Data API.
Most YouTube MCP servers and integrations use the official YouTube Data API v3 with OAuth authentication. This works well for public playlists, subscriptions, search, and liked videos — but Watch Later is a special private playlist (WL) that Google has explicitly excluded from the API. Even with full OAuth scopes and a valid token, the API returns an empty result or a 403 Forbidden error for this playlist.
This means:
OAuth-based MCPs cannot access Watch Later — the endpoint simply does not exist in the API.
Scraping the YouTube web UI requires managing session cookies, handling anti-bot measures, and is fragile against layout changes.
yt-dlp with browser cookies is the only reliable approach: it reads the authentication cookies that your browser already holds from your active YouTube login, and uses them to fetch the playlist directly — exactly as your browser would.
This server wraps that mechanism as an MCP tool so AI assistants can read your Watch Later queue without you needing API keys, OAuth flows, or exposing credentials.
Related MCP server: YouTube Watch Later MCP Server
Requirements
Node.js 18+
yt-dlpinstalled and available on$PATHYouTube account logged in to a browser on your machine
Installation
1. Install yt-dlp:
# macOS
brew install yt-dlp
# Linux
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp
# Windows (winget)
winget install yt-dlp2. Install Node.js dependencies:
npm installRunning
npm startThe server communicates over stdio and is intended to be connected to an MCP host (e.g. Claude Desktop), not run directly in a browser.
Claude Desktop Setup
Add to claude_desktop_config.json:
{
"mcpServers": {
"youtube-watchlater": {
"command": "node",
"args": ["/path/to/youtube-watchlater-mcp/server.mjs"]
}
}
}Tool: get_watch_later
Returns videos from your Watch Later playlist.
Parameter | Type | Default | Description |
|
|
| Browser to read YouTube cookies from |
| number (1–500) |
| Number of videos to return |
| string | — | Browser profile name, e.g. |
Example response:
{
"items": [
{
"videoId": "dQw4w9WgXcQ",
"title": "Never Gonna Give You Up",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"channel": "Rick Astley"
}
]
}Tool: get_subtitles
Downloads auto-generated subtitles for a YouTube video and returns the VTT content.
Parameter | Type | Default | Description |
| string | — | YouTube video URL or bare video ID (e.g. |
| string |
| Subtitle language code, e.g. |
|
|
| Browser to read YouTube cookies from |
| string | — | Browser profile name, e.g. |
Example response:
{
"lang": "en",
"videoId": "dQw4w9WgXcQ",
"subtitles": "WEBVTT\n..."
}How It Works
The server calls yt-dlp --cookies-from-browser <browser> --flat-playlist --dump-json against the WL playlist. Cookies are read directly from the local browser — no tokens or passwords are transmitted anywhere.
Available Tools
2 toolsget_subtitlesA
Downloads auto-generated subtitles for a YouTube video via yt-dlp and returns the VTT content.
Inputs: video (required), lang, browser, profile.
get_watch_laterA
Returns videos from your YouTube Watch Later list using yt-dlp with cookies read from a local browser.
Inputs: limit, browser, profile.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools serve entirely different purposes: one retrieves the watch-later playlist, the other fetches subtitles for a specific video. There is no overlap or ambiguity between them.
Both tools follow a consistent verb_noun pattern with 'get_' prefix, making the action and resource clear. No mixed conventions or irregular naming.
With only two tools, the server feels thin for a YouTube-related service. The scope is narrow (watch later + subtitles), so the count is borderline but not extreme.
The watch-later domain lacks operations like removing or adding videos, and the subtitle tool is unrelated to the watch-later focus. The surface is minimal and leaves obvious gaps for a cohesive workflow.
Related MCP Connectors
Fetch YouTube transcripts with timestamps, search history, and export data for AI models.
Transcripts of YouTube videos, playlists and channels with timestamps; SRT or WebVTT too.
Bulk YouTube transcripts from videos, channels, playlists or search: text, RAG chunks, SRT, VTT.
Export YouTube comments and transcripts, track downloads, and get JSON or CSV file URLs.
Related MCP Servers
- AlicenseAqualityDmaintenanceUses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol.1553MIT
- AlicenseNot gradedqualityDmaintenanceEnables secure access to your YouTube Watch Later playlist, allowing retrieval of video URLs added within a specified timeframe through a simple interface using OAuth2 authentication.11MIT
- AlicenseAqualityCmaintenanceEnables fetching, searching, and analyzing YouTube video transcripts in multiple languages using yt-dlp. Supports timestamp filtering, language detection, and transcript summaries with robust error handling for production use.4MIT
- AlicenseAqualityDmaintenanceFetches YouTube video subtitles and transcripts with support for multiple languages and output formats (SRT, VTT, TXT, JSON).111 npmApache 2.0