Preface¶
DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy and aims to build a flexible agent development environment. When developing agents that require access to external information, obtaining news, social media trends, or industry updates often involves writing scrapers or integrating multiple third-party APIs, which can be costly in development. The xby-daily-hot plugin is based on the Model Context Protocol (MCP) and provides DSH with an aggregation service for web-wide hot trends, with a Python implementation, aiming to simplify this process.
What Is It¶
xby-daily-hot is an online tool plugin maintained by xby-skill. It provides a one-stop hot data API and can aggregate real-time data across news, social media, tech development, and other domains. Users do not need to maintain complex scraper logic themselves; they can retrieve content from platforms such as Baidu Hot List, Weibo Hot Search, Bilibili Popular, and 36Kr News through unified commands.
Core Features¶
The plugin provides the following functional modules:
- Configuration Management:
set_xby_apikey. Set the API key in chat. This operation is persisted automatically and remains valid after a restart. - News Aggregation: Covers mainstream media and vertical domains.
- Domestic media:
get_baidu_trending,get_36kr_trending,get_netease_news_trending,get_sogou_trending,get_tencent_news_trending,get_thepaper_trending,get_toutiao_trending,get_xiaohongshu_trending,get_weibo_trending, etc. - Tech and vertical:
get_infoq_news,get_ithome_trending,get_autohome_trending,get_sspai_rank,get_smzdm_rank,get_gcores_new,get_ifanr_news,get_9to5mac_news,get_theverge_news, etc. - International media:
get_bbc_news.
- Domestic media:
- Video and Community:
- Bilibili:
get_bilibili_rank(including site-wide, animation, music, gaming, and other categories),get_bilibili_trending. - Short Video:
get_douyin_trending,get_kuaishou_trending. - Q&A and Reading:
get_zhihu_trending,get_douban_rank,get_weread_rank.
- Bilibili:
- Custom Capabilities:
custom_rss: Supports custom RSS feeds.crawl_website: Used to crawl content from specified websites, suitable for scenarios requiring detailed information about a website.
Installation and Activation¶
Use the DSH command-line tool to install the plugin. Ensure that DSH is installed and the corresponding profile is configured.
dsh plugin --profile web add github:xby_skill/xby-daily-hot
Typical Usage¶
After installation, you need to obtain and set an API key before using the plugin.
- Obtain the API Key: Visit the Xiaobenyang official website, register, and obtain an API key.
- Set the Key: Run the setup command in a DSH chat. The key is saved automatically.
set_xby_apikey <你的密钥>
- Call the Interface:
- Get the Baidu Hot List: Call
get_baidu_trendingto retrieve hot Chinese content across multiple domains, including real-time hot searches, social hot topics, and tech news. - Get Industry News: Call
get_36kr_trendingto retrieve investment and financing trends and emerging industry analysis in the startup, business, and tech sectors. - Get Video Rankings: Call
get_bilibili_rankto retrieve site-wide and category-based hot videos, reflecting current young people’s content consumption trends. - Deep Content Crawling: Use the
crawl_websitefunction to crawl targeted website content.
- Get the Baidu Hot List: Call
Applicable Scenarios and Notes¶
- Applicable Scenarios: Suitable for real-time monitoring of web-wide hot topics, news aggregation and analysis, building agents with news recommendation capabilities, or developing tech and media applications.
- Notes:
- A valid Xiaobenyang API key is required to use this plugin.
- The plugin is developed based on the Model Context Protocol (MCP).
- It is recommended to check the source code and license (MIT) before installation.
Conclusion¶
xby-daily-hot provides rich online data retrieval capabilities for the DSH plugin ecosystem. For more detailed information, source code, or feedback, see its GitHub repository or plugin catalog page.