原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

YouTube Trends API

作者:trendsapi-ai版本 1.0.2i★ 1i在云端运行
注册名称ai.trendsapi/youtube

安装方法

概览

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

YouTube search volume and trending videos over time. Free key at trendsapi.ai

它能帮你做什么

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

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 营销与社交媒体
  • 你需要填写:Authorization

安装

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

通过 4/4 项检查 · 你的提问会经过开发者的服务器(youtube.api.trendsapi.ai)

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 5 分钟

需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个

  1. 注册并创建 YouTube Trends API 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 YouTube Trends API 网站 ↗

  2. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  3. 点击“+ Add” → “Add custom connector”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称YouTube Trends API
    Remote MCP server URL · 地址https://youtube.api.trendsapi.ai/mcp

    在 Request headers 下添加这个名称和值

    Header 名称Authorization
    值Bearer <在这里粘贴你的密钥>

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

    Authentication 保持 Claude 检测到的设置,然后点击 Add

  4. 在聊天中开启

    +ConnectorsYouTube Trends API

  5. 试一试

    用 YouTube Trends API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 YouTube Trends API,或回答中出现 YouTube Trends API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 YouTube Trends API

YouTube Trends API 连接时需要你自己的密钥,但 OpenAI 帮助页面只说明了 OAuth 登录,没有我们能核实的填密钥方式

你可以改用这些方式

A · 使用能连接 YouTube Trends API 的应用

  • 需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费) · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个
  • 需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)
  • 需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)
  • 需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)

B · 营销与社交媒体 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code · 约 5 分钟

需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)

  1. 注册并创建 YouTube Trends API 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 YouTube Trends API 网站 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --transport http youtube https://youtube.api.trendsapi.ai/mcp --header 'Authorization: your-value'

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 Claude Code 中输入 /mcp

    应能看到 YouTube Trends API 在列表中并显示已连接

  5. 试一试

    用 YouTube Trends API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 YouTube Trends API,或回答中出现 YouTube Trends API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 5 分钟

需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)

  1. 注册并创建 YouTube Trends API 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 YouTube Trends API 网站 ↗

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 填写你的密钥

    在 YouTube Trends API 的设置中,Authorization 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 Cursor 中以 Agent 模式打开 AI 聊天

  5. 试一试

    用 YouTube Trends API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 YouTube Trends API,或回答中出现 YouTube Trends API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 5 分钟

需要 YouTube Trends API 的密钥(在开发者网站注册,可能收费)

  1. 注册并创建 YouTube Trends API 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 YouTube Trends API 网站 ↗

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 填写你的密钥

    在 YouTube Trends API 的设置中,Authorization 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  4. 在 VS Code 中以 Agent 模式打开 AI 聊天

  5. 试一试

    用 YouTube Trends API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 YouTube Trends API,或回答中出现 YouTube Trends API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://youtube.api.trendsapi.ai/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 YouTube Trends API 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http youtube https://youtube.api.trendsapi.ai/mcp --header 'Authorization: your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "youtube": {
      "url": "https://youtube.api.trendsapi.ai/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "youtube": {
      "type": "http",
      "url": "https://youtube.api.trendsapi.ai/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

需要你填写的值

  • Authorization 机密 必填 HTTP header
    Bearer token. Get your free API key at https://trendsapi.ai

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

一览

每周下载量i
不在 npm/PyPI 上
已验证域名
✓ trendsapi.ai
连接方式
在云端运行
传输方式
streamable-http
最新版本i
1.0.2
发布到注册中心i
2026年10月22日
代码最后更新i
2026年10月16日
作者
trendsapi-ai
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于27天前

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 174 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • … 尚未检查

    工具描述中没有隐藏指令

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

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

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

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

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

常见问题

YouTube Trends API 安全吗?

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

它需要哪些密钥或代码?

你需要填写:Authorization

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

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于27天前,最新版本(1.0.2)于21天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。

有什么可以替代它?

同一分类中有:PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP

替代选择

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

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

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

作者:PostHog广泛使用★ 4.1万10个月前更新

在云端运行

Openshorts

Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.

作者:mutonby广泛使用★ 76763个月前更新

在云端运行

Google Ads + Meta Ads + SEO/GEO MCP

Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI

作者:irinabuht12-oss广泛使用★ 727431天前更新

在云端运行

作者的 README

打开 README

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

YouTube search-interest API

YouTube search interest trends via the YouTube Trends API. History, growth, and live YouTube trending.

Key: trendsapi.ai/#get-key. HTTP contract and every source: trendsapi-ai/trendsapi.

Authentication

pip install trendsapi-youtube

export TRENDSAPI_KEY=your_key

Python 3.9+. Same key as the HTTP API.

from trendsapi_youtube import TrendsAPI

client = TrendsAPI() # TRENDSAPI_KEY

client = TrendsAPI(api_key="YOUR_KEY")

Keyword helpers default to source: "youtube". Pass source= to hit any other platform with the same client. Official full client (every source, no preset): trendsapi.

Methods

MethodREST modeReturns
get_time_series(keyword, source=, data_mode=)get_time_serieslist[TrendsDataPoint]
get_growth(keyword, percent_growth=, source=, data_mode=)get_growthGetGrowthResponse
get_live(limit=, offset=, category=)get_top_trendsGetTopTrendsResponse
get_top_trends(type=, ...)get_top_trendsGetTopTrendsResponse

source is lowercase (youtube). type is exact (YouTube Trending). Mixing them is a 400.

from trendsapi_youtube import TrendsAPI

client = TrendsAPI() # TRENDSAPI_KEY

client = TrendsAPI(api_key="YOUR_KEY")

series = client.get_time_series("sourdough starter") print(series[-1].date, series[-1].value)

growth = client.get_growth("sourdough starter", percent_growth=["3M", "12M"]) print(growth.results[0].growth, growth.results[0].direction)

hot = client.get_live(limit=10) print(hot.data) # [[1, "..."], ...]

get_time_series

points = client.get_time_series("sourdough starter")

Each point:

FieldAlwaysMeaning
dateyesYYYY-MM-DD
valueyes0-100 index for this series
keywordyesEcho
volumenoAbsolute volume when available
source or datatypenoPipeline label

Python returns list[TrendsDataPoint]. Use .date and .value, not ["date"]. JS returns the same fields as object properties.

get_growth

g = client.get_growth("sourdough starter", percent_growth=["12M", "3M", "YTD"])

print(g.results[0].growth, g.results[0].direction)

percent_growth default: ["12M"]. Presets: 7D 14D 30D 1M 2M 3M 6M 9M 12M/1Y 18M 24M/2Y 36M/3Y 48M 60M/5Y MTD QTD YTD. Custom: {"name": "Launch", "recent": "2024-06-01", "baseline": "2024-01-01"}.

FieldMeaning
search_termKeyword
data_sourceSource
resultsOne object per window (period, growth, direction, dates, values)
metadataCounts / success flag

Several windows still count as one request. Python: growth.results[0].growth. JS: growth.results[0].growth.

get_live

hot = client.get_live(limit=10)
FieldMeaning
as_of_tsSnapshot time
typeFeed name
limit, offset, countPagination
data[rank, label] rows

Python: hot.data. JS: hot.data. Optional offset= and category= (Amazon Best Sellers by Category, Top Websites only).

Async

import asyncio

from trendsapi_youtube import AsyncTrendsAPI

async def main(): c = AsyncTrendsAPI() return await asyncio.gather( c.get_time_series("sourdough starter"), c.get_time_series("sourdough starter", source="google search"), )

asyncio.run(main())

Each 200 is one billed request.

Pandas

from dataclasses import asdict

import pandas as pd from trendsapi_youtube import TrendsAPI

df = pd.DataFrame(asdict(p) for p in TrendsAPI().get_time_series("sourdough starter")) df["date"] = pd.to_datetime(df["date"]) print(df.set_index("date")["value"].resample("ME").mean().tail())

JavaScript / TypeScript

npm install trendsapi-youtube

Node 18+, Deno, Bun, Workers. Same API key. Field tables above apply.

Methods
MethodREST modeReturns
getTimeSeries(keyword, { source, data_mode })get_time_seriesweekly points
getGrowth(keyword, { percent_growth, source, data_mode })get_growthgrowth object
getLive({ limit, offset, category })get_top_trendslive feed
getTopTrends({ type, ... })get_top_trendslive feed
import { TrendsAPI } from "trendsapi-youtube";

const client = new TrendsAPI({ apiKey: process.env.TRENDSAPI_KEY! }); const series = await client.getTimeSeries("sourdough starter"); console.log(series.at(-1)?.date, series.at(-1)?.value);

const growth = await client.getGrowth("sourdough starter", { percent_growth: ["3M", "12M"], }); console.log(growth.results[0].growth, growth.results[0].direction);

const live = await client.getLive({ limit: 10 }); console.log(live.data); // [[1, "..."], ...]

Call (curl)

FieldValue
EndpointPOST https://api.trendsapi.ai/api
AuthAuthorization: Bearer $TRENDSAPI_KEY
Historysource: youtube with get_time_series or get_growth
KeywordSearch phrase, e.g. sourdough starter
Live typeYouTube Trending
curl -sS -X POST https://api.trendsapi.ai/api \

-H "Authorization: Bearer $TRENDSAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"mode":"get_time_series","source":"youtube","keyword":"sourdough starter"}'

Source notes

  • value is 0-100 for this term on YouTube only, not video metadata.
  • type is YouTube Trending, not youtube.
  • No regionCode on this endpoint.

Errors

HTTPClient
200Parsed payload. Python dataclasses / JS typed objects
400Raises. Fix source or type spelling
401Raises. Check TRENDSAPI_KEY
404Raises. No series for that keyword. Do not retry
429Raises. Quota
5xxClient retries, then raises

The HTTP body field is a JSON string. SDKs decode it. Raw curl must parse body a second time.

Site: https://trendsapi.ai/trends/youtube-trends.

License

MIT. See LICENSE.