mcpField
G
google-trends

google-trends

github.com/j-star-films-studios营销与增长26160 次安装2 周前更新
代码仓库

关于 google-trends

google-trends 是一项命令行 Skill,可不经浏览器查询 Google Trends,适合研究主题趋势的用户。它能查看多个 Google 属性中的相关查询、上升查询和兴趣变化。

主要功能

  1. 01查询 YouTube、网页、图片、新闻和购物趋势
  2. 02设置关键词、时间范围和类别
  3. 03查看热门及上升相关查询
  4. 04以表格、JSON 或 Markdown 导出

适用场景

  1. 01用 YouTube 搜索趋势验证视频主题
  2. 02检查主题关注度是否随时间上升
  3. 03比较不同关键词的趋势信号

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/j-star-films-studios/vibecode-protocol-suite --skill google-trends

安装后在 Claude Code 中输入/google-trends确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

scripts/
package.json
pnpm-lock.yaml
search.js

详细介绍

Google Trends Skill

无需浏览器即可自动开展 Google Trends 调研。针对任意关键词,在 YouTube、Web、Images 或 News 中查询相关主题、上升查询和随时间的关注度。

前置要求

需要 Node.js 18+ 和 PNPM。

# Check Node
node --version

# Install dependencies (first-time only)
cd .agent/skills/google-trends/scripts
pnpm install

快速开始

# Basic search (YouTube, Last 7 Days, Tech category)
node .agent/skills/google-trends/scripts/search.js -k "Claude AI"

# Search Web instead of YouTube
node .agent/skills/google-trends/scripts/search.js -k "AI agents" -p web

# Extended time range (1 month)
node .agent/skills/google-trends/scripts/search.js -k "VibeCoding" -t "now 1-m"

# Output as JSON for piping
node .agent/skills/google-trends/scripts/search.js -k "Cursor IDE" -o json

命令行参考

Usage: search.js [options]

Options:
  -k, --keyword <string>    Topic to search (required)
  -p, --property <string>   youtube | web | images | news | froogle (default: youtube)
  -t, --time <string>       now 7-d | now 1-m | today 3-m | today 12-m (default: now 7-d)
  -c, --category <number>   Google Trends category ID (default: 5 = Tech)
  -o, --output <string>     table | json | markdown (default: table)
  -f, --file <path>         Save output to file (optional)
  --interest                Include interest-over-time data (default: false)
  -h, --help                Show help
Property 选项
值搜索内容
youtubeYouTube 搜索趋势
webGoogle 网页搜索趋势
imagesGoogle 图片趋势
newsGoogle 新闻趋势
froogleGoogle 购物趋势
Time 选项
值时间段
now 7-d过去 7 天
now 1-m过去 30 天
today 3-m过去 90 天
today 12-m过去 12 个月
类别 ID(常用)
ID类别
5计算机与电子产品(科技)
13艺术与娱乐
174体育
3商业与工业

完整列表:Google Trends Categories


示例工作流

YouTube 第一阶段调研

在 /youtube-phase1-strategy 期间使用此技能来验证主题:

# Check if "Claude Cowork" is rising on YouTube
node .agent/skills/google-trends/scripts/search.js -k "Claude Cowork" -p youtube -t "now 7-d"

信号: 在相关查询中查找 BREAKOUT 或大于 100 的值。

通用主题验证
# Is "RAG" still trending in AI?
node .agent/skills/google-trends/scripts/search.js -k "RAG AI" -p web -t "today 3-m" --interest

信号: 检查随时间的关注度是在上升还是已达到峰值。


输出格式

表格(默认)
[TrendProbe] Searching: "Claude AI" on YouTube (Last 7 days)

--- Related Queries (Top) ---
1. claude ai assistant (100)
2. anthropic claude (81)
3. claude vs chatgpt (45)

--- Related Queries (Rising) ---
1. anthropic (BREAKOUT)
2. claude code (450%)
JSON
{
  "keyword": "Claude AI",
  "property": "youtube",
  "time": "now 7-d",
  "top": [...],
  "rising": [...]
}
Markdown
## Claude AI (YouTube, 7 days)
### Top Queries
1. claude ai assistant (100)
...

提示

  1. BREAKOUT = 金矿。 一个“BREAKOUT”查询的增长率已超过 5000% —— 这是经过验证的机会。
  2. 交叉验证。 结合 YouTube Studio Trends 和 Competitor VidIQ 进行 3 源验证。
  3. 尝试多个关键词。 “Claude AI”与“Claude Cowork”与“Anthropic Claude”可能揭示不同的信号。
  4. 类别很重要。 类别 5(科技)给出科技导向的结果;省略 -c 可获得更广泛的趋势。

评论

支持 Markdown