home / mcp / hotnews mcp server

HotNews MCP Server

Provides real-time hot topics from major Chinese platforms via MCP for easy integration with AI models.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "hanweiit007-mcp-hotnews-server": {
      "command": "npx",
      "args": [
        "-y",
        "@wopal/mcp-server-hotnews"
      ]
    }
  }
}

You can run the HotNews MCP Server to fetch real-time hot topics from popular Chinese platforms and news sites, and access them through the MCP protocol for easy integration with AI models or other clients.

How to use

Start the MCP server using one of the provided deployment methods, then connect your MCP client to the server to retrieve real-time hot topics. You can select the platforms you want to monitor and receive markdown-formatted output with clickable links and optional heat index data where available. Use the get_hot_news function or endpoint on the MCP server to request hot lists from the platforms you specify.

Practical usage patterns include fetching hot topics from specific platforms (for example, Zhihu, Baidu, and虎扑) or aggregating across several platforms for a broader view. You can integrate the results into AI model workflows, dashboards, content generators, or monitoring tools that benefit from up-to-date trends.

How to install

Prerequisites you need before installation: Node.js and npm, or Docker if you prefer containerized deployment.

# Prerequisites
node -v
npm -v

# If using NPX (preferred quick start)
npx -y @wopal/mcp-server-hotnews

# If using Docker (build/run locally)
docker build -t wopal/mcp-server-hotnews:latest -f Dockerfile .
docker run -i --rm wopal/mcp-server-hotnews

Additional notes

Two common deployment options are provided: NPX for quick starts and Docker for containerized deployments. In NPX mode, you run the server directly with npx and the package name. In Docker mode, you build the image locally and run it with the Docker runtime. The server exposes MCP-compatible endpoints to deliver real-time hot topics from the supported platforms.

If you plan to customize or extend the server, install dependencies, then build and run in development mode as needed. Typical development steps include installing dependencies, watching for changes, building, and testing URLs.

Security and maintenance

Keep dependencies up to date to receive security fixes and improvements. When using Docker, pin the image version in production and monitor the container for updates. For local development, avoid exposing the MCP server directly to the public internet without appropriate access controls.

Available tools

get_hot_news

A tool to fetch real-time hot topics by specifying a list of platform IDs. It supports selecting one or more platforms and returns aggregated hot topic data with optional markdown formatting and links.