sven0219
MCP Serversven0219public

hot news collection

自动从多个平台(如 Hacker News、知乎、豆瓣、微博)抓取每日热门话题并存档。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

自动从多个平台(如 Hacker News、知乎、豆瓣、微博)抓取每日热门话题并存档。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Global Trending Hub

This project automatically collects and archives daily hot topics from multiple platforms including Hacker News, Zhihu, Douban, and Weibo. The entire repository, including all code and configurations, was generated using the GitHub MCP Server.

About MCP Server

This repository showcases the capabilities of Microsoft's Collaborative Protocol (MCP) server. The MCP server is an AI-powered system that can:

  • Generate complete repository structures
  • Create and manage GitHub workflows
  • Write and maintain Python scripts
  • Handle multiple API integrations
  • Manage documentation and configurations

All code, workflows, and documentation in this repository were created through interactions with the MCP server, demonstrating its ability to understand and implement complex requirements.

Features

  1. Hacker News Top Stories

    • Automatically fetches top 20 stories from Hacker News daily
    • Captures title, URL, score, and author information
    • Runs at 00:00 UTC daily
  2. Zhihu Hot Topics

    • Automatically fetches top 20 topics from Zhihu daily
    • Captures title, popularity, link, and topic excerpt
    • Runs at 01:00 UTC daily
  3. Douban Hot Topics

    • Automatically fetches top 20 topics from Douban daily
    • Captures title, likes, link, and topic excerpt
    • Runs at 02:00 UTC daily
  4. Weibo Hot Topics

    • Automatically fetches top 20 trending topics from Weibo daily
    • Captures title, popularity, and link
    • Runs at 03:00 UTC daily

Directory Structure

.
├── daily_hot/
│   ├── hackernews/
│   │   └── hn_news_YYYY-MM-DD.txt
│   ├── zhihu/
│   │   └── zhihu_hot_YYYY-MM-DD.txt
│   ├── douban/
│   │   └── douban_hot_YYYY-MM-DD.txt
│   └── weibo/
│       └── weibo_hot_YYYY-MM-DD.txt
├── scripts/
│   ├── fetch_hn_news.py
│   ├── fetch_zhihu_hot.py
│   ├── fetch_douban_hot.py
│   └── fetch_weibo_hot.py
└── .github/
    └── workflows/
        ├── fetch_news.yml
        ├── fetch_zhihu.yml
        ├── fetch_douban.yml
        └── fetch_weibo.yml

Automation

The project uses GitHub Actions for automation:

  • Hacker News data is collected daily at 00:00 UTC
  • Zhihu hot topics are collected daily at 01:00 UTC
  • Douban hot topics are collected daily at 02:00 UTC
  • Weibo hot topics are collected daily at 03:00 UTC
  • All data is archived by date
  • Manual trigger support for data collection

Local Development

  1. Clone the repository:
git clone https://github.com/sven0219/hot-news-collection.git
cd hot-news-collection
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the scripts:
python scripts/fetch_hn_news.py    # Fetch Hacker News
python scripts/fetch_zhihu_hot.py  # Fetch Zhihu Hot Topics
python scripts/fetch_douban_hot.py # Fetch Douban Hot Topics
python scripts/fetch_weibo_hot.py  # Fetch Weibo Hot Topics

Data Format

Hacker News

  • File naming: hn_news_YYYY-MM-DD.txt
  • Content: Title, URL, Score, Author

Zhihu Hot Topics

  • File naming: zhihu_hot_YYYY-MM-DD.txt
  • Content: Title, Popularity, Link, Topic Excerpt

Douban Hot Topics

  • File naming: douban_hot_YYYY-MM-DD.txt
  • Content: Title, Likes, Link, Topic Excerpt

Weibo Hot Topics

  • File naming: weibo_hot_YYYY-MM-DD.txt
  • Content: Title, Popularity, Link

Generated Content

All content in this repository was generated through interactions with the MCP server, including:

  • Python scripts for data collection
  • GitHub Actions workflows
  • Directory structure
  • Documentation and README
  • Error handling and logging
  • Data formatting and storage

Contributing

Since this is an MCP-generated repository, please note that any contributions should be made through the MCP server to maintain consistency and proper integration.

License

MIT


This repository is maintained by the GitHub MCP Server. For more information about MCP and its capabilities, visit GitHub MCP Server.

Quick Start

1

Clone the repository

git clone https://github.com/sven0219/hot-news-collection
2

Install dependencies

cd hot-news-collection
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownersven0219
Repohot-news-collection
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation