pcwelt-mcp
# pcwelt-mcp π»
mcp-name: io.github.mohammad-abbasi-sh/pcwelt-mcp
Unofficial **read-only** MCP server for **[PC-WELT](https://www.pcwelt.de)** β one of Germany's biggest tech magazines (IDG) β via its official WordPress RSS feed (/feed/, 20 items) and article pages, whose full text lives in the JSON-LD `Article` block's `articleBody` (the server-rendered `<article>` paragraphs are the fallback). Latest tech news, keyword search, stories by topic, the topics in today's feed, the latest software downloads (with version metadata), and full article text. No key, no login.
> Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with PC-WELT.
## For AI agents
Add to your MCP client config (stdio):
```json
{
"mcpServers": {
"pcwelt": {
"command": "uvx",
"args": ["pcwelt-mcp==0.1.0"]
}
}
}
```
Or run locally: `python -m pcwelt_mcp.server` (needs `mcp<2`, `httpx`).
## Tools
| Tool | Description |
|------|-------------|
| `pcwelt_latest` | Latest PC-WELT tech news (the official main RSS feed, 20 items), newest first β `limit` 1..20. Every item carries a title, a per-article link, a teaser (the first paragraph), topics (the feed's `<category>` tags), section, an image URL and publish time. Download items carry `is_download: true` plus version, software type, language and update date |
| `pcwelt_search_news` | Search PC-WELT news by keyword (title + teaser + topics) across the official main RSS feed β `query` (e.g. "Windows 11" or "Black Friday"), `limit` 1..20 |
| `pcwelt_by_topic` | Newest PC-WELT stories on one topic β `topic`: Laptops, Smart Home, Mobile, Graphics Cards, Personal Software, Computer Components, Smartphones, β¦ (matched exactly, case-insensitively); `limit` 1..20 |
| `pcwelt_topics` | The topics in today's PC-WELT main feed, with how many stories each carries β most stories first |
| `pcwelt_downloads` | Latest software downloads from PC-WELT (the feed items whose description carries a download box), newest first β `limit` 1..20. Every item carries the software name, the version (e.g. "10.0 Build 3336"), the update date, software type (e.g. "Shareware") and language, plus the download page link |
| `pcwelt_get_article` | Full text of one PC-WELT article page (the JSON-LD `Article` block's `articleBody`; the server-rendered `<article>` paragraphs are the fallback) β `url`: a pcwelt.de article URL (/article/<id>/<slug>.html). Returns title, author, publish time, the section (from the page's JSON-LD), body text and word count. A PC-WELT Plus page returns `paywalled: true` with only the teaser as body β the full text needs a subscription. Download pages return `kind: "download"` with the version metadata. Feed URLs, the home page and off-site links are refused |
| `pcwelt_health` | Reachability probe (ok / blocked / error) β one polite request |
Example output (`pcwelt_latest`, `limit` 1):
```json
{"feed_title": "PC-WELT", "total_results": 20, "count": 1,
"items": [
{"title": "Gewinne bis morgen eine limitierte ZOTAC GeForce RTX 5080 im Wert von rund 2.500 Euro",
"link": "https://www.pcwelt.de/article/3281698/zotac-geforce-rtx-5080-20th-anniversary-edition-gewinnspiel-black-friday-aktion-letzte-chance.html",
"description": "Morgen endet die Black-Friday-Woche mit dem Cyber Monday! Bei PC-WELT dreht sich deshalb alles um attraktive Technik-Angebote und mΓΆglichst groΓe Ersparnisse.",
"published": "2026-11-29T09:22:25+00:00",
"topics": ["Computer Components", "Graphics Cards"], "topic": "Computer Components",
"section": "Computer Components", "is_download": false,
"image_url": "https://www.pcwelt.de/wp-content/uploads/2026/11/3281698-0-63475000-1794561473-Zotac-GeForce-RTX-5080.jpg?quality=50&strip=all"},
...]}
```
Notes:
- The server reads the official **WordPress RSS feed** β `https://www.pcwelt.de/feed/` (20 items, verified live 2026-11-29; /feed/ 301-redirects to the canonical /feed, which the client follows). Feed title: "PC-WELT".
- **No per-section feeds:** /news/feed, /tests/feed and /ratgeber/feed all 301-redirect to the SAME main feed (20 identical items); /downloads/feed 301-redirects to the /downloads landing page, not a feed β topics come from the feed's `<category>` tags, so `pcwelt_by_topic` filters the main feed in memory. Each `<category>` element can hold several comma-separated topics ("Computer Components, Graphics Cards") and every tag is duplicated in the XML β topics are split on commas and de-duplicated (Laptops 4, Personal Software 4, Computer Components 3, Smart Home 3, β¦ β sampled 2026-11-29).
- **The feed description is the FULL article HTML** (a news item's description ran ~9,900 chars) β the teaser returned is only the first non-empty paragraph, never the whole HTML.
- The feed carries **no author** (no `dc:creator`) β the author comes from the article page's JSON-LD (`Person` name, e.g. "Dennis Steimels") and is returned by `pcwelt_get_article` only. There is no by-author tool. Feed items do carry an image (`<enclosure>`, wp-content uploads) on all 20 items.
- **Downloads:** 4 of the 20 feed items are software downloads (their description carries a `download_wrapper` div with Version / Update / Softwaretyp / Sprache) β `pcwelt_downloads` filters those and exposes the version metadata (e.g. SmartFTP "10.0 Build 3336", Shareware, Deutsch, updated 29-11-2026).
- **Article text, honestly:** PC-WELT pages carry a JSON-LD `Article` block with a real `articleBody` (a news article sampled 523 words, a download page 257 words) plus a `NewsArticle` block that carries the section (`articleSection`, e.g. "Graphics Cards") but no body. The `<article>` paragraphs are the fallback; the first one is an affiliate disclosure ("Wenn Sie ΓΌber Links in unseren Artikeln einkaufen β¦ erhalten wir eine kleine Provision") and is filtered out. The `<title>` tag carries the plain headline.
- **Paywall, honestly (defensive, unverified):** no "PC-WELT Plus" marker appeared on either sampled article (both free) and the feed carries no premium flag β the feed's 3 "Plus" hits are product names ("Logitech Plus Tastatur", "Fire TV-Soundbar Plus"), so no paywalled article could be sampled. If a page carries a Plus / members-only marker AND its JSON-LD `articleBody` is empty AND its `<article>` body is empty after filtering, `pcwelt_get_article` returns `paywalled: true` with only the teaser as body β never fabricated text. The branch is implemented and unit-tested with a synthetic fixture.
- Data: PC-WELT's public RSS feed and article pages β no key, no login, read-only.
## Development
```bash
python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -q
```
- `tests/test_domain.py` β offline, parses the real captured feed (20 items) plus two real article pages (a news article and a download page); the paywall branch uses a small synthetic page
- `tests/test_live.py` β cautious live requests against pcwelt.de
Tests: 32/32 green (25 offline + 7 live, 2026-11-29).
## License
[PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/) β free for personal and non-commercial use; commercial use needs a separate license (see LICENSE).
---
Built by [Mohammad Abbasi](https://github.com/mohammad-abbasi-sh) β [Almanibama](https://almanibama.ir) Β· [mabbasi.ir](https://mabbasi.ir)
TDQS
Scored across 7 tools
Each tool has a clearly distinct role: listing (pcwelt_latest), keyword search (pcwelt_search_news), topic filtering (pcwelt_by_topic), topic enumeration (pcwelt_topics), downloads (pcwelt_downloads), full-text retrieval (pcwelt_get_article) and a reachability probe (pcwelt_health). The descriptions explicitly cross-reference each other (e.g. pcwelt_topics points to pcwelt_by_topic, pcwelt_latest points to pcwelt_get_article), leaving no plausible misselection.
All seven tools use a uniform pcwelt_ prefix with snake_case and a predictable verb/noun shape (search_news, by_topic, get_article) for the lister/fetcher pattern. The only stylistic oddity is the noun-only pcwelt_topics vs. pcwelt_by_topic, but both are readable and clearly related.
Seven tools is well-scoped for a single-source news/feed server: four retrieval modes, one metadata lister, one detail fetcher and one diagnostics probe. No tool looks redundant or missing a companion.
The surface covers discovery (latest, search, by_topic, topics), downloads, and full article body retrieval, plus a health check β a coherent lifecycle for a feed-based reader. The main limitation is that everything is bounded by the 20-item feed with no older-archive or pagination tool, and there is no per-topic count/filter combination beyond what by_topic offers, but these are minor workarounds.