项目简介
- other
实现MCP的服务端,获取各大平台的热搜
About
What is 项目简介?
A tool that fetches trending topics from multiple platforms using the Model Context Protocol (MCP). It is designed for developers who need to aggregate hot topics programmatically.
How to use 项目简介?
—
Key features of 项目简介
- Fetches Sina Weibo hot topics via MCP
- Fetches Zhihu hot topics via MCP
- Extensible architecture via HotTopicBase base class
- Platform registration using @register_hot_topic decorator
- Built on the Model Context Protocol standard
Use cases of 项目简介
—
FAQ from 项目简介
What platforms does 项目简介 currently support?
It supports Sina Weibo hot topics and Zhihu hot topics, as listed in the readme.
How can I add a new platform to 项目简介?
Create a new class that inherits HotTopicBase, override the get_hot_topics method, and decorate it with @register_hot_topic(platform_name="your_platform").
Is 项目简介 based on any existing API?
Yes, it references the DailyHotApi project.
Does 项目简介 require any specific runtime or editor?
—
What is the license or pricing for 项目简介?
—
Details
- Author
- umuo
- GitHub stars
- 1
- Category
- other
- Repository
- umuo/hot-topic-mcp
项目简介
基于Model Context Protocol(MCP)实现获取各个平台热点的功能
- [x] 新浪热搜
- [x] 知乎热搜
...
API参考项目:https://github.com/imsyy/DailyHotApi
项目结构
新增热搜类
1、继承 HotTopicBase 类,然后重写 get_hot_topics 方法
2、@register_hot_topic(platform_name="sina_weibo_hot_topic") platform 为tool name
