MCP.so

GeekNews MCP Server

@the0807

GeekNews MCP Server ใซใคใ„ใฆ

๐Ÿ“ฐ GeekNews MCP Server

ๅŸบๆœฌๆƒ…ๅ ฑ

ใ‚ซใƒ†ใ‚ดใƒช

ใใฎไป–

ใƒฉใ‚คใ‚ปใƒณใ‚น

MIT

ใƒฉใƒณใ‚ฟใ‚คใƒ 

python

ใƒˆใƒฉใƒณใ‚นใƒใƒผใƒˆ

stdio

ๅ…ฌ้–‹่€…

the0807

่จญๅฎš

ไปฅไธ‹ใฎ่จญๅฎšใ‚’ไฝฟใฃใฆใ€ใ“ใฎใ‚ตใƒผใƒใƒผใ‚’ MCP ๅฏพๅฟœใ‚ฏใƒฉใ‚คใ‚ขใƒณใƒˆใซ่ฟฝๅŠ ใ—ใฆใใ ใ•ใ„ใ€‚

{
  "mcpServers": {
    "geeknews-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli@latest",
        "run",
        "@the0807/geeknews-mcp-server",
        "--key",
        ""
      ]
    }
  }
}

ใƒ„ใƒผใƒซ

ใƒ„ใƒผใƒซใฏๆคœๅ‡บใ•ใ‚Œใพใ›ใ‚“ใงใ—ใŸ

ใƒ„ใƒผใƒซใฏ README ใ‹ใ‚‰่‡ชๅ‹•็š„ใซๆŠฝๅ‡บใ•ใ‚Œใพใ™ใ€‚ใƒกใƒณใƒ†ใƒŠใƒผใฏ ## Tools ใจใ„ใ†่ฆ‹ๅ‡บใ—ใฎไธ‹ใซ่จ˜่ผ‰ใ™ใ‚‹ใ“ใจใงใ€ใ“ใฎใ‚ฟใƒ–ใซๅๆ˜ ใงใใพใ™ใ€‚

ๆฆ‚่ฆ

What is GeekNews MCP Server?

It is a Model Context Protocol (MCP) server that fetches articles from GeekNews (https://news.hada.io) using Python and BeautifulSoup for web scraping. Designed for developers and AI agents, it provides tools to retrieve articles and weekly news with automatic daily caching to reduce server load.

How to use GeekNews MCP Server?

Install via Smithery using the provided npx command with a Smithery key, or clone the repository and set up locally with uv sync and uv dev. Add the server configuration to your MCP clientโ€™s settings file, then test using MCP Inspector (mcp dev main.py).

Key features of GeekNews MCP Server

  • Fetches GeekNews articles and weekly news.
  • Supports article types: top, new, ask, show.
  • Returns title, URL, points, author, time, comments, rank.
  • Provides weekly news with item details and content.
  • Automatic caching with 24โ€‘hour validity.
  • Reduces server load via daily data refresh.

Use cases of GeekNews MCP Server

  • Stay updated with top GeekNews articles without manual browsing.
  • Fetch weekly news summaries for review or archival.
  • Integrate GeekNews data into AI assistants or chatbots via MCP.
  • Automate retrieval of specific article types (ask, show) for analysis.

FAQ from GeekNews MCP Server

What data does the server fetch?

It fetches articles and weekly news from GeekNews. Each article includes title, URL, points, author, time, comments, and rank. Weekly news includes title, number, ID, content, URL, and a list of items with rank.

How does caching work?

The server parses data once per day and caches it in ~/.cache/geeknews-mcp. The cache is valid for 24 hours and automatically refreshed by a scheduler.

What are the runtime dependencies?

Python, uv (Python package manager), and BeautifulSoup (for HTML parsing). The server is written in Python.

Are there any limitations?

The server depends on GeekNewsโ€™ HTML structure. If the site changes its layout, the parsing logic may need updating.

ใ‚ณใƒกใƒณใƒˆ

ใ€Œใใฎไป–ใ€ใฎไป–ใฎใ‚ณใƒณใƒ†ใƒณใƒ„