原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

HasData YouTube

作者:HasData版本 1.0.9i★ –i电脑或云端
注册名称com.hasdata/youtube

安装

概览

作者提供的说明(英文原文)

Search YouTube and read video, channel and transcript data as JSON. No Google Cloud project.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 营销与社交媒体
  • 你需要填写:HASDATA_API_KEY, x-api-key

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: HASDATA_API_KEY, x-api-key

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

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

在终端中运行这条命令

claude mcp add --transport http youtube 'https://mcp.hasdata.com/mcp?apis=youtube' --header 'x-api-key: your-value'

或者在你的电脑上运行

claude mcp add youtube --env HASDATA_API_KEY=your-value -- npx -y @hasdata/youtube-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

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

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "youtube": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/youtube-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HASDATA_API_KEY 机密 必填 env
    HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.
  • x-api-key 机密 必填 HTTP header
    HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 hasdata.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2956 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2956 个服务器的 40% 更新
  • 基础检查结果等于或优于此分类中其他 2956 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

HasData YouTube 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:HASDATA_API_KEY, x-api-key

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.9)于43天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT9天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT9天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

YouTube MCP Server

A hosted YouTube MCP server that gives Claude, Cursor, Windsurf and any other MCP client four read-only YouTube tools. Search YouTube, read video and channel data, and pull transcripts, 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
  • Prompts and resources

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.

FieldValue
URLhttps://mcp.hasdata.com/mcp?apis=youtube
TransportHTTP, streamable
Auth headerx-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 Code

claude mcp add --transport http youtube "https://mcp.hasdata.com/mcp?apis=youtube" \

--header "x-api-key: HASDATA_API_KEY"

Claude Desktop

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

~/.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" } } } }

Windsurf

~/.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" } } } }

Cline

{

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

VS Code

.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 CLI

~/.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 CLI

~/.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.*

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

ToolWhat it returns
hasdata_youtube_channel_getYoutubeChannelChannel 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_getYoutubeSearchResultsSearches 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_getYoutubeTranscriptThe timed transcript (subtitles) of a YouTube video by its 11-character videoId. 10 credits a call
hasdata_youtube_video_getYoutubeVideoTitle, thumbnail, raw + normalized views and likes, lengthSeconds, publish date, category, keywords/tags, isFamilySafe / isUnlisted flags, the uploading channel…. 10 credits a call

Four 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.

ParameterTypeRequiredNotes
qstringyesFree-text query, exactly as a user would type it
sortBystringrelevance by default, plus date, views, rating and popularity
datestringUpload window relative to now
lengthstringDuration bucket, for example under4
videoTypestringRestrict to one content type
filters__arrayFeature flags, combinable
spstringRaw 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
paginationTokenstringThe pagination.nextPageToken from the previous response
gl / hl / deviceTypestringTwo-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.

ParameterTypeRequiredNotes
vstringyesThe 11-character video id from v=

| gl / hl / deviceType | string | | Two-letter country and language codes,

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx