GeekNews icon

GeekNews

Createdthe0807

Retrieves articles and weekly news from GeekNews using web scraping and caching to reduce server load.

About

This Model Context Protocol (MCP) server fetches articles from GeekNews, a popular news aggregator. Implemented in Python, it uses BeautifulSoup for web scraping. To minimize server load, the server automatically parses and caches data once a day. It provides tools to retrieve articles of different types (top, new, ask, show) and weekly news with detailed information including title, URL, points, author, and comments.

Key Features

  • Retrieves weekly news with details like title, number, ID, content, and items.
  • Uses a scheduler to periodically validate and update the cache.
  • Fetches articles from GeekNews with specified types and number.
  • Provides cached data for 24 hours before updating.
  • Caches data daily to reduce server load.
  • 8 GitHub stars

Use Cases

  • Reducing load on the GeekNews server by using cached data.
  • Integrating GeekNews articles into other applications.
  • Building custom news feeds based on GeekNews content.
Craft Better Prompts with AnyPrompt