youtube-trends-mcp
youtube-trends-mcp
面向 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 / 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/mcpRelated MCP server: YouTube Content Management MCP Server
示例查询
连接后,向你的 AI 提问:
get_trends(keyword='morning routine', source='youtube', data_mode='weekly')可用工具
工具 | 功能说明 |
| 获取该数据源上某个关键词的时间序列数据 |
| 获取 1 周、1 月、3 月、6 月、1 年周期的增长率 |
| 获取该数据源当前的热门趋势 |
| 按搜索量排序的热门话题 |
常见问题
Trends MCP 提供哪些 YouTube 数据?
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-mcpimport 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
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceEnables AI language models to interact with YouTube content through a standardized interface, providing tools for retrieving video information, transcripts, channel analytics, and trend analysis.49065MIT
- Alicense-qualityDmaintenanceEnables AI assistants to search YouTube for videos, channels, and playlists while retrieving detailed analytics and metrics through the YouTube Data API v3. Supports advanced filtering options and provides comprehensive statistics for content discovery and analysis.1MIT
- Flicense-qualityCmaintenanceEnables AI assistants to search videos, channels, and playlists, retrieve video metadata, transcripts, and comments via the YouTube Data API v3.73
- Alicense-qualityBmaintenanceEnables AI assistants to query YouTube search trends, including rising topics, growth metrics, and historical search demand, using natural language.1MIT
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…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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