Provides real-time access to Baidu's hot search topics with ranking and popularity metrics, though the API connection is noted as potentially unstable.
Enables fetching of trending videos and topics from Bilibili's platform, with full support for real-time hot content aggregation.
Offers tools to retrieve trending discussions and popular content from Douban's social networking platform.
Allows access to trending videos and topics from the Kuaishou short-video platform.
Provides seamless integration with LangChain's tool ecosystem, allowing the hot news data to be used as tools in LangChain agents.
Enables fetching of trending questions, topics, and discussions from Zhihu's knowledge-sharing platform.
MCP Hot News Server
一个基于 FastMCP 的现代化多平台热点新闻聚合服务器,支持实时获取各大平台热点数据。
A modern multi-platform hot news aggregation server based on FastMCP, supporting real-time hot topics data from major platforms.
✨ 特性 Features
- 🚀 基于 FastMCP:原生 MCP 协议支持,标准化的工具接口
- 🌐 多平台支持:知乎、微博、百度、哔哩哔哩、抖音等 13+ 平台
- ⚡ 智能缓存:TTL 缓存机制,提高响应速度
- 🔄 异步并发:高性能异步数据获取
- 📊 趋势分析:自动提取热门关键词和趋势话题
- 🛡️ 降级机制:API 失效时自动切换到模拟数据
- 🔧 LangChain 集成:完美适配 LangChain 工具生态
🚀 快速开始 Quick Start
安装 Installation
基础使用 Basic Usage
1. 启动 MCP 服务器
2. Python 代码调用
3. LangChain 集成
📋 支持的平台 Supported Platforms
平台 Platform | 支持状态 Status | API 来源 API Source |
---|---|---|
知乎 Zhihu | ✅ | vvhan API |
微博 Weibo | ⚠️ | vvhan API (不稳定) |
百度 Baidu | ⚠️ | vvhan API (不稳定) |
哔哩哔哩 Bilibili | ✅ | vvhan API |
抖音 Douyin | ✅ | vvhan API |
快手 Kuaishou | ✅ | vvhan API |
今日头条 Toutiao | ✅ | vvhan API |
虎扑 Hupu | ⚠️ | vvhan API (不稳定) |
豆瓣 Douban | ✅ | vvhan API |
IT之家 ITHome | ⚠️ | vvhan API (不稳定) |
⚠️ 注:部分平台 API 可能不稳定,会自动降级到模拟数据
🛠️ API 接口 API Reference
MCP 工具 MCP Tools
get_hot_news
获取指定平台的热点新闻
参数 Parameters:
platform
(str): 平台名称limit
(int): 获取数量,默认 20
get_all_platforms_news
获取所有平台的热点新闻汇总
参数 Parameters:
limit
(int): 每个平台获取数量,默认 10
analyze_trends
分析当前热点趋势和关键词
参数 Parameters:
limit
(int): 分析数量,默认 10
get_server_health
获取服务器健康状态
clear_cache
清空所有缓存数据
数据模型 Data Models
🔧 配置 Configuration
环境变量
自定义配置
🧪 开发和测试 Development & Testing
安装开发依赖
运行测试
代码格式化
📝 使用场景 Use Cases
- AI Agent 工具:为 LangChain/LangGraph Agent 提供实时热点数据
- 内容创作:获取热点话题进行内容创作
- 舆情监控:监控各平台热点趋势变化
- 数据分析:分析跨平台热点数据相关性
- API 服务:作为微服务提供热点数据接口
🤝 贡献 Contributing
欢迎贡献代码!请阅读 CONTRIBUTING.md 了解详细信息。
Welcome contributions! Please read CONTRIBUTING.md for details.
📄 许可证 License
MIT License - 详见 LICENSE 文件。
🙏 致谢 Acknowledgments
📞 联系我们 Contact
- GitHub Issues: 提交问题
- Email: wuzexiang@gmail.com
⭐ 如果这个项目对你有帮助,请给个 Star!
⭐ If this project helps you, please give it a Star!
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A modern multi-platform hot news aggregation server based on FastMCP that supports real-time hot topics data collection from 13+ major platforms including Zhihu, Weibo, Baidu, and Bilibili.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides real-time hot trending topics from major Chinese social platforms and news sites.Last updated -194046
- -securityFlicense-qualityA MCP server that aggregates hot trends and rankings from various Chinese websites and platforms including Weibo, Zhihu, Bilibili, and more.Last updated -41477TypeScript
- -securityFlicense-qualityA FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.Last updated -1Python
- -securityAlicense-qualityA FastMCP-based server that provides tools for discovering RSS feeds, fetching and processing news content, searching articles by keyword, and generating summaries across multiple news sources and categories.Last updated -PythonMIT License