此包由 MCPFlow 打包并发布到npm仓库。
HotNews MCP Server是一个基于 Model Context Protocol (MCP) 的实时热点话题聚合服务,可以为 AI 助手提供来自中国主要社交平台和新闻网站的热点话题。支持知乎热榜、36氪热榜、百度热点、B站热榜、微博热搜、抖音热点、虎扑热榜、豆瓣热榜、IT新闻等9个主要中文平台的热点话题,提供带热度指数的可点击链接,方便 AI 模型获取最新热点资讯。
直接使用npx运行:
npx @mcpflow.io/mcp-hotnews-mcp-server
或者先安装后使用:
# 安装
npm install @mcpflow.io/mcp-hotnews-mcp-server
# 使用
npx @mcpflow.io/mcp-hotnews-mcp-server
Generates a description of available hot news sources.
参数:
Retrieves the maximum source ID from the available hot news sources.
参数:
Tests the API endpoint for a given source.
参数:
-
source
: The source object containing name and description.
Runs tests on all available sources.
参数:
- 开发者: sampx
- 版本: 1.0.0
- 许可证: 未指定
- 原始仓库: sampx/hotnews-server
A Model Context Protocol (MCP) server that provides real-time hot trending topics from major Chinese social platforms and news sites.
- Real-time hot topics from 9 major Chinese platforms
- MCP protocol compatible
- Easy integration with AI models
- Markdown formatted output with clickable links
- Heat index support (where available)
- Zhihu Hot List (知乎热榜)
- 36Kr Hot List (36氪热榜)
- Baidu Hot Discussion (百度热点)
- Bilibili Hot List (B站热榜)
- Weibo Hot Search (微博热搜)
- Douyin Hot List (抖音热点)
- Hupu Hot List (虎扑热榜)
- Douban Hot List (豆瓣热榜)
- IT News (IT新闻)
API Source, This project uses the
api.vvhan.com
service for fetching hot topics data.
-
get_hot_news
-
sources
- Required arguments: Platform ID list
-
- Example usage:
-
get_hot_news([3])
: Get Baidu Hot Discussion only -
get_hot_news([1,3,7])
: Get hot lists from zhihuHot, Baidu, and huPu -
get_hot_news([1,2,3,4])
: Get hot lists from zhihuHot, 36Kr, Baidu, and Bilibili`
-
{
"mcpServers": {
"mcp-server-hotnews": {
"command": "npx",
"args": [
"-y",
"@wopal/mcp-server-hotnews"
]
}
}
}
( Docker image not uploaded to Docker Hub, need to build it yourself. )
{
"mcpServers": {
"mcp-server-hotnews": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"wopal/mcp-server-hotnews"
]
}
}
}
# Install dependencies
npm install
# Watch mode
npm run watch
# Build
npm run build
# Test URLs
npm run test:urls
Docker build:
docker build -t wopal/mcp-server-hotnews:latest -f Dockerfile .
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.