hotnews

MCP Tools

CLI tool to fetch trending news and hot topics from 8 sources across Chinese platforms and GitHub. Returns structured news items with titles, URLs, and metadata. USE FOR: - Fetching trending/hot news from Chinese and international platforms - Monitoring hot topics across social media, tech, finance, and news sites - Getting structured news data as JSON for further processing - Listing available news sources Requires npm install.

Install

openclaw skills install hotnews

hotnews CLI

Fetch trending news and hot topics from 8 sources. Returns news items with title, URL, hot metric, and rank.

Run hotnews --help for usage details.

Workflow

Follow this pattern:

  1. List - Don't know what sources are available? List them first.
  2. Fetch - Know the source? Fetch news directly.
  3. JSON - Need structured data? Add --json for machine-readable output.
NeedCommandWhen
See all sourceshotnews listDon't know source names
Get newshotnews <source>Know the source, want readable output
Get news as JSONhotnews <source> --jsonNeed structured data for processing
Control item counthotnews <source> --limit NWant specific number of results (1-50, default 10)

Commands

list

List all available sources.

hotnews list

Fetch a source

hotnews baidu
hotnews baidu --json
hotnews weibo --limit 5
hotnews douyin -l 15 --json

Options

FlagShortDescription
--jsonOutput as JSON
--limit N-l NNumber of items to return (default: 10, max: 50)

Output fields (JSON mode):

  • title - News headline
  • url - Link to the article
  • hot - Popularity metric, e.g. "871 stars today", "5.3k" (optional)
  • rank - Position in the ranking (1-based)

Sources

8 source endpoints:

PlatformIDDescription
BaidubaiduBaidu real-time search trends
WeiboweiboWeibo real-time trending topics
DouyindouyinDouyin real-time trending
HupuhupuHupu street hot posts
36Krkr3636Kr tech news flashes
ZhihuzhihuZhihu trending questions
JuejinjuejinJuejin developer community hot articles
GitHubgithubGitHub trending open source projects today

Source Selection Guide

CategoryRecommended Sources
General Newsbaidu, weibo, toutiao
Social/Trendingweibo, douyin, zhihu
Tech/Developerjuejin, github, kr36
Sports/Lifestylehupu

Working with Results

hotnews baidu --json | jq '.[].title'
hotnews baidu --json --limit 5
hotnews weibo --json | jq '.[] | "\(.rank). \(.title) \(.hot // "")"'
hotnews github --json | jq '.[] | "\(.title) - \(.hot)"'