Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

HasData YouTube

Latest version: v1.0.10

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
MCP server Transport: stdio Publisher: HasData
8 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

HasData YouTube was last scanned on 30 Nov 2026 at version 1.0.10. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 1.0.10.
  • MCP server: Runs over stdio; the probe connected over SSE. It does not require authentication. It uses MCP protocol version 2025-06-18. Exposes 5 tools.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.10 LATEST 30 Nov 2026 No rules fired
1.0.9 24 Sep 2026 No rules fired

No rules fired in 1.0.10

Findings

Findings for v1.0.10. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.10; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

YouTube MCP Server

A hosted YouTube MCP server that gives Claude, Cursor, Windsurf and any other MCP client five read-only YouTube tools. Search YouTube, read video and channel data, pull transcripts and page through comments, with no Google Cloud project and no YouTube Data API key.

1,000 free credits every month, no card required, which is 100 YouTube calls.

https://mcp.hasdata.com/mcp?apis=youtube

tool contract MCP Tools

  • Prompts and resources npm PyPI License

Contents

  • What you need
  • Quick start
  • Example prompts
  • Tools
  • Errors and failure paths
  • Pricing, free tier and limits
  • Tool selection
  • How it compares
  • FAQ
  • HasData links
  • Development
  • Contributing
  • License

What you need

An MCP client that speaks streamable HTTP with custom headers. A HasData API key from the dashboard, free to create. Nothing else. This is a remote server, so the simplest path is a URL and a header, with no container to run and no Google account anywhere in the flow. A stdio-only client can use the @hasdata/youtube-mcp (npm) or hasdata-youtube-mcp (PyPI) launcher instead.

Quick start

The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.

Field Value
URL https://mcp.hasdata.com/mcp?apis=youtube
Transport HTTP, streamable
Auth header x-api-key: HASDATA_API_KEY

Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.

claude mcp add --transport http youtube "https://mcp.hasdata.com/mcp?apis=youtube" \
  --header "x-api-key: HASDATA_API_KEY"

Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=youtube and sign in.

For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/youtube-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "@hasdata/youtube-mcp"],
      "env": { "HASDATA_API_KEY": "YOUR_KEY" }
    }
  }
}

Python instead of Node? Swap the launcher for the PyPI package, which uvx runs without a manual install:

{
  "mcpServers": {
    "youtube": {
      "command": "uvx",
      "args": ["hasdata-youtube-mcp"],
      "env": { "HASDATA_API_KEY": "YOUR_KEY" }
    }
  }
}

~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

{
  "mcpServers": {
    "youtube": {
      "url": "https://mcp.hasdata.com/mcp?apis=youtube",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}

~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:

{
  "mcpServers": {
    "youtube": {
      "serverUrl": "https://mcp.hasdata.com/mcp?apis=youtube",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}
{
  "mcpServers": {
    "youtube": {
      "url": "https://mcp.hasdata.com/mcp?apis=youtube",
      "type": "streamableHttp",
      "headers": { "x-api-key": "HASDATA_API_KEY" },
      "disabled": false
    }
  }
}

.vscode/mcp.json in the workspace:

{
  "servers": {
    "youtube": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=youtube",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}

~/.codex/config.toml:

[mcp_servers.youtube]
url = "https://mcp.hasdata.com/mcp?apis=youtube"

[mcp_servers.youtube.headers]
"x-api-key" = "HASDATA_API_KEY"

~/.gemini/settings.json:

{
  "mcpServers": {
    "youtube": {
      "httpUrl": "https://mcp.hasdata.com/mcp?apis=youtube",
      "headers": { "x-api-key": "HASDATA_API_KEY" }
    }
  }
}

Example prompts

Prompts, not code. Paste one in and the agent picks the tool itself. Each is annotated with the calls it takes, because in MCP the model decides how many calls to make and every successful call costs 10 credits.

Find the ten most viewed videos about the Model Context Protocol from the last month, then pull the transcript of the top one and give me the three claims it makes about tool calling.

Two calls, 20 credits.

Take the channel @GoogleDevelopers. List the tabs it publishes, then summarize the last five uploads and tell me which topics repeat.

Two calls, 20 credits. Reading a tab you have not seen takes a second call, because the tab list arrives inside the first response.

Take this video id, dQw4w9WgXcQ. Get its stats, then check which of its related videos come from the same channel.

One call, 10 credits. Related videos ride along in the same response.

Search YouTube for "web scraping tutorial", sorted by upload date, videos under four minutes only, and give me the chapter titles of each result that has them.

One call, 10 credits.

Pull the German transcript of this video if one exists, and tell me which languages it is available in.

One call, 10 credits.

Read the first two pages of comments on dQw4w9WgXcQ and list the five most liked ones with their reply counts.

Two calls, 20 credits. The second page needs only the token from the first.

Search takes YouTube's own filter tokens, and an agent narrows by duration, upload date and content type without post-processing. Transcripts arrive with the list of available language tracks, which lets the agent pick one without guessing.

Paging costs a call each time. A research prompt that searches, pages twice, then pulls three transcripts is six calls and 60 credits. The free tier goes further on narrow questions than on open-ended crawls.

Tools

Tool What it returns
hasdata_youtube_comments_getYoutubeComments Top-level comments of a video, twenty a page: text, author with channelId, relative publish time, like and reply counts as strings and as integers, and a nextPageToken that fetches the next page or a comment's replies on its own. 10 credits a call
hasdata_youtube_channel_getYoutubeChannel Channel identity (title, description, avatar, banner, country, join date), subscriber and total-view counts, social links, and the items on the requested tab (videos…. 10 credits a call
hasdata_youtube_search_getYoutubeSearchResults Searches YouTube for a query and returns the full results page split into videoResults (videoId, title, views, length, publish date, chapters, channel info, extensions…. 10 credits a call
hasdata_youtube_transcript_getYoutubeTranscript The timed transcript (subtitles) of a YouTube video by its 11-character videoId. 10 credits a call
hasdata_youtube_video_getYoutubeVideo Title, thumbnail, raw + normalized views and likes, lengthSeconds, publish date, category, keywords/tags, isFamilySafe / isUnlisted flags, the uploading channel…. 10 credits a call

Five tools, all read-only. Samples below are trimmed from real calls, and the numbers in them move as YouTube updates. Read them as shapes. Each tool name links to its endpoint reference, which carries the full field list.

The samples are the payload, not the whole response. A tools/call result carries one text block, and that text is itself JSON holding url, status, text and json, with the scraped data under json. From a raw JSON-RPC response the path is result.content[0].text, parsed, then .json. A chat client unwraps that for you and code talking to the endpoint directly does not.

Get YouTube search results

hasdata_youtube_search_getYoutubeSearchResults

Searches YouTube and returns the whole results page, split by result type.

Parameter Type Required Notes
q string yes Free-text query, exactly as a user would type it
sortBy string relevance by default, plus date, views, rating and popularity
date string Upload window relative to now
length string Duration bucket, for example under4
videoType string Restrict to one content type
filters__ array Feature flags, combinable
sp string Raw YouTube sp token copied from a search URL. Overrides sortBy, date, videoType, length and filters__ with no warning, so leave those empty when you pass a token
paginationToken string The pagination.nextPageToken from the previous response
gl / hl / deviceType string Two-letter country and language codes, and device

A results page is split across videoResults, shortsResults, inlineShortsResults, playlistResults, channelResults and shelves, with paid placements in adsResults and sponsoredResults. Which blocks appear depends on the query, and a block with nothing to report is absent, not empty. Test for the key before iterating. searchInformation carries the total and pagination.nextPageToken is what you feed back as paginationToken. Ads never mix into the organic arrays, though there are two of them to skip.

{
  "positionOnPage": 1,
  "videoId": "GuTcle5edjk",
  "title": "you need to learn MCP RIGHT NOW!! (Model Context Protocol)",
  "viewsOriginal": "1.6M views",
  "views": 1653824,
  "length": "38:40",
  "publishedDate": "11 months ago",
  "extensions": ["4K"],
  "chapters": [
    { "title": "Intro", "time": "0:00" },
    { "title": "Problem: LLMs Suck at Accessing Code", "time": "0:40" }
  ],
  "channel": { "name": "NetworkChuck", "verified": true }
}

Two things there earn a mention. views is a parsed integer next to the 1.6M views display string and needs no suffix parser. And chapters come back inside search results, not only on the video itself, though only some videos carry them.

The search endpoint reference lists every sp and filters__ token the endpoint accepts.

Get YouTube video data

hasdata_youtube_video_getYoutubeVideo

One video by id.

Parameter Type Required Notes
v string yes The 11-character video id from v=
gl / hl / deviceType string Two-letter country and language codes, and device

Returns title, thumbnail, channel, publishedDate, lengthSeconds, category, isFamilySafe and isUnlisted, plus the relatedVideos, endScreenVideos, keywords, captions, music and socialLinks arrays. description is an object holding the full text in content and a links array where every link and hashtag carries startIndex, length, text and url. The text field holds the link as the author wrote it and url holds YouTube's redirect wrapper, which matters if you are pulling sponsor or affiliate destinations out of descriptions.

Read the parsed field by name per tool before you copy the sample below. Search and channel results put the parsed number in views and the display string in viewsOriginal. This response inverts it, keeping the string in views and the number in extractedViews, and the same inversion applies to likes and subscribers. Get it wrong and item.views > 100000 compares a string here without ever throwing.

{
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "views": "1,806,075,152 views",
  "extractedViews": 1806075152,
  "likes": "19M",
  "extractedLikes": 19344370,
  "publishedDate": "Oct 24, 2009",
  "lengthSeconds": 214,
  "category": "Music",
  "channel": { "name": "Rick Astley", "subscribers": "4.53M subscribers", "extractedSubscribers": 4530000 }
}
Get YouTube channel data

hasdata_youtube_channel_getYoutubeChannel

A channel by id or handle, one tab at a time.

Live check

What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.

Reachable
YES
Transport
SSE
Authentication
NONE — OPEN
MCP protocol
2025-06-18
Server
hasdata-mcp-api-server 1.0.0
Tools advertised
5

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Capabilities

5 tools advertised

This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.

hasdata_youtube_channel_getYoutubeChannel

Get YouTube Channel Data Fetches a YouTube channel by its ID (`UC…`) or handle (`@name`) and returns structured data for any channel tab — `featured`/Home, `videos`, `shorts`, `streams`, `playlists`, `posts`, `podcasts`, `releases`, `store` (desktop only), `about`. Returns channel identity (title, description, avatar, banner), subscriber count, country, join date, total-view count and social links (on the `about` tab), and the items on the requested tab (videos with views and publish date, play

Params channelId tab gl hl deviceType paginationToken

hasdata_youtube_comments_getYoutubeComments

Get YouTube Comments Returns a page of top-level `comments` for a YouTube video or short identified by its 11-character `videoId` (`v`). Each comment carries its text, author (name, channel id, avatar, verified/creator flags), publish time, and raw + normalized like and reply counts. `pagination` carries the returned comment `count`, the video's total comment count (`totalCount` as shown, `extractedTotalCount` as a number), a `nextPageToken`, and a `hasdataLink` that calls this endpoint for the

Params v gl hl deviceType nextPageToken

hasdata_youtube_search_getYoutubeSearchResults

Get YouTube Search Results Searches YouTube for a query and returns the full results page split into `videoResults` (videoId, title, views, length, publish date, chapters, channel info, extensions like 4K/CC), `channelResults` (channelId, handle, subscribers, verified flag), `shortsResults` / `inlineShortsResults`, themed `shelves` (e.g. 'People also watched', 'Latest from <creator>'), `adsResults` and `sponsoredResults` (advertiser, landing URL, position), plus `searchInformation.totalResults`

Params q gl hl deviceType sp sortBy date videoType length filters__ paginationToken

hasdata_youtube_transcript_getYoutubeTranscript

Get YouTube Video Transcript Returns the timed transcript (subtitles) of a YouTube video by its 11-character `videoId`. `languageCode` selects the track (e.g. `en`, `de-DE`, `pt-BR`); `type=asr` requests the auto-generated speech-recognition track. Each segment in `transcript[]` carries `startMs`, `endMs`, `snippet`, and a formatted `startTimeText`. The response also includes `availableTranscripts[]` listing every track on the video (language name + code, `type: asr` for auto-generated, `select

Params v languageCode type

hasdata_youtube_video_getYoutubeVideo

Get YouTube Video Data Fetches a single YouTube video by its 11-character `videoId`. Returns title, thumbnail, raw + normalized views and likes, `lengthSeconds`, publish date, category, keywords/tags, `isFamilySafe` / `isUnlisted` flags, the uploading channel (id, link, subscribers, avatar), the full description with parsed links and hashtags, available `captions` tracks (with `kind: asr` for auto-generated), Content-ID `music` matches (song/artist/album), creator `socialLinks`, and the `relate

Params v gl hl deviceType

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub com.hasdata/youtube
  • MCP Registry com.hasdata/youtube

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229