YouTube Research MCP
Enables AI agents to research YouTube with multi-language search, transcript highlights, transcript slices by time range/chapter/query, real video frames, video details and chapters, top comments, and channel outlier scores, without requiring a YouTube API key.
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 Research MCP Find this year's top AI productivity videos and quote their opening hooks with timestamps."
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 Research MCP
A keyless YouTube MCP server and research skill for AI agents. Multi-language YouTube search with transcript highlights, transcripts by time range, chapter or query, real video frames, comments and channel outlier scores, in Claude Code, Codex and any MCP client.
Website · Install · Tools · The skill · FAQ
What it does
Ask your agent things like:
"List 20 hooks from this year's top AI productivity videos, with hook type, what's on screen, and a link to the second."
"Which of @channel's videos broke out this year, and what do they have in common?"
"What do creators say is the biggest mistake with AI note-taking? Quote them."
…and get back a table with verbatim quotes, ?t= timestamp links and a coverage line (what was searched, reviewed and skipped). No YouTube Data API key, no OAuth, no cookies.
Most YouTube MCP servers expose one call per video and dump whole transcripts into context. That falls apart when an agent has to look at 50 videos. This one follows the pattern that works for web-search agents: few tools, results that are already useful, and the research method in a skill.
Related MCP server: mcp-youtube-intelligence
Features
🔎 Multi-query, multi-language search in one call. Up to 12 queries, each with its own interface language and region (
hl/gl), merged and de-duplicated. Videos found by several queries rank higher.✨ Transcript highlights. The top results come with the passages that match your topic, with timestamped links, so the agent often never opens a transcript.
✂️ Read only what you need. Transcripts by time range (
start: 0, end: 30for hooks), by chapter, or only the passages matching a query. Up to 25 videos per call.🎞️ Real video frames. Decoded frames (up to 1280 px) evenly spaced over a range or at exact seconds. On-screen text, b-roll and screen demos become visible. ffmpeg reads only the bytes around each frame, never the whole video.
📈 Outlier scores. A channel's videos scored against its median views, to find the breakouts. Views/day on every search result.
💬 Details, chapters and searchable comments. Exact publish date, likes, comment count, tags, description, chapters (or description timestamps), thumbnails. Comments can be searched, filtered by likes or author, sorted by likes and expanded with replies; every answer says how many were scanned and matched.
🧾 Nothing disappears silently. Every response ends with a coverage footer (raw → unique → after filters, what was dropped and why), and per-video failures carry a reason code.
🛡️ Careful with YouTube's limits. API calls and caption downloads have separate queues. A caption rate limit triggers a cooldown instead of retries, and the tools say exactly how long to wait while everything else keeps working. Optional
YT_PROXYfor big sweeps.🧠 A research skill. It plans queries in every relevant language, fans out to parallel subagents, then merges, spot-checks quotes and reports coverage.
Install
The easy way: ask your agent
Paste this into Claude Code, Codex, Cursor or any agent that can run commands:
Install YouTube Research MCP for me from https://github.com/jindratilk/youtube-research-mcp. Follow the "Install instructions for AI agents" in its README for the client you are running in: the plugin (MCP server + research skill) in Claude Code or Codex, otherwise the MCP server config. Then run youtube_doctor and tell me whether everything works, and if I need to restart anything.Claude Code (plugin: MCP server + skill)
claude plugin marketplace add jindratilk/youtube-research-mcpclaude plugin install youtube-research@youtube-researchCodex (plugin: MCP server + skill)
codex plugin marketplace add jindratilk/youtube-research-mcpcodex plugin add youtube-research@youtube-researchClaude Desktop, Cursor, Windsurf, VS Code, Zed, any MCP client
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "github:jindratilk/youtube-research-mcp"]
}
}
}The skill is optional outside the plugins: copy skills/youtube-research into your agent's skills folder.
From source
git clone https://github.com/jindratilk/youtube-research-mcp && cd youtube-research-mcp && npm install && npm run buildclaude mcp add youtube -- node "$PWD/dist/index.js"Requirements: Node.js 20+. dist/index.js is one bundled file with no runtime dependencies. For video frames also install yt-dlp and ffmpeg (brew install yt-dlp ffmpeg); yt-dlp also serves as a transcript fallback.
Install instructions for AI agents
If a user asked you to install YouTube Research MCP, follow these steps exactly.
Check Node.js:
node --versionmust be 20 or newer. If it is older or missing, stop and tell the user.Install for the client you are running in:
Claude Code (the
claudeCLI exists): runclaude plugin marketplace add jindratilk/youtube-research-mcp, thenclaude plugin install youtube-research@youtube-research. This installs theyoutubeMCP server and theyoutube-researchskill.Codex (the
codexCLI exists): runcodex plugin marketplace add jindratilk/youtube-research-mcp, thencodex plugin add youtube-research@youtube-research.Any other MCP client: add this server to the client's MCP config, keeping existing entries:
"youtube": { "command": "npx", "args": ["-y", "github:jindratilk/youtube-research-mcp"] }. Common config files: Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows); Cursor~/.cursor/mcp.json; Windsurf~/.codeium/windsurf/mcp_config.json; VS Code.vscode/mcp.json(uses aserverskey instead ofmcpServers). If the client supports skills, copyskills/youtube-researchinto its skills folder.
Verify now, without a restart: run
npx -y github:jindratilk/youtube-research-mcp --doctor. Every line should start with ✓.yt-dlpandffmpegare optional (needed only for video frames); if they are missing, offer to install them (brew install yt-dlp ffmpegon macOS) but do not install without asking. A[rate_limited]transcript line means YouTube is throttling this IP for a while; everything else still works.Tell the user what you installed, the doctor result, and that they need to start a new session (or restart the app) for the new tools to appear.
Tools
Tool | What it does |
Multi-query search with filters and transcript highlights | |
Batch read: transcript slices, real frames, details, chapters, comments, thumbnail | |
A channel's videos with ×median outlier scores | |
Checks every YouTube path from your machine, with timings |
youtube_search
{
"queries": [
"AI productivity workflow",
"how I use AI to save 10 hours a week",
{ "query": "productividad con IA", "hl": "es", "gl": "ES" }
],
"uploaded": "year",
"minViews": 10000,
"highlights": 5
}Parameter | Meaning |
| 1–12 strings or |
| Results per query before merging (default 10, max 50) |
|
|
|
|
|
|
| Post-filters |
|
|
| Only videos with subtitles/CC |
|
|
| How many top results get transcript passages (default 5) and how many each (default 3) |
| Highlight something other than the search topic, e.g. |
| Preferred caption languages; default is the video's original language |
youtube_fetch
{
"videos": ["https://youtu.be/TL8V41Ea6oM", "htZRCE2GgIs"],
"parts": ["details", "transcript", "frames"],
"start": 0,
"end": 30,
"frames": 4
}Parameter | Meaning |
| 1–25 URLs or IDs (a |
|
|
| Range for transcript and frames, in seconds or |
| Limit to the chapter whose title contains this text |
| Return only matching transcript passages instead of the full text |
|
|
| Transcript budget per video (default 12000); truncation says where to resume |
| N evenly spaced frames, or exact seconds; width up to 1280 px |
| Comments to show per video (default 20, max 200) |
| Search inside the top comments (accent-insensitive, matches word forms); |
| Keep only comments with enough likes, or from an author |
| How many top comments to read before filtering (default 300 when filtering, max 1000) |
|
|
| Also load up to N replies under each shown comment (max 20) |
youtube_channel
{ "channel": "@aliabdaal", "limit": 60, "minOutlier": 2 }Videos, Shorts or streams; latest · popular · oldest; up to 300 videos; subscriber and video counts; publishedAfter; minOutlier to keep only breakouts.
youtube_doctor
No parameters. Checks search, video details, transcripts, watch page, channels, yt-dlp and ffmpeg, and shows an active rate-limit pause.
The research skill
skills/youtube-research turns a request into a supervised sweep:
Define the result first: the row schema and what qualifies (language, recency, views, long-form vs Shorts).
Plan queries by angle and language: how-to, story, tools, mistakes; the user's language plus English, written natively.
Spend transcripts carefully: pick by metadata first; transcripts are the rate-limited resource.
Fan out: up to 3 parallel Haiku subagents, each with exact video IDs, the schema, and the closing lines
videos_reviewed: N/skipped: ….Merge and verify: de-duplicate by video, spot-check quotes against the transcript, report coverage.
References: searching · hooks (10-type taxonomy) · quotes & claims · creators & outliers · synthesis.
How it works
No API key: talks to YouTube's internal Innertube API (the one the website and apps use) with plain HTTPS. Search, watch page, channels and comments use the web client; the player request uses the Android/iOS clients, whose caption URLs work without a PO token.
Highlights: lexical passage scoring in memory per request. It folds accents, stems by prefix (so
productivitymatchesproductive), weights rare terms higher and rewards passages that hit several concepts.Frames: yt-dlp resolves a ≤720p stream URL; ffmpeg seeks with HTTP range requests and decodes one frame per timestamp.
Stateless: no database or index. A 15-minute in-memory cache means search → fetch never downloads the same transcript twice.
Configuration
Env var | Default | Meaning |
| all | Comma-separated tools to expose |
| 4 / 120 | API request queue |
| 2 / 350 | Caption download queue |
| 60000 | First pause after a caption 429 (doubles per repeat, max 15 min) |
| none | HTTP(S) proxy for all YouTube requests, yt-dlp and ffmpeg |
| 15000 | Per-request timeout |
| 900000 | In-memory cache lifetime |
| 720 / 3 | Stream quality for frames; parallel ffmpeg processes |
| on / | Disable or locate the helpers |
| off | Log every YouTube request (status, queue wait, latency) to stderr |
| built in | Override Innertube client versions if YouTube starts rejecting them |
Honest limits
Transcripts are rate-limited per IP. In testing, a burst of roughly 80–100 transcripts within a few minutes triggered HTTP 429 on captions (yt-dlp too, since it uses the same endpoint), while search and metadata kept working. Innertube's
get_transcriptendpoint is closed to anonymous clients, so there is no second keyless source. The server pauses and tells the agent when to retry; for sweeps of hundreds of videos useYT_PROXY.Search dates are approximate ("3 weeks ago" → ±1 unit).
youtube_fetchreturns the exact publish date.No server-side date sort: YouTube dropped it;
sort: "date"re-sorts fetched results, so pair it withuploaded.Comments are the top ones: YouTube does not offer anonymous clients the "newest first" sort, and comment search covers the scanned top comments (up to 1000), not every comment on the video.
No captions, no transcript: there is no speech-to-text in the server. Frames still work.
Frames take ~10–20 s for the first frames of a video (stream lookup), then ~2 s each; max 20 per video and 40 per call.
FAQ
Does it need a YouTube API key? No. No API key, OAuth or cookies.
Which clients does it work with? Any MCP client over stdio: Claude Code, Codex, Claude Desktop, Cursor, Windsurf, VS Code, Zed and more. Claude Code and Codex get the plugin with the skill.
Does it download videos? No. Transcripts come from caption files; frames are decoded from small byte ranges of the stream.
Does it work for non-English content? Yes: per-query language and region, original-language transcripts by default, and accent-aware highlights.
Researching Instagram Reels too? See the sibling project Reels Research MCP.
Is it affiliated with YouTube or Google? No. It is an independent open-source project. Use it in line with YouTube's terms and respect creators' rights.
Development
npm test # offline unit tests: parsing, highlights, filters, frame spacing
npm run smoke # end-to-end against live YouTube through a real MCP client
npm run dev # run from source
npm run build # typecheck + bundle to dist/index.jsLayout: src/innertube.ts (HTTP, queues, errors) · src/youtube.ts (search, player, transcripts, watch page, comments, channels) · src/highlights.ts · src/frames.ts · src/tools/* (MCP tools) · skills/ · docs/ (website).
License
MIT. Not affiliated with YouTube or Google. YouTube is a trademark of Google LLC.
Keywords: YouTube MCP server, YouTube transcript MCP, YouTube search for AI agents, Model Context Protocol, Claude Code plugin, Codex plugin, YouTube without API key, YouTube hooks research, video frames for LLMs, agent skill.
Available Tools
4 toolsyoutube_channelList channel videosARead-onlyIdempotent
List a channel's videos with an outlier score: how many times more views a video got than the channel's median.
Best for: finding a creator's breakout videos (the ones whose hooks/titles/topics worked), reviewing recent uploads, building a list of videos to fetch. Returns: channel stats (subscribers, video count) and videos with views, outlier ×median, date, duration. The median is computed over the videos listed, so list enough (30+) for a fair baseline.
Inputs: channel (required), tab, sort, limit, +2 more.
youtube_doctorCheck YouTube accessARead-onlyIdempotent
Check that every YouTube path this server uses works from this machine right now (search, video details, transcripts, watch page, channels, yt-dlp and ffmpeg for frames), with timings. Run it when other youtube_* tools fail.
Inputs: no named parameters.
youtube_fetchRead YouTube videosARead-onlyIdempotent
Read YouTube videos: transcript (whole, a time range, a chapter, or only passages matching a query), real video frames, details, chapters, comments and thumbnail. Batch many videos in one call.
Best for: reading what was said after youtube_search, pulling the same slice from many videos (e.g. the first 30 s of each video to study hooks), quoting with exact timestamps. Returns: per video a header (title, channel, exact publish date, views, likes, duration) and the requested parts. Transcript lines carry [m:ss] stamps; links with ?t= jump to the moment. Per-video failures are reported inline, never dropped.
Tips:
Hooks / intros: start=0, end=30 (plus parts ["details","transcript","thumbnail","frames"] if the visual hook matters).
Frames are real decoded video frames (up to 1280 px): evenly spaced over start–end / the chapter / the whole video (frames=N), or at exact moments (frameAt). The first frames of a video take ~10–20 s (stream lookup); keep frame-heavy calls to a few videos.
Finding a topic inside long videos: pass query instead of reading whole transcripts.
Long transcript cut off? Call again with start = the second where it stopped.
Inputs: videos (required), end, parts, query, +11 more.
youtube_searchSearch YouTubeARead-onlyIdempotent
Search YouTube videos and get back ready-to-use results with transcript highlights: the passages where each video actually talks about your topic, with timestamped links.
Best for: finding videos on a topic, finding what creators say about something, collecting examples (hooks, claims, tutorials) across many videos. Returns: one merged, de-duplicated list across all queries. Each video has metadata (channel, views, date, duration, views/day), YouTube's matched snippet and key moments, plus transcript highlights for the top results.
Query tips:
Send several queries in ONE call to cover the topic: synonyms, angles and languages, e.g. ["AI productivity workflow", "how I use AI to save time at work", {"query": "productividad con IA", "hl": "es", "gl": "ES"}].
Write queries the way a creator would title the video, not as keyword soup.
Use filters (uploaded, publishedAfter, minViews, duration, shorts) instead of asking for more results.
If highlights are not enough, call youtube_fetch on the best videos (it can return only a time range, e.g. the first 30 s for a hook, or only passages matching a query).
Inputs: queries (required), sort, limit, shorts, +12 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: search discovers videos, fetch reads specific videos, channel lists a single channel's videos with outlier scoring, and doctor diagnoses connectivity. The only mild overlap is that search and channel both return video lists, but their query-based vs. per-channel framing is spelled out clearly.
All tools share the youtube_ prefix and snake_case, giving a strong predictable pattern. There is a minor deviation in that search/fetch are verbs while channel/doctor are nouns, but the convention is still readable and consistent.
Four tools is well-scoped for a focused research server, and each earns its place: discovery, deep reading, channel analysis, and diagnostics. No tool feels redundant or tacked on.
The surface covers the core research lifecycle: find videos, read transcripts/frames/comments, analyze channels, and self-diagnose failures. Minor gaps remain, such as no dedicated playlist handling or channel/creator search, but agents can work around these.
Maintenance
Related MCP Connectors
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Your agent needs to find video — which channels own a topic, which videos rank for a phrase, what exists in a given country and language. **What you can ask for** • "Which videos rank for 'rag pipeline tutorial' in the US this month?" • "Find channels publishing about MCP, sorted by relevance." • "What playlists cover this subject in Japanese?" • "Search videos uploaded this week only." **How to use it** Point any MCP client at https://mcp.aisa.one/youtube-search/mcp and sign in with OAuth — there is no key to create or paste. One search tool covering videos, channels and playlists, narrowed by country, language, upload date, duration and sort order. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Find the video here, then ask the same agent what the channel's site traffic is or what the same phrase does in Google — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/social/mcp for X plus Instagram, Reddit, Pinterest and YouTube; https://mcp.aisa.one/gtm/mcp for those plus Similarweb and Apollo.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides YouTube data access without API keys or quotas. It enables agents to search videos, retrieve transcripts and metadata, and perform full-text search across cached content for AI context retrieval.3 npm-
- AlicenseAqualityBmaintenanceMCP server for extracting structured intelligence from YouTube channels and videos — transcripts, topics, and competitive signals for AI-powered research workflows.1257 npmMIT
- AlicenseAqualityBmaintenanceMCP server that provides YouTube video data to AI agents, supporting search, metadata, comments, and transcripts without an API key.685 npmISC
- AlicenseAqualityBmaintenanceA YouTube MCP server that enables AI agents to search videos, fetch transcripts, comments, and channel info, with optional API key for extra features and local semantic search via corpora.1764 PyPI2MIT