微博、知乎、B站、百度、头条、抖音、贴吧、掘金,标题 + 位次 + 热度一次返回。单源挂了自动降级,不影响其他平台。
一行命令,工具自动出现在 Agent 的工具列表里。
# Claude Code / Cursor / 任何 MCP 客户端 claude mcp add --transport http mycel-hot https://pianam.cn/hot-mcp/mcp
标准 JSON-RPC 2.0。initialize 握手不消耗额度,只有 tools/call 计数。
curl -s https://pianam.cn/hot-mcp/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'查询各大平台实时热搜/热榜。platform可选weibo/zhihu/bilibili/baidu/toutiao/douyin/tieba/juejin/all(默认),limit单平台条数1-50默认20。数据来自各平台公开接口,缓存5分钟。
| 参数 | 类型 | 必填 | 默认 | 说明 |
|---|---|---|---|---|
| platform | string | 可选 | all | 平台名,或 "all"(默认,返回全部平台各 top10) |
| limit | integer | 可选 | 20 | 单平台返回条数,1-50,默认 20(all 模式忽略此参数) |
curl -s https://pianam.cn/hot-mcp/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_hot_trending","arguments":{"platform":"weibo","limit":3}}}'{
"platform": "weibo",
"updated_at": "2026-11-25 06:45",
"items": [
{
"rank": 1,
"title": "王牌对王牌第十季阵容",
"hot": 499826,
"url": "https://s.weibo.com/weibo?q=%E7%8E%8B%E7%89%8C..."
},
{
"rank": 2,
"title": "特朗普对一道中国菜念念不忘",
"hot": 371550,
"url": "https://s.weibo.com/weibo?q=%E7%89%B9%E6%9C%97..."
},
{
"rank": 3,
"title": "一张网背后的中国经济底气",
"hot": 294920,
"url": "https://s.weibo.com/weibo?q=%E4%B8%80%E5%BC%A0..."
}
]
}platform="all" 时返回 {"platforms": {平台: [...]}, "failed": {平台: 错误}, "note": ...},每平台 top 10。
列出所有支持的热搜平台及其显示名称。
无参数。这个工具不需要任何入参,直接调。
curl -s https://pianam.cn/hot-mcp/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_platforms","arguments":{}}}'{
"platforms": [
{
"slug": "weibo",
"name": "微博热搜",
"name_en": "Weibo Hot Search"
},
{
"slug": "zhihu",
"name": "知乎热榜",
"name_en": "Zhihu Hot List"
},
{
"slug": "bilibili",
"name": "B站热门",
"name_en": "Bilibili Popular"
},
{
"slug": "baidu",
"name": "百度热搜",
"name_en": "Baidu Hot Search"
},
{
"slug": "toutiao",
"name": "头条热榜",
"name_en": "Toutiao Hot Board"
},
{
"slug": "douyin",
"name": "抖音热点",
"name_en": "Douyin Hot Search"
},
{
"slug": "tieba",
"name": "贴吧热议",
"name_en": "Tieba Hot Topics"
},
{
"slug": "juejin",
"name": "掘金热榜",
"name_en": "Juejin Hot Articles"
}
],
"note": "use query_hot_trending(platform=...) to fetch a board; platform='all' returns top 10 of every board"
}超额返回 -32002,带 X-API-Key 继续用。密钥在 pianam.cn 注册后于控制台创建。