Skip to main content
Glama
trendsmcp-ai

youtube-trends-mcp

by trendsmcp-ai

youtube-trends-mcp

YouTube Trends MCP Works with Claude Works with Cursor

面向 AI 助手的 YouTube 趋势数据 了解人们在 YouTube 上搜索什么。热门话题、增长中的视频关键词以及历史搜索需求——你的 AI 可以用自然语言查询所有这些信息。

完整文档和在线演示: https://trendsmcp.ai/youtube-trends

属于 Trends MCP 的一部分——覆盖 12+ 数据源的实时趋势数据 MCP 服务器。 查看主仓库:https://github.com/trendsmcp/trends-mcp


两步快速开始

第一步:trendsmcp.ai 免费获取 API 密钥 每天 100 次请求,无需信用卡。

第二步: 添加到你的 AI 客户端(将 YOUR_API_KEY 替换为你的密钥):

+ 添加到 Cursor(一键)

Cursor / Windsurf / Cline   (~/.cursor/mcp.json 或等效文件)

{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot   (.vscode/mcp.json

{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop   (claude_desktop_config.json) 用户 → 设置 → 开发者 → 编辑配置 — 在 mcpServers 内添加

{
  "mcpServers": {
    "trends-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.trendsmcp.ai/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude.ai(浏览器)   设置 -> 连接器 -> 添加自定义连接器:

https://api.trendsmcp.ai/mcp

Related MCP server: YouTube Content Management MCP Server

示例查询

连接后,向你的 AI 提问:

get_trends(keyword='morning routine', source='youtube', data_mode='weekly')

可用工具

工具

功能说明

get_trends

获取该数据源上某个关键词的时间序列数据

get_growth

获取 1 周、1 月、3 月、6 月、1 年周期的增长率

get_top_trends

获取该数据源当前的热门趋势

get_ranked_trends

按搜索量排序的热门话题


常见问题

YouTube 视频搜索量趋势——归一化后的兴趣随时间变化、增长指标和历史序列。这反映的是特定主题的视频内容需求,而非单个视频的观看次数。

YouTube 搜索数据与 Google 搜索数据有何不同?

YouTube 反映的是视频相关的特定意图。像“如何做倒立”这样的关键词可能在 YouTube 上需求很高,但在 Google 搜索中量较低。对比两者可以揭示内容格式偏好。

能否用这个工具寻找热门的 YouTube 内容创意?

可以。查询一组主题关键词,按过去 30 天的增长率排序,你的 AI 就会找出当前搜索势头正劲的视频主题。

它是否涵盖 YouTube Shorts 的搜索需求?

该信号反映的是包括 Shorts 发现在内的整体 YouTube 搜索量。YouTube 并未单独分离 Shorts 搜索数据,因此结果反映的是整个平台的搜索兴趣。


所有数据源

Trends MCP 通过一个连接覆盖 12+ 数据源: Google 搜索、YouTube、TikTok、Reddit、亚马逊、维基百科、 新闻情绪、网站流量、应用下载、Steam、npm 等。

浏览全部:https://trendsmcp.ai/data-sources


也可作为 Python 客户端使用

相同的 API 密钥可直接在 Python 中使用——无需 MCP 主机。

pip install youtube-trends-mcp
import os
from youtube_trends_mcp import TrendsMcpClient, SOURCE

client = TrendsMcpClient(api_key=os.environ["TRENDSMCP_API_KEY"])

series  = client.get_trends(source=SOURCE, keyword="your keyword")
growth  = client.get_growth(source=SOURCE, keyword="your keyword", percent_growth=["1M", "3M", "12M"])
top     = client.get_top_trends(type="Youtube", limit=10)

完整 Python 文档:trendsmcp.ai/docs

许可证

MIT © Trends MCP

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Trend data from Google Trends, YouTube, TikTok, Reddit, Amazon, Wikipedia, npm, Steam and more

  • Spot keyword demand rising or fading across search and social. Free key at trendsapi.ai

  • Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trendsmcp-ai/youtube-trends-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server