I Infoget Hotspots

使用方法

Infoget Hotspots 提供面向用户和 AI Agent 的中文热点热榜读取服务。公开 API、MCP、Skill 都读取服务器缓存,服务端后台会自动定时更新数据,避免用户请求直接打到源站。

Skill 下载

下载 Infoget Hotspots Skill

HTTP API

把示例中的 BASE_URL 替换为实际服务地址:

curl "BASE_URL/api/boards"
curl "BASE_URL/api/boards/all?limit_per_board=50"
curl "BASE_URL/api/boards/微博热搜?limit=50"

MCP 使用

通过 get_news_hotspots 调用:

{
  "action": "all_boards",
  "limit": 50
}

可用 action:

action 用途
list_boards 获取当前有哪些榜单
all_boards 获取全站全部榜单
board_items 获取单个榜单
snapshot 兼容旧热点快照

缓存策略

配置示例:

{
  "enabled": true,
  "min_interval_minutes": 10,
  "max_interval_minutes": 20,
  "refresh_on_start_if_cache_missing": true
}