Overview
what is Hot Topic MCP?
Hot Topic MCP is a server-side implementation of the Model Context Protocol (MCP) that retrieves trending topics from various platforms.
how to use Hot Topic MCP?
To use Hot Topic MCP, you need to set up the server and implement the get_hot_topics
method for different platforms by extending the HotTopicBase
class.
key features of Hot Topic MCP?
- Fetches trending topics from multiple platforms like Sina Weibo and Zhihu.
- Easy to extend for additional platforms by registering new hot topic sources.
- Utilizes the Model Context Protocol for structured data retrieval.
use cases of Hot Topic MCP?
- Monitoring social media trends for research purposes.
- Analyzing public interest over time across different platforms.
- Integrating trending topics into applications for enhanced user engagement.
FAQ from Hot Topic MCP?
- What platforms does Hot Topic MCP support?
Currently, it supports Sina Weibo and Zhihu, with the ability to add more platforms easily.
- Is there a demo available?
Yes, you can refer to the API reference project at https://github.com/imsyy/DailyHotApi for examples.
- What programming language is used?
The project is implemented in Python.
Content
项目简介
基于Model Context Protocol(MCP)实现获取各个平台热点的功能
-
新浪热搜
-
知乎热搜 ...
API参考项目:https://github.com/imsyy/DailyHotApi
项目结构
新增热搜类
1、继承 HotTopicBase
类,然后重写 get_hot_topics
方法
2、@register_hot_topic(platform_name="sina_weibo_hot_topic") platform 为tool name
No tools information available.
No content found.