Skip to main content
Glama
stadt-bremerhaven-mcp

stadt-bremerhaven-mcp

README.md
# stadt-bremerhaven-mcp 📰

mcp-name: io.github.mohammad-abbasi-sh/stadt-bremerhaven-mcp

Unofficial **read-only** MCP server for **[stadt-bremerhaven.de](https://stadt-bremerhaven.de)** (Caschys Blog) — the German tech blog by Carsten Knobloch, running since 2005, daily German tech news (Smart Home, Apple, Android, Streaming, Software, Hardware), one of Germany's best-known tech blogs — via its official RSS feeds (no key, no login) and article pages, whose full text comes from the server-rendered `<article>` paragraphs. Latest news, news by topic, keyword search, news by author, the topics directory, and full article text. No key, no login.

> Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with stadt-bremerhaven.de.

## For AI agents

Add to your MCP client config (stdio):

```json
{
  "mcpServers": {
    "stadt-bremerhaven": {
      "command": "uvx",
      "args": ["stadt-bremerhaven-mcp==0.1.0"]
    }
  }
}
```

Or run locally: `python -m stadt_bremerhaven_mcp.server` (needs `mcp<2`, `httpx`).

## Tools

| Tool | Description |
|------|-------------|
| `caschys_latest` | Latest Caschys Blog 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 description text before "Zum Beitrag:"), the topics (the `<category>` names), the author (dc:creator — on all 20 main-feed items), an image URL (the first `<img>` in the description) and publish time |
| `caschys_by_topic` | Latest Caschys Blog news from one topic (the official topic RSS feed, 20 items) — `topic`: a label or slug: `Android`, `Apple` (`apfelmus`), `Backup & Security` (`backup-security`), `Firefox & Thunderbird` (`firefox`), `Games`, `Google`, `Hardware`, `Internet`, `iOS` (`ipad`), `Linux`, `Mobile`, `Mobility` (`e-mobility`), `Smart Home` (`smart-home`), `Software & Co` (`software-co`), `Streaming`, `Windows` — case-insensitive, label or slug; `limit` 1..20. The slugs are NOT always the label lowercased: "apple" is the label, the slug is "apfelmus"; "ios" is the label, the slug is "ipad"; "mobility" is the label, the slug is "e-mobility". The wrong slugs "apple", "ios", "mobility" and "firefox-thunderbird" return HTTP 200 with 0 items and are rejected |
| `caschys_search_news` | Search Caschys Blog news by keyword (title + teaser + topics + author) across the official main RSS feed and the sixteen topic feeds — `query` (e.g. "YouTube" or "iPad"), `limit` 1..20. Newest first, de-duplicated by link |
| `caschys_by_author` | Latest Caschys Blog news by one author (the feeds' dc:creator field) across the main + topic feeds — `author` (e.g. "Carsten Knobloch", substring match, case-insensitive), `limit` 1..20. All 20 main-feed items carry an author (four authors in the sampled feed: Carsten Knobloch 14, André Westphal 3, Felix Frank 2, Benjamin Mamerow 1) |
| `caschys_topics` | The Caschys Blog topics with their official RSS feed URLs — Android, Apple, Backup & Security, Firefox & Thunderbird, Games, Google, Hardware, Internet, iOS, Linux, Mobile, Mobility, Smart Home, Software & Co, Streaming, Windows |
| `caschys_get_article` | Full text of one stadt-bremerhaven.de article page (the server-rendered `<article>` paragraphs) — `url`: a stadt-bremerhaven.de article URL (/<slug>/). Returns title, publish time, author (JSON-LD author.name, e.g. "Carsten Knobloch"), topics (the JSON-LD articleSection list), body text and word count. No paywall on this site — it is a free blog. Feed URLs, the home page and off-site links are refused |
| `caschys_health` | Reachability probe (ok / blocked / error) — one polite request |

Example output (`caschys_latest`, `limit` 1):

```json
{"feed_title": "Caschys Blog", "total_results": 20, "count": 1,
 "items": [
  {"title": "YouTube: Schlechte Nachrichten für reine KI-Musik",
   "link": "https://stadt-bremerhaven.de/youtube-schlechte-nachrichten-fuer-reine-ki-musik/",
   "description": "YouTube zieht bei KI-generierter Musik die Daumenschrauben an und hat gleich drei Änderungen angekündigt. Echte Musiker sollen besser vor Stimmklonen geschützt werden, gleichzeitig will man verhindern,...",
   "published": "2026-12-05T10:30:16+00:00",
   "topics": ["Google", "Streaming"], "author": "Carsten Knobloch",
   "image_url": "https://stadt-bremerhaven.de/wp-content/uploads/2025/02/youtube-720x405.jpg"},
  ...]}
```

Notes:
- The server reads the official **RSS feeds** — main feed `https://stadt-bremerhaven.de/feed/` (20 items, channel title "Caschys Blog", verified live 2026-12-05) and the sixteen topic feeds `https://stadt-bremerhaven.de/category/<slug>/feed/` (20 items each: android, apfelmus, backup-security, firefox, games, google, hardware, internet, ipad, linux, mobile, e-mobility, smart-home, software-co, streaming, windows — all verified live 2026-12-05).
- **Feed items carry an author, topics and an image, but no content:encoded and no enclosure** — the teaser is the description text before "Zum Beitrag:" (the lede, usually ending in "..."), the image is the first `<img>` src in the description HTML. All 20 main-feed items carry a `dc:creator` author and an image. All 20 sampled feed links are on stadt-bremerhaven.de — no off-site links were seen, but the guard stays. Article links end in `/` and carry no `.html` suffix.
- **The topic slugs are NOT the labels lowercased** — Apple → `apfelmus`, iOS → `ipad`, Mobility → `e-mobility`, Firefox & Thunderbird → `firefox`, Software & Co → `software-co`, Backup & Security → `backup-security`. The wrong slugs `/category/apple/feed/`, `/category/ios/feed/`, `/category/mobility/feed/` and `/category/firefox-thunderbird/feed/` all return HTTP 200 with 0 items (verified live 2026-12-05) and are rejected by `caschys_by_topic`.
- **Article text, honestly:** stadt-bremerhaven.de pages carry a JSON-LD NewsArticle block but **no articleBody** key — the body is read from the `<article>` paragraphs. The chrome paragraphs are filtered out: the first `<p>`, the byline blob "von Carsten Knobloch 5. Dez. 2026 | 0" (kept as the fallback author), empty `<p>`s, and the last `<p>`, the affiliate note ("Hinweis: Dieser Artikel enthält Affiliate-Links. ..."). The teaser comes from the JSON-LD description (the meta description is a truncated version of the same text); the date comes from the JSON-LD datePublished (fallback: the `<time datetime="2026-12-05 11:30">` tag, Europe/Berlin local). Sampled: a YouTube article 5 paragraphs / 271 words, an OpenLeaf article 6 paragraphs / 285 words.
- **No paywall:** this is a free blog ("Free to read"). The word "Abo" in body text is just the word "Musik-Abo" — not a paywall marker. There is no paywall branch: a page with no usable body raises an error, never a fabricated paywall claim.
- **wp-json is HTTP 403** — it is never used.
- **Name note:** `stadt-bremerhaven-mcp` and `caschys-mcp` are free on PyPI and npm, and no server for this site exists on GitHub, Glama or the official MCP registry (checked 2026-12-05) — an empty lane. This server is `io.github.mohammad-abbasi-sh/stadt-bremerhaven-mcp`, for stadt-bremerhaven.de news only.
- Data: stadt-bremerhaven.de's public RSS feeds 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 feeds (main 20 items, Google 20) plus two real article pages (YouTube, OpenLeaf) and synthetic byline/no-body fixtures
- `tests/test_live.py` — cautious live requests against stadt-bremerhaven.de

Tests: 38/38 green (30 offline + 8 live, 2026-12-05).

## 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

A4.1/5.0

Scored across 7 tools

Disambiguation4/5

The four listing tools are separated by a clear filter axis (recency/main feed, topic, keyword, author) and the descriptions spell out the differences, including which feeds each one spans. The only real friction is that caschys_topics (the static topic directory) and caschys_by_topic (the per-topic feed reader) look near-identical at a glance and both revolve around topic labels.

Naming Consistency4/5

All seven names share a consistent caschys_ prefix and snake_case style, and most encode an action or selector (latest, by_topic, by_author, search_news, get_article). Minor deviation: caschys_latest and caschys_health drop the verb/filter shape, and caschys_topics vs caschys_by_topic differ only by a prefix, which is easy to mistype.

Tool Count5/5

Seven tools is a tight, well-scoped set for a single-blog reader: four retrieval modes, one directory, one full-text fetch, and one health probe. Each tool covers a distinct access path and none looks like padding.

Completeness4/5

The surface covers discovery (latest, topic, author, keyword), topic enumeration, full article text, and diagnostics, which is most of the read lifecycle for a news source. Gaps are minor but real: results are hard-capped at the 20-item feed window with no date-range or offset paging, so nothing older than the current feeds is reachable, and there is no way to enumerate authors despite author filtering existing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues