video-research

video-research is a command for Claude Code, Cursor from HasData/youtube-mcp. It costs 16 tokens per session (462 once invoked), scanned A, original, MIT.

A command for researching what ranks on YouTube for a query and what selected videos say. It can use search filters, separate paid results, and read transcripts where available.

In plain words
What is it for?
Use it to compare YouTube results, filter by recency or subtitles, inspect views and metadata, read chapters, and summarize the contents of leading videos.
Why use it?
It avoids mixing adverts or sponsored placements with ordinary search results and avoids guessing dates from YouTube's relative date labels. It also focuses transcript reading on the few videos worth opening.

Command for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code command (commands/*.md).

Part of the hasdata-youtube-mcp plugin — 1 command, 1 MCP server shipped together

Good fit Use it to compare YouTube results, filter by recency or subtitles, inspect views and metadata, read chapters, and summarize the contents of leading videos.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hasdata/youtube-mcp/video-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HasData/youtube-mcp

Made for: Claude Code, Cursor.

Or install hasdata-youtube-mcp, the plugin that ships this one along with the rest of its 1 command, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-research

README.md
[![agentmods](https://agentmods.dev/badge/commands/hasdata/youtube-mcp/video-research/github.svg)](https://agentmods.dev/commands/hasdata/youtube-mcp/video-research)
Your own site
<a href="https://agentmods.dev/commands/hasdata/youtube-mcp/video-research"><img src="https://agentmods.dev/badge/commands/hasdata/youtube-mcp/video-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-research

Your own site · 80×15
<a href="https://agentmods.dev/commands/hasdata/youtube-mcp/video-research"><img src="https://agentmods.dev/badge/commands/hasdata/youtube-mcp/video-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00462
Opus 5.5 $0.00006 $0.00185
Sonnet 5.5 $0.00003 $0.00092
Haiku 4.5 $0.00002 $0.00046

Measured 2mo ago against content hash 2d1e6ef367b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

video-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/video-research.md · 20 lines

What it actually says

Research a topic on YouTube.

Ask me for the query if I have not given it, and for the window if recency matters.

Then:

  1. Call hasdata_youtube_search_getYoutubeSearchResults with q. Put any recency window into the date filter rather than planning to filter afterwards, because publishedDate comes back as a relative string that cannot be resolved to a date. Add filters__: ["subtitles"] when the task depends on reading transcripts.
  2. Report videoResults as the ranking and list inlineShortsResults and playlistResults separately. Say plainly if adsResults or sponsoredResults were present, and never mix them into the organic list.
  3. For each video give the title, the channel, length, publishedDate and views, sorting on views, which is already the number in this payload. viewsOriginal is the printed string and is for display only.
  4. Read chapters where the search rows carry it. That is the video's outline for free, and it is usually enough to decide which ones are worth opening.
  5. Open the two or three that matter with hasdata_youtube_video_getYoutubeVideo, and report lengthSeconds, keywords, extractedLikes, the channel's subscriber count and what description.links points at. Here views is the string and extractedViews is the number, the reverse of the search payload.
  6. Check captions before asking for a transcript. Then call hasdata_youtube_transcript_getYoutubeTranscript, confirm a transcript key actually came back, and summarise what the video covers, citing startTimeText for anything you quote.
  7. Look at which entry in availableTranscripts has selected set, and say when the track you read is asr, because an automatic transcript gets names and numbers wrong and a quote from it is not verbatim.

Report what the videos say, not what the titles promise. A title is a claim about the content and the transcript is the content.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 20 lines · 16 tokens per session scan A 2d1e6ef367b1

Subscribe to this mod's changes

video-research is a command published in the GitHub repository HasData/youtube-mcp (8 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 462 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

video-research compared with commands from other repositories

video-research next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-researchHasData/youtube-mcpCommand81mo agoMITA16Claude Code, Cursor
arrange-workspace-flowgriddynamics/rosettaCommand3825d agoApache-2.0A26Claude Code
modernization-flowgriddynamics/rosettaCommand3825d agoApache-2.0A36Claude Code
init-workspace-flow-discoverygriddynamics/rosettaCommand3825d agoApache-2.0A16Claude Code
api-aqa-flowgriddynamics/rosettaCommand3825d agoApache-2.0A29Claude Code
ui-aqa-flow-code-analysisgriddynamics/rosettaCommand3825d agoApache-2.0A17Claude Code
ui-aqa-flow-test-report-analysisgriddynamics/rosettaCommand3825d agoApache-2.0A19Claude Code