# the0807/GeekNews-MCP-Server [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/the0807/GeekNews-MCP-Server  
**GitHub Stars:** 18  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/the0807-geeknews-mcp-server

## Description
An MCP Server that retrieves and processes news data from the GeekNews site.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/the0807/GeekNews-MCP-Server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/the0807/GeekNews-MCP-Server
```

2. Run:

```sh
cd GeekNews-MCP-Server
```

3. Install:

```sh
uv sync
```

4. Run:

```sh
uv venv
```

5. Start the server:

```sh
uv run mcp
```

6. Start the server:

```sh
mcp dev main.py
```

## Documentation

## What the0807/GeekNews-MCP-Server MCP server does

the0807/GeekNews-MCP-Server MCP server exposes GeekNews content through the Model Context Protocol. It collects data from news.hada.io by fetching and parsing the site’s HTML with Python and BeautifulSoup. The server is intended for agents that need article listings or the site’s weekly-news publications in structured responses.

The article endpoint supports four article types: top, new, ask, and show. Callers can also choose how many articles to return. Article records contain the title, URL, point total, author, publication time, comment count, and ranking information.

Weekly-news requests can target a specific weekly-news ID or resolve the most recent edition. The returned publication includes its title, number, ID, body, URL, and item list. Each item includes a title, URL, and ranking data.

## How it works

the0807/GeekNews-MCP-Server MCP server uses a client component to retrieve GeekNews pages and a parser component to extract the relevant fields. Model objects hold the extracted article data, while the MCP server component exposes the results as callable tools. A scheduler checks whether stored data is still current and refreshes it when necessary.

The cache is valid for 24 hours. When valid data exists, tool requests use the local cache instead of making another request to GeekNews. After the validity period expires, the scheduled refresh process obtains and parses updated content. Cache files are stored under `.cache/geeknews-mcp` in the user’s home directory.

## Setup and configuration

The repository provides a local Python setup based on `uv`. Clone the repository, enter its directory, and synchronize the environment with `uv sync`. Create and activate a virtual environment with `uv venv` followed by `source .venv/bin/activate`.

For local testing, run `uv run mcp` and then `mcp dev main.py`. The command displays a URL for MCP Inspector, where the server can be tested. The project also documents a Smithery installation route. That configuration launches the Smithery CLI with `npx` and requires a key issued by Smithery.

## Tools and capabilities

- `get_articles`: retrieves a selected GeekNews article category and requested result count.
- `get_weekly_news`: retrieves a specified weekly-news edition or the latest available edition.
- Cached responses: reuses parsed data for up to 24 hours before refreshing it.
- Structured metadata: returns article, publication, and weekly-news item fields rather than only page text.

## Limitations and notes

The parser depends on GeekNews’s current HTML structure. If the site changes its markup, the extraction logic may need to be updated. The cache reduces repeated requests, but data can remain up to 24 hours old until the next refresh. Local cache data is written beneath the user’s home directory, so deployments should account for that filesystem location.

_Full upstream README: https://allmcps.com/mcp/the0807-geeknews-mcp-server/readme_

