hot-topic-mcp logo

hot-topic-mcp

by mrniebit

This project implements the functionality to retrieve hot topics from various platforms based on Model Context Protocol (MCP). It currently supports retrieving hot topics from Sina Weibo and Zhihu.

View on GitHub

Last updated: N/A

What is hot-topic-mcp?

This server is a Python-based project designed to fetch and provide hot topics from different social media platforms. It uses the Model Context Protocol (MCP) to achieve this.

How to use hot-topic-mcp?

To add a new hot topic source: Create a new class that inherits from HotTopicBase. Then, override the get_hot_topics method. Finally, use the @register_hot_topic decorator with the platform name as the tool name.

Key features of hot-topic-mcp

  • Fetches hot topics from Sina Weibo

  • Fetches hot topics from Zhihu

  • Uses MCP for data retrieval

  • Extensible architecture for adding new platforms

Use cases of hot-topic-mcp

  • Monitor trending topics on social media

  • Analyze current events and popularity

  • Integrate with news aggregation services

  • Build a real-time topic tracker

FAQ from hot-topic-mcp

How do I add support for a new platform?

Create a class inheriting from HotTopicBase, implement the get_hot_topics method, and use the @register_hot_topic decorator.

What is the Model Context Protocol (MCP)?

The README doesn't explicitly define MCP, but it's the underlying framework this project leverages.

Which platforms are supported?

Currently, Sina Weibo and Zhihu are supported.

Can I contribute to the project?

The project is open-source, so contributions are likely welcome (though not stated explicitly).

Where can I find API references?

API reference is available here: https://github.com/imsyy/DailyHotApi