viafrei 2.3.12 → 2.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/API.md CHANGED
@@ -9,7 +9,7 @@ the server's own text, reproduced verbatim, because that text is what an
9
9
  assistant reads when it decides which tool to call; paraphrasing it here would
10
10
  document a different server.
11
11
 
12
- **It is a dated snapshot, taken on 2026-10-22.** Generating this file makes
12
+ **It is a dated snapshot, taken on 2026-10-23.** Generating this file makes
13
13
  it impossible for the document and the snapshot to disagree — CI regenerates and
14
14
  compares — but it cannot keep the snapshot from ageing against the live server,
15
15
  because a capture is a point in time. **The source of truth is the running
@@ -17,11 +17,11 @@ server:** connect any MCP client and call `tools/list`.
17
17
 
18
18
  | | |
19
19
  | --- | --- |
20
- | Server | `viafrei` 2.3.12 |
20
+ | Server | `viafrei` 2.3.18 |
21
21
  | MCP protocol | `2025-06-18` |
22
22
  | Streamable HTTP | https://mcp.viafrei.de/mcp |
23
23
  | Legacy HTTP+SSE | https://mcp.viafrei.de/sse |
24
- | Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-22 |
24
+ | Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-23 |
25
25
  | Surface | 22 tools, 10 resources, 2 resource templates, 9 prompts |
26
26
  | Parameter schemas | JSON Schema draft-07 |
27
27
  | Capabilities | `tools`, `resources`, `prompts`, `logging` |
@@ -58,7 +58,7 @@ language the person is writing in rather than relying on the default.
58
58
 
59
59
  The server's own instructions to a connecting client, verbatim:
60
60
 
61
- > ViaFrei answers from German open transport data, live: motorway traffic, closures and roadworks (plus Land and city traffic messages where a feed carries them), fuel prices, EV charging, parking, train and public-transport departures, regional public-transport punctuality and service alerts, station lifts and escalators, DWD weather warnings, places and addresses, and the curated German driving rules. Every tool takes a `language` argument that defaults to German ("de"): set it on every call to the language the user writes in — "en" for English — or an English question is answered in German. Always show the attribution line of a result to the user, and when a result carries `_meta.purposeNote` or `_meta.conditionNote`, show that sentence verbatim as well — it is a legal condition of the data, not a caption. Times are Europe/Berlin; the rules answers carry a review date and are informational, not legal advice. ViaFrei is in beta: sources are still being added and answers and coverage can change, so when a decision depends on a closure, a departure or a price, tell the user to confirm it with the source the attribution line names.
61
+ > ViaFrei gives AI assistants real-time awareness of Germany: live motorway traffic, closures and roadworks (plus Land and city traffic messages where a feed carries them), fuel prices, EV charging, parking, train and public-transport departures, regional public-transport punctuality and service alerts, station lifts and escalators and DWD weather warnings; and, as reference data, places and addresses and the curated German driving rules. Every tool takes a `language` argument that defaults to German ("de"): set it on every call to the language the user writes in — "en" for English — or an English question is answered in German. Always show the attribution line of a result to the user, and when a result carries `_meta.purposeNote` or `_meta.conditionNote`, show that sentence verbatim as well — it is a legal condition of the data, not a caption. Times are Europe/Berlin; the rules answers carry a review date and are informational, not legal advice. ViaFrei is in beta: sources are still being added and answers and coverage can change, so when a decision depends on a closure, a departure or a price, tell the user to confirm it with the source the attribution line names.
62
62
 
63
63
  ## Tools
64
64
 
@@ -548,31 +548,32 @@ The server's own instructions to a connecting client, verbatim:
548
548
 
549
549
  **Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
550
550
 
551
- > Opens a watch so THIS conversation is told when something changes: a road closed or restricted (not a jam), a stop running late, a weather warning, a charger freeing up. Use when asked to be told later: "sag mir Bescheid, wenn die A8 wieder frei ist", "tell me when a warning comes for Kiel". A name is enough as the key; no lookup first. Do NOT use to look up now, nor for e-mail, SMS or alerts outside this chat — we cannot send one; say so. Set hours (≤ 24, default 3) for the time asked; condition narrows it (only the reopening, one charge point). Session-scoped, ≤ 10 watches. Show attribution.
551
+ > Opens a watch so THIS conversation is told when something changes: a road closed or restricted, a motorway jam, a stop running late, a weather warning, a charger freeing up. Use when asked to be told later: "sag mir Bescheid, wenn die A8 wieder frei ist", "tell me when a warning comes for Kiel". A name is enough as key; no lookup first. Do NOT use to look up now, nor for e-mail, SMS or alerts outside this chat — we cannot send one; say so. Set hours (≤ 24, default 3) for the time asked; condition narrows it (only the reopening, one charge point). Session-scoped, ≤ 10 watches. Show attribution.
552
552
 
553
553
  | parameter | type | required | default | constraints |
554
554
  | --- | --- | --- | --- | --- |
555
555
  | `key` | string | **yes** | — | min length 1; max length 200 |
556
556
  | `kind` | string | **yes** | — | one of `"road"`, `"station"`, `"region"`, `"place"`, `"weather"`, `"charger"` |
557
- | `condition` | object | no | — | keys: `delay_min`, `late_share`, `min_trips`, `radius_km`, `min_level`, `event`, `point_id` (each described below); `additionalProperties` |
557
+ | `condition` | object | no | — | keys: `delay_min`, `late_share`, `min_trips`, `radius_km`, `min_level`, `event`, `events`, `point_id` (each described below); `additionalProperties` |
558
558
  | `hours` | number | no | — | min 0.25; max 24 |
559
559
  | `language` | string | no | `"de"` | one of `"de"`, `"en"` |
560
560
  | `request` | string | no | — | max length 200 |
561
561
  | `until` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
562
562
 
563
563
  - **`key`** — The thing to watch, in the person's own words — a name is enough and no read tool is needed first; the server resolves it and the answer names the key it resolved to. `road`: a road number ("A8", "B27"). `place`: a town or address ("Fulda"). `weather`: a place name ("Kiel"), resolved to the DWD warn cell it lies in — or a warn cell id ("801002000"); a Land or Kreis is an area and takes no single cell. `station`: a stop or station name ("Köln Hbf", "München, Marienplatz"), resolved to its DHID the way get_departures resolves a stop — or a DHID ("de:14612:28"); an EVA number from get_train_departures ("8000207") is not a DHID and is refused. `charger`: a place ("Würzburg"), resolved to the nearest charging site that reports live occupancy — or a site id from find_charging_station. `region`: a city, district or Land ("Hamburg", "Landkreis Fulda"), resolved to its AGS key the way check_transit_disruption resolves its region — or an AGS key ("14612"). A name that fits several places or stops gets a which-one list and opens no watch; call again with the chosen line.
564
- - **`kind`** — What kind of thing to watch. `road` = one motorway or federal road (key: "A8", "B27") — reports a closure or restriction appearing or clearing, not a jam; `station` = one public-transport stop (key: its name, "Köln Hbf", or its DHID) — reports departures running late past the threshold; `region` = a city, district or Land (key: its name, "Hamburg", or its AGS key, "14612") — reports the share of late trips crossing the threshold; `place` = a town or address (key: "Fulda") — reports road restrictions appearing within the radius, not a jam; `weather` = one DWD warn cell (key: a place name, "Kiel", or the cell id) — reports an official warning coming into force; `charger` = one charging site (key: a place, "Würzburg", or the site id) — reports a point turning free.
565
- - **`condition`** — Optional threshold; the keys of each kind, with an example: road {"event": "reopen"} (only the reopening); station {"delay_min": 20}; region {"late_share": 0.3, "delay_min": 5, "min_trips": 20}; place {"radius_km": 10}; weather {"min_level": 3}; charger {"point_id": "2"} (one charge point). Any other key, or a key of another kind, is refused by name; leave it out for the default. The answer repeats the condition it applies.
564
+ - **`kind`** — What kind of thing to watch. `road` = one motorway or federal road (key: "A8", "B27") — reports a closure or restriction appearing or clearing, and on a motorway a jam (condition events) appearing or clearing; `station` = one public-transport stop (key: its name, "Köln Hbf", or its DHID) — reports departures running late past the threshold; `region` = a city, district or Land (key: its name, "Hamburg", or its AGS key, "14612") — reports the share of late trips crossing the threshold; `place` = a town or address (key: "Fulda") — reports road restrictions appearing within the radius, not a jam; `weather` = one DWD warn cell (key: a place name, "Kiel", or the cell id) — reports an official warning coming into force; `charger` = one charging site (key: a place, "Würzburg", or the site id) — reports a point turning free.
565
+ - **`condition`** — Optional threshold; the keys of each kind, with an example: road {"event": "reopen"} (only the reopening), {"events": ["jams"]} (jams on a motorway); station {"delay_min": 20}; region {"late_share": 0.3, "delay_min": 5, "min_trips": 20}; place {"radius_km": 10}; weather {"min_level": 3}; charger {"point_id": "2"} (one charge point). Any other key, or a key of another kind, is refused by name; leave it out for the default. The answer repeats the condition it applies.
566
566
  - `delay_min` (integer, min 1; max 600) — station: minutes of delay that count as a disruption (default 10).
567
567
  - `late_share` (number, min 0.01; max 1) — region: share of observed trips running late that trips the watch (default 0.25).
568
568
  - `min_trips` (integer, min 1; max 10000) — region: below this many observed trips the share is noise (default 10).
569
569
  - `radius_km` (number, min 0.1; max 200) — place: how far around the place to look (default 25).
570
570
  - `min_level` (integer, min 0; max 4) — weather: lowest DWD warning level worth reporting (default 2).
571
- - `event` (string, one of `"reopen"`, `"any"`) — road: 'reopen' reports only a restriction clearing; 'any' reports both (default).
571
+ - `event` (string, one of `"reopen"`, `"any"`) — road: 'reopen' reports only a restriction (or jam) clearing; 'any' reports both (default).
572
+ - `events` (array of string, min 1 item(s); max 4 item(s); each item: one of `"restrictions"`, `"jams"`) — road: what to report — 'restrictions' (closures, roadworks, restrictions; the default) and/or 'jams' (a jam the Autobahn GmbH or the police report on the motorway, motorways only). A jam watch: ["jams"]; both: ["restrictions", "jams"].
572
573
  - `point_id` (string, min length 1; max length 200) — charger: one charge point of the site instead of any of them.
573
574
  - **`hours`** — How long to watch, in hours (default 3, maximum 24). Prefer this over `until`: it needs no knowledge of the current time. Give one of `hours` or `until`, never both.
574
575
  - **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out: it defaults to German ("de"), which is only the fallback when the language is genuinely unclear, so an English question sent without it is answered in German — a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
575
- - **`request`** — The person's request in their own words ("sag mir Bescheid, wenn sich auf der A7 ein Stau bildet"). Pass it on every call: a `road` or `place` watch reports closures and restrictions, never a jam or slow traffic, and the answer says so — a request about a jam alone opens no watch.
576
+ - **`request`** — The person's request in their own words ("sag mir Bescheid, wenn sich auf der A7 ein Stau bildet"). Pass it on every call: a jam asked for on a motorway is watched (the Autobahn GmbH's and the police's jam reports); on another road, and for a `place` watch, closures and restrictions only, never a jam or slow traffic, and the answer says so.
576
577
  - **`until`** — An explicit end instant as ISO-8601 with an offset ("2026-09-20T18:40:00+02:00"), at most 24 hours ahead. Use only when the person named a time; otherwise use `hours`. Give one of `hours` or `until`, never both.
577
578
 
578
579
  ### `stop_watch` — Stop a watch
@@ -757,5 +758,5 @@ single call.
757
758
  ---
758
759
 
759
760
  Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
760
- read from `https://mcp.viafrei.de/mcp` on 2026-10-22; no tool was invoked to
761
+ read from `https://mcp.viafrei.de/mcp` on 2026-10-23; no tool was invoked to
761
762
  produce it, so no data provider was contacted.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,102 @@ a Changelog and the versions follow Semantic Versioning.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.3.18] - 2026-10-24
9
+
10
+ **A motorway watch now reports jams, weather warnings come in the DWD's own English, and every credit line says "Source".**
11
+ The package matches the server's 2.3.18 and covers the server releases 2.3.14 to
12
+ 2.3.18. Nothing was published here between 2.3.13 and 2.3.18, so what those releases
13
+ brought is described here. No tool, prompt or resource was added, removed or
14
+ renamed. One tool gained an optional argument and its description changed, and the
15
+ server now introduces itself with the ViaFrei brand line (below).
16
+
17
+ ### Changed (tool surface)
18
+
19
+ - **`watch_situation`** watches jams on a motorway. A `road` watch takes the new
20
+ optional `condition.events`: `["jams"]` reports a jam the Autobahn GmbH or the police
21
+ report appearing or clearing, `["restrictions", "jams"]` reports both, and the
22
+ default stays closures, roadworks and restrictions. "Sag mir Bescheid, wenn sich auf
23
+ der A7 ein Stau bildet" now opens a watch instead of being declined. On a road that
24
+ is not a motorway, and for a `place` watch, the answer still says that only closures
25
+ and restrictions are watched. `condition.event: "reopen"` now covers a jam clearing
26
+ as well as a restriction.
27
+ - **The server's `initialize` answer** carries a title and a description in
28
+ `serverInfo`: "The German Real-Time Mobility Context Platform for AI", followed by
29
+ the pitch "ViaFrei gives AI assistants real-time awareness of Germany. Trains and
30
+ buses, traffic and roadworks, fuel, charging, parking and weather. One MCP. No API
31
+ key. No sign-up." The instructions now open with "ViaFrei gives AI assistants
32
+ real-time awareness of Germany" and separate the live data from the reference data
33
+ (places, addresses and the driving rules).
34
+
35
+ ### Changed (package)
36
+
37
+ - **The npm description, the MCP Registry entry and the README open with the brand
38
+ line**, "The German Real-Time Mobility Context Platform for AI". No code changed in
39
+ the bridge itself.
40
+
41
+ ### Added (server 2.3.14-2.3.18)
42
+
43
+ - **Weather warnings in the DWD's own English.** With `language: "en"`,
44
+ `check_weather_warnings` shows the DWD's own English text of each warning,
45
+ unaltered and under "Quelle: Deutscher Wetterdienst", where the DWD publishes one.
46
+ On viafrei.de, where the DWD has no English text and on the other twenty
47
+ languages, the weather card shows the official German text, verbatim and labelled
48
+ as the binding original, beside our translation, labelled as ours, under
49
+ "Datenbasis: Deutscher Wetterdienst, bearbeitet (Übersetzung)". The translation is a
50
+ fixed table of the DWD's own sentences: numbers and units are copied as they are,
51
+ and a sentence the table does not hold is shown in German only, never guessed.
52
+ - **Lifted low-emission zones.** The zone list follows the Umweltbundesamt's list of
53
+ 2026-10-22: 35 zones in force and 23 lifted. `get_driving_rules` and
54
+ `describe_location` say "the Umweltzone Hannover was lifted on 22.02.2024 according
55
+ to the Umweltbundesamt; no plaque is needed there any more", and the place card on
56
+ viafrei.de says the same in every language instead of "no zone".
57
+
58
+ ### Changed (server 2.3.14-2.3.18)
59
+
60
+ - **Every credit line opens with "Quelle:" or "Source:"**, and a result's purpose or
61
+ condition note opens the answer text as well as `_meta`, so a smaller assistant no
62
+ longer drops either.
63
+ - **A road answer with a source it could not read says so.** If one of the road
64
+ sources of `check_road_status` cannot be read, the answer keeps every other
65
+ source's entries, names the missing one ("Not read: … — the read failed just now")
66
+ and lists it under `unavailableSources`. The first line then says "no reports from
67
+ the sources that were read", never an all-clear.
68
+ - **Source ids, not internal keys.** Every field of a structured result that names a
69
+ source now carries the id that `viafrei://attribution` and `_meta.sources` use. Row
70
+ ids of `find_roadworks_ahead` are opaque and stable from call to call. No field was
71
+ removed or renamed; only values changed.
72
+ - **`find_roadworks_ahead`** names the signed detours of Straßen.NRW among the sources
73
+ it read for a place in North Rhine-Westphalia.
74
+
75
+ ### Fixed (server 2.3.14-2.3.18)
76
+
77
+ - **Watches notify.** The server now checks every open watch once a minute.
78
+ - **Road answers**: the sections of one measure are one line, a one-sided or
79
+ alternating closure is a restriction, and a closed footway or cycle path is not a
80
+ road closure.
81
+ - **Places**: a street plus a town never answers from another town, a district
82
+ qualifier picks the town inside it, a DB name with brackets finds its stop, and a
83
+ town keeps its own municipality key, so roadworks for Bochum no longer name
84
+ Dortmund's city feed. A city's feed answers only for its own city.
85
+ - **`find_parking`** leaves out car parks OpenStreetMap tags as private, customers
86
+ only or permit only.
87
+ - **Charging**: a site named only by an operator code is named by its address, and the
88
+ charge points of one site that differ only in their momentary status are one line
89
+ ("3 of 4 free").
90
+ - **`stop_watch`** finds a watch under every spelling it was opened with.
91
+ - **viafrei.de** stays up under heavy crawling: self-declared crawlers share one
92
+ request budget, and people, MCP clients and the major search engines are not
93
+ slowed.
94
+
95
+ ## [2.3.13] - 2026-10-22
96
+
97
+ **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
98
+ relays to. The running server reports 2.3.13 while the registry's latest is 2.3.12, so
99
+ this release moves the package to the server's number and carries whatever had been
100
+ waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
101
+ reference was re-captured from the running server, and the probe reported the surface
102
+ **unchanged** — only the version string moved; the capture date is the same day.
103
+
8
104
  ## [2.3.12] - 2026-10-22
9
105
 
10
106
  **A traffic light for every motorway, what a rest area has, and train boards that say why they are empty.**
@@ -3407,6 +3503,8 @@ for it, so the number is free; the bridge will use it when the platform does.
3407
3503
  commits, and a squash makes them unreachable from `main` - which would turn
3408
3504
  the check red on `main` for everybody, for something no contributor did.
3409
3505
 
3506
+ [2.3.18]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.3.18
3507
+ [2.3.13]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.3.13
3410
3508
  [2.3.12]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.3.12
3411
3509
  [2.3.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.3.7
3412
3510
  [2.3.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.3.5
package/README.md CHANGED
@@ -8,7 +8,10 @@
8
8
  [![ViaFrei MCP connector](https://glama.ai/mcp/connectors/de.viafrei.mcp/via-frei/badges/score.svg)](https://glama.ai/mcp/connectors/de.viafrei.mcp/via-frei)
9
9
  [![Listed on mcpservers.org](https://mcpservers.org/badge.svg)](https://mcpservers.org/servers/mavrovde/viafrei-mcp)
10
10
 
11
- ### Germany's traffic, trains, charging and roads — in your AI assistant.
11
+ ### The German Real-Time Mobility Context Platform for AI
12
+
13
+ **ViaFrei gives AI assistants real-time awareness of Germany.** Trains and buses,
14
+ traffic and roadworks, fuel, charging, parking and weather. One MCP. No API key. No sign-up.
12
15
 
13
16
  **Ask in plain words. Get the live answer, with its source.**
14
17
 
@@ -41,26 +44,25 @@ on viafrei.de, with a map and a traffic light.
41
44
  > from our data, and AI can make mistakes, so check anything important (a
42
45
  > closure, a departure, a price) against the source each answer names.
43
46
 
44
- > **New in 2.3.12: a traffic light for every motorway, what a rest area has, and
45
- > train boards that say why they are empty.** Since 2.3.2:
47
+ > **New in 2.3.18: watch a motorway for jams, weather warnings in the DWD's own
48
+ > English, and answers that say which source they could not read.** Since 2.3.13:
46
49
  >
47
- > - **A traffic light per motorway.** `check_autobahn_traffic` opens with it: "A7 —
48
- > traffic light red: full closure (and 156 more reasons)." Green means nothing is
49
- > reported, and the answer says that this is no guarantee of a clear road. "Is the
50
- > A7 clear?" is asked of this tool, "is it closed?" of `check_road_status`.
51
- > - **Jams in detail**: where a jam ends, roughly how long it is, since when, whether
52
- > it is growing, and the delay per direction ("Flensburg → Hamburg +72 min (2 jams)").
53
- > - **What a rest area has.** `find_parking` lists each site's amenities as its own
54
- > publisher states them ("Ausstattung laut Herausgeber: WC · Dusche · Tankstelle ·
55
- > Picknickplatz · Spielplatz") and filters by them with `facilities: ["shower"]`.
56
- > What OpenStreetMap shows nearby is listed apart and never counted as the site's own.
57
- > - **Empty train boards explain themselves.** "No ICE train leaves Tübingen Hbf in
58
- > the next 60 minutes. … The DELFI timetable names no product for long-distance
59
- > trains, so it cannot tell whether any ICE train runs."
60
- > - **Motorway pages, rebuilt**: one card per kind with checkboxes, amenity filters on
61
- > the parking card, "around you" within a radius, and 22 languages.
62
- > - **Places and parking**: "Bennewitz, Landkreis Leipzig" answers in that Kreis,
63
- > "Koeln Hbf" finds Köln Hbf, and Berlin's park-and-ride sites answer.
50
+ > - **A jam watch.** "Tell me when a jam builds up on the A7" now opens a watch:
51
+ > `watch_situation` with `kind: "road"` and `condition: {"events": ["jams"]}` reports
52
+ > a jam the Autobahn GmbH or the police report on that motorway appearing or
53
+ > clearing. Closures and restrictions stay the default, and both can be watched together.
54
+ > - **The DWD's own English.** Ask `check_weather_warnings` in English and each
55
+ > warning comes in the DWD's own English text, unaltered. On viafrei.de, in the other
56
+ > twenty languages, the binding German original stands beside our labelled translation.
57
+ > - **Lifted low-emission zones**: "the Umweltzone Hannover was lifted on 22.02.2024
58
+ > according to the Umweltbundesamt; no plaque is needed there any more" — 35 zones
59
+ > in force and 23 lifted, from the Umweltbundesamt's list of 2026-10-22.
60
+ > - **Honest gaps.** When one road source cannot be read, `check_road_status` keeps
61
+ > the others, names the missing one and never opens with an all-clear.
62
+ > - **"Source:" on every credit line**, and a result's legal condition note at the top
63
+ > of the answer text, so a smaller assistant does not drop it.
64
+ > - **Fixes** to road wording, place names, private car parks and charger names — the
65
+ > charge points of one site that differ only in their status are one line, "3 of 4 free".
64
66
  >
65
67
  > Every source is listed, with what it feeds and what we hold back, in
66
68
  > [SOURCES.md](SOURCES.md). The [CHANGELOG](CHANGELOG.md) has the whole list.
@@ -86,7 +88,7 @@ comes back in the language you asked in.
86
88
  | 🌦️ **watching the weather** | *Gibt es eine Unwetterwarnung für Freiburg?* · *Is the road near Garmisch going to be icy this morning?* |
87
89
  | 📍 **looking for a place** | *What is the address of the Elbphilharmonie in Hamburg?* · *Welche Apotheken gibt es in Fulda?* · *My satnav shows 50.1109, 8.6821 — what address is that?* |
88
90
  | 🇩🇪 **new to German roads** | *Do I need an emission sticker for Stuttgart?* · *Is Marienplatz in Munich inside the low-emission zone?* · *Liegt Essen Hbf in der Umweltzone?* · *Is there a speed limit on the Autobahn?* |
89
- | ⏳ **waiting for news** | *Tell me as soon as the closure on the A7 is lifted.* · *Sag mir Bescheid, wenn in Köln ein Viertel oder mehr der Bus- und Bahnfahrten verspätet ist.* · *Warn me when a DWD severe-weather warning comes into force for Cologne.* |
91
+ | ⏳ **waiting for news** | *Tell me as soon as the closure on the A7 is lifted.* · *Tell me when a jam builds up on the A7.* · *Sag mir Bescheid, wenn in Köln ein Viertel oder mehr der Bus- und Bahnfahrten verspätet ist.* · *Warn me when a DWD severe-weather warning comes into force for Cologne.* |
90
92
 
91
93
  **What the answers cover, honestly.** Live traffic is the motorways, plus the
92
94
  measured traffic state of Hamburg's and Bonn's streets and the quarter-hour counts
@@ -124,13 +126,15 @@ the conversation that opened it: the server keeps every change there, and your
124
126
  assistant shows it when you ask, or on its own if your client supports MCP
125
127
  notifications. Nothing is sent by e-mail or SMS. Up to 10 watches per
126
128
  conversation, each for up to 24 hours (3 by default), and a road is watched as a
127
- whole, not one section of it.
129
+ whole, not one section of it. On a motorway a watch can also report jams; on other
130
+ roads and around a place it watches closures and restrictions only, and says so.
128
131
 
129
132
  ## 💬 Real answers
130
133
 
131
134
  These came back from the production server at `https://mcp.viafrei.de/mcp`. They
132
- are not mock-ups. The first five were asked of **server 2.3.12 on 2026-10-22
133
- between 08:50 and 09:20 Berlin time**; an "As of" time earlier than that is the
135
+ are not mock-ups. The first three were asked of **server 2.3.18 on 2026-10-24
136
+ at 00:20 Berlin time**. The next five were asked of server 2.3.12 on 2026-10-22
137
+ between 08:50 and 09:20 Berlin time; an "As of" time earlier than that is the
134
138
  time the source was last read. The next nine were asked of server 2.2.14 on
135
139
  2026-10-20 between 06:00 and 06:16 Berlin time. The next seven were asked of server 2.2.6 on
136
140
  2026-10-19 between 07:34 and 07:45 Berlin time, the day it went live. The next two were asked of
@@ -145,6 +149,70 @@ Each one shows the first lines of what the tool returned, and the source line as
145
149
  it was sent, shortened where marked.
146
150
 
147
151
  <details open>
152
+ <summary><b>🌬️ "Is there a weather warning for Kiel?"</b> — <code>check_weather_warnings</code> with <code>language: "en"</code></summary>
153
+
154
+ ```text
155
+ 2 official notices for Kiel, highest level 1 of 4:
156
+
157
+ 1. Level 1 of 4 — Wetterwarnung (the DWD's own name; our translation: weather warning) — Wind gusts (WINDBÖEN)
158
+ Area: Stadt Kiel (warn cell 801002000)
159
+ Valid: from 2026-10-24 04:00 until 2026-10-24 12:00
160
+ Official DWD wording in English (the DWD's own text), reproduced unaltered:
161
+ „Official WARNING of WIND GUSTS“
162
+ „There is a risk of wind gusts (level 1 of 4).
163
+ Max. gusts: < 60 km/h; Wind direction: south then south-west“
164
+ For the drive: Gusts can push vehicles sideways; take particular care on bridges, in woodland and when overtaking lorries.
165
+ …
166
+ Quelle: Deutscher Wetterdienst (https://www.dwd.de/copyright; Lizenz: CC BY 4.0, …) · …
167
+ ```
168
+ New in 2.3.17 and 2.3.18. The warning text is the DWD's own English, unaltered, so it
169
+ keeps the DWD's Quellenvermerk. The level name stays German ("Wetterwarnung") with our
170
+ gloss beside it, because a German official level has no official English name. The
171
+ driving sentence is ours. On viafrei.de, where the DWD has no English text and in the
172
+ other twenty languages, the card shows the German original as the binding text beside
173
+ our labelled translation.
174
+ *Edited: the road-weather condition note that opens the answer, two DWD lines on the
175
+ level and its CAP fields, the hazard text, the second warning, the road-surface
176
+ forecast and most of the source line omitted.*
177
+ </details>
178
+
179
+ <details>
180
+ <summary><b>🔌 "Where can I charge near Hamburg Hbf?"</b> — <code>find_charging_station</code> with <code>language: "en"</code></summary>
181
+
182
+ ```text
183
+ Charging around Hamburg Hbf (within 10 km), nearest first, sites wholly out of order last:
184
+ 1. Heidi-Kabel-Platz, 20099 Hamburg — 0.2 km, Type 2, up to 22 kW, 0.50 €/kWh, 3 of 4 free (as of 00:19) (2 charging units)
185
+ 2. Mönckebergstr. 1, 20095 Hamburg (E.ON Drive Infrastructure) — 0.3 km, CCS2, up to 150 kW, no status data, per charging point register
186
+ 3. Borgesch 1, 20099 Hamburg (Hamburger Energiewerke) — 0.3 km, Type 2, up to 22 kW, no status data, per charging point register; CCS2/Type 2, up to 50 kW, no status data, per charging point register (2 charging units)
187
+ 4. Hühnerposten 14, 20097 Hamburg — 0.4 km, Type 2, up to 22 kW, 0.50 €/kWh, status from 2026-10-23 20:01 (4 h 19 min ago) — possibly out of date
188
+ …
189
+ ```
190
+ New in 2.3.15: the charge points of one site that differ only in their momentary status
191
+ are one line ("3 of 4 free"), and a site that its operator names only by a code is named
192
+ by its address. A status older than its feed's own window is shown with its time and
193
+ "possibly out of date", never as free.
194
+ *Edited: two more sites, the site ids for `watch_situation` and the source line
195
+ omitted.*
196
+ </details>
197
+
198
+ <details>
199
+ <summary><b>🌿 "Do I need an emission sticker for Hannover?"</b> — <code>get_driving_rules</code> with <code>topic: "lez"</code>, <code>language: "en"</code></summary>
200
+
201
+ ```text
202
+ Low-emission zone and plaque — Hannover:
203
+ Hannover: the Umweltzone Hannover was lifted on 22.02.2024 according to the Umweltbundesamt; no plaque is needed there any more — the signs on the spot still decide.
204
+ …
205
+ Source: Verkehrsregeln: ViaFrei, eigene Zusammenstellung aus amtlichen Quellen (…) · Umweltzonen in Deutschland: Umweltbundesamt, Datenlizenz Deutschland – Namensnennung – Version 2.0, bearbeitet (…)
206
+ Reviewed 2026-09-19 · Informational, not legal advice.
207
+ ```
208
+ New in 2.3.14: the zone list follows the Umweltbundesamt's list of 2026-10-22, with 35
209
+ zones in force and 23 lifted. A lifted zone is said as lifted, with its date, instead of
210
+ "no zone".
211
+ *Edited: the general rules on plaques and fines and the links in the source line
212
+ omitted.*
213
+ </details>
214
+
215
+ <details>
148
216
  <summary><b>🚦 "Is the A7 clear right now?"</b> — <code>check_autobahn_traffic</code> with <code>roads: ["A7"]</code>, <code>language: "en"</code></summary>
149
217
 
150
218
  ```text
@@ -1097,6 +1165,8 @@ Restart the client and ask one of the questions above.
1097
1165
  find it; [`server.json`](server.json) is the entry. It is republished with every
1098
1166
  release of this package, after the npm publish, and only when the live server
1099
1167
  reports the same version.
1168
+ - **awesome-mcp-servers — [punkpeye/awesome-mcp-servers](https://github.com/punkpeye/awesome-mcp-servers).**
1169
+ The largest curated list of MCP servers; ViaFrei is listed under Travel & Transportation.
1100
1170
  - **awesome-remote-mcp-servers — [punkpeye/awesome-remote-mcp-servers](https://github.com/punkpeye/awesome-remote-mcp-servers).**
1101
1171
  The curated list of remote MCP servers; ViaFrei is listed with its hosted endpoint.
1102
1172
  - **TensorBlock MCP Index — [tensorblock.co/mcp/servers/…](https://tensorblock.co/mcp/servers/github-mavrovde-viafrei-mcp-e9117452).**
@@ -1112,7 +1182,7 @@ Restart the client and ask one of the questions above.
1112
1182
 
1113
1183
  <!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
1114
1184
 
1115
- **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.3.12, snapshot of 2026-10-22. Each line is the server's own words; the full parameters are in [API.md](API.md).
1185
+ **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.3.18, snapshot of 2026-10-23. Each line is the server's own words; the full parameters are in [API.md](API.md).
1116
1186
 
1117
1187
  #### 🚗 On the road
1118
1188
 
@@ -1168,7 +1238,7 @@ Restart the client and ask one of the questions above.
1168
1238
 
1169
1239
  | tool | what it answers |
1170
1240
  |---|---|
1171
- | [`watch_situation`](API.md#watch_situation--watch-for-a-change) — Watch for a change | Opens a watch so THIS conversation is told when something changes: a road closed or restricted (not a jam), a stop running late, a weather warning, a charger freeing up. |
1241
+ | [`watch_situation`](API.md#watch_situation--watch-for-a-change) — Watch for a change | Opens a watch so THIS conversation is told when something changes: a road closed or restricted, a motorway jam, a stop running late, a weather warning, a charger freeing up. |
1172
1242
  | [`stop_watch`](API.md#stop_watch--stop-a-watch) — Stop a watch | Ends a watch this conversation opened with watch_situation, so no further notifications arrive for it. |
1173
1243
 
1174
1244
  #### 🧭 Prompts — ready-made briefings
package/SOURCES.md CHANGED
@@ -15,19 +15,18 @@ The authoritative, always-current register is the resource
15
15
  **`viafrei://attribution`** on the server itself. Any MCP client can read it. If
16
16
  this page and that resource ever disagree, the resource is right and this page is
17
17
  stale: tell us and we will fix it. **Every row of the catalogue below was compared
18
- with that resource as served by server 2.3.12 on 2026-10-22**: 237 sources, the same
19
- ids as at server 2.2.14. 220 of them are held and answering, 12 are planned (licence
20
- read, nothing ingested yet) and five are discontinued. No row was added or removed
21
- since the last comparison, at server 2.2.14, and no attribution line changed. One
22
- status changed: Berlin's park-and-ride sites, switched on with no successful read
23
- then, now answer. What changed is what the sources feed. The motorway traffic light
24
- reads the Autobahn GmbH's reports, the police and Land traffic messages, the DWD
25
- warnings, the road-weather forecast and Schleswig-Holstein's bridge states. A parking
26
- site's amenities come from its own publisher, with what OpenStreetMap and the charging
27
- register show close by listed beside it. VBN's realtime feed now also gives the
28
- punctuality share in Niedersachsen and Bremen where DELFI's trips are mostly untimed.
29
- The motorway pages list police and Land messages, bridge states, signed detours,
30
- border crossings and the lorry networks. The website also
18
+ with that resource as served by server 2.3.18 on 2026-10-24**: 237 sources, the same
19
+ ids as at server 2.3.12. 220 of them are held and answering, 12 are planned (licence
20
+ read, nothing ingested yet) and five are discontinued. No row was added or removed,
21
+ no attribution line changed and no status changed since the last comparison, at
22
+ server 2.3.12. What changed is what the sources feed. The DWD's own English text of a
23
+ warning now answers `check_weather_warnings` in English, and the site's weather card
24
+ shows the German original beside our labelled translation in the other languages.
25
+ The low-emission-zone answers follow the Umweltbundesamt's list of 2026-10-22, which
26
+ names the lifted zones. A motorway watch now also reads the Autobahn GmbH's and the
27
+ police's jam reports. `find_roadworks_ahead` names Straßen.NRW's signed detours among
28
+ the sources it read for a place in North Rhine-Westphalia, and every field of a result
29
+ that names a source now carries the id used here. The website also
31
30
  uses two sources the server's register does not list, named
32
31
  [near the end](#the-websites-own-sources). Whatever the surfaces say, the answer you hold is the thing to read:
33
32
  `_meta.sources` and the attribution lines on it are produced from the same result
@@ -252,13 +251,14 @@ that every answer carries it.
252
251
 
253
252
  **Status is the register's, not a measurement.** Berlin's park-and-ride row, marked
254
253
  no data yet at server 2.2.14 from the server's own coverage resource,
255
- `viafrei://coverage`, was read there again on 2026-10-22: it is current and answers.
254
+ `viafrei://coverage`, was read there again on 2026-10-22: it is current and answers,
255
+ and still was at server 2.3.18.
256
256
  The last time each source's
257
257
  status was measured from answers was a round of 1,000 questions against server
258
258
  1.8.17 on 2026-10-06, before most of the 2.0 sources existed; the
259
259
  [test rounds](https://github.com/mavrovde/viafrei-mcp/wiki/Test-rounds) are published
260
- in the wiki. As of the capture shipped alongside this page (server 2.3.12,
261
- 2026-10-22), it exposes twenty-two tools, twenty of them read-only. A routine
260
+ in the wiki. As of the capture shipped alongside this page (server 2.3.18,
261
+ 2026-10-23), it exposes twenty-two tools, twenty of them read-only. A routine
262
262
  re-check of which sources answer leaves both fuel tools out — **`find_cheapest_fuel`
263
263
  and `find_fuel_station`** — because Tankerkönig limits how often its interface may
264
264
  be asked, and its terms say plainly that bulk retrieval is blocked and the key
@@ -502,7 +502,7 @@ feed, live, in the resource `viafrei://coverage`.
502
502
  | **Bike sharing** — feeds `find_sharing`; site: shared bikes within 1 km on the transit card | | | |
503
503
  | `gbfs_nextbike` | Bikesharing: nextbike GmbH (GBFS), CC0 1.0 | CC0 1.0 | held |
504
504
  | `gbfs_donkey` | Bikesharing: Donkey Republic (GBFS), CC0 1.0 | CC0 1.0 | held |
505
- | **Weather** — feeds `check_weather_warnings`, `watch_situation`, and the motorway traffic light (DWD warnings and the road-surface forecast); site: the weather card, road-surface forecast included, and the motorway pages (warnings along the road, the road-surface forecast per station) | | | |
505
+ | **Weather** — feeds `check_weather_warnings` (the DWD's own English text with `language: "en"`), `watch_situation`, and the motorway traffic light (DWD warnings and the road-surface forecast); site: the weather card (the German original beside our labelled translation on the translated pages), road-surface forecast included, and the motorway pages (warnings along the road, the road-surface forecast per station) | | | |
506
506
  | `dwd` | Quelle: Deutscher Wetterdienst | CC BY 4.0 | held |
507
507
  | `dwd_road` | Quelle: Deutscher Wetterdienst. Datenquelle: BMVBS und Straßenbauverwaltungen der Länder | CC BY 4.0 **plus a condition of use** | held |
508
508
  | **Places and addresses** — feeds every tool that takes a `place`, and `find_place`, `find_poi`, `find_address`, `describe_location`, `find_nearby`, and what OpenStreetMap shows near a site in `find_parking`; site: the place search, the place pages and the place name in the place bar | | | |
@@ -867,6 +867,24 @@ summary instead, the DWD requires the Quellenvermerk to be **removed** and a
867
867
  changed-data note put in its place — an altered warning must not look official.
868
868
  If you rewrite a warning further, the same rule applies to you.
869
869
 
870
+ **New in server 2.3.17: the DWD's own English, and a labelled translation.** The DWD
871
+ publishes an English text of its warnings in its own CAP feed. With `language: "en"`,
872
+ `check_weather_warnings` shows that text unaltered, so it keeps
873
+ `Quelle: Deutscher Wetterdienst`. On viafrei.de, where the DWD has no English text for
874
+ a warning and on the other twenty languages, the card shows the official German text
875
+ verbatim, labelled as the binding original, beside our translation, labelled as ours,
876
+ under a third line:
877
+
878
+ ```
879
+ Datenbasis: Deutscher Wetterdienst, bearbeitet (Übersetzung)
880
+ ```
881
+
882
+ The translation is a fixed table of the DWD's own sentences: numbers, units and
883
+ Beaufort figures are copied as they are, and a sentence the table does not hold is
884
+ shown in German only, never guessed. A German official level name ("Wetterwarnung",
885
+ "Unwetterwarnung") has no official English one, so an answer keeps it in German with
886
+ our gloss beside it.
887
+
870
888
  **New in server 2.0: the road-surface forecast.** `check_weather_warnings` adds the
871
889
  DWD's model forecast for the nearest road-weather stations — road-surface
872
890
  temperature and whether slipperiness is forecast — with its own line:
@@ -1075,7 +1093,7 @@ carries the line of every publisher it lists.
1075
1093
  **Leipzig**, where the city publishes live free spaces per site (dl-de/by-2-0),
1076
1094
  and since server 2.2.9 **Kiel** (below). **Berlin's park-and-ride sites** (the
1077
1095
  Senatsverwaltung's dataset with the VBB's sites around the city, DL-DE Zero 2.0)
1078
- answer at server 2.3.12, after first reads that ended in an error: each site's
1096
+ answer since server 2.3.12, after first reads that ended in an error: each site's
1079
1097
  place, capacity and, where stated, that it is free of charge. No live occupancy
1080
1098
  is published for them, and the answer says so.
1081
1099
  - **Kiel** (Landeshauptstadt Kiel, CC BY 4.0), since server 2.2.9: the city's car
@@ -1307,6 +1325,12 @@ answers state the register's own date (24.06.2025). Where a city publishes its
1307
1325
  boundary, the city decides, and the register is credited beside it when it
1308
1326
  agrees.
1309
1327
 
1328
+ Since server 2.3.14 our list of which zones are in force follows the
1329
+ Umweltbundesamt's list of 2026-10-22: 35 zones in force and 23 lifted. A place inside
1330
+ a lifted zone's old boundary is told that the zone was lifted and on which day ("the
1331
+ Umweltzone Hannover was lifted on 22.02.2024 according to the Umweltbundesamt"), and
1332
+ no plaque is asked for; the signs on the spot still decide.
1333
+
1310
1334
  ### Step-free access — surveys and OpenStreetMap
1311
1335
 
1312
1336
  Since server 2.2.5, `check_station_facilities` adds what a survey records about a
@@ -1429,10 +1453,10 @@ at the Thiersheim truck stop, and Kiel's old-town car parks.
1429
1453
  (ladenetz.de and ladebusiness), whose publisher ended them on 2026-10-19; see the
1430
1454
  charging section for the dated grace window.
1431
1455
 
1432
- **Held back.** Nothing at server 2.3.12. ivm's two lorry feeds, held back at 2.2.6,
1456
+ **Held back.** Nothing at server 2.3.18. ivm's two lorry feeds, held back at 2.2.6,
1433
1457
  answer since 2.2.7 under the credit their terms prescribe.
1434
1458
 
1435
- **No data yet.** None at server 2.3.12. Berlin's park-and-ride sites, the one such
1459
+ **No data yet.** None at server 2.3.18. Berlin's park-and-ride sites, the one such
1436
1460
  row at 2.2.14, answer now.
1437
1461
 
1438
1462
  **Not built:**
@@ -1492,11 +1516,11 @@ row at 2.2.14, answer now.
1492
1516
  register at `viafrei://attribution` is generated from the same place. A line
1493
1517
  that existed only in documentation would be a line nobody emits.
1494
1518
  - The catalogue above was **generated** from that register and **compared** line
1495
- by line with it as served by server 2.3.12 on 2026-10-22, not typed: every id it
1519
+ by line with it as served by server 2.3.18 on 2026-10-24, not typed: every id it
1496
1520
  lists is here, once, with its line and licence as served. Two lines are printed
1497
1521
  shorter than served, and marked (…): ivm's lines carry their dataset's offer
1498
1522
  link inside the line, and this page carries no deep links into the catalogues we
1499
- fetch through. No row was added at 2.3.12; the 25 added at 2.2.14 were taken
1523
+ fetch through. No row was added at 2.3.12 or 2.3.18; the 25 added at 2.2.14 were taken
1500
1524
  from the same resource.
1501
1525
  - Every row in our internal register records the licence, the operative sentence,
1502
1526
  the date it was read and who may do what with the data. Rows are re-verified
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viafrei",
3
- "version": "2.3.12",
4
- "description": "German motorway traffic and roadworks, rail, parking, charging, fuel, address and weather data in your AI assistant - MCP, no API key. stdio bridge to the hosted ViaFrei MCP server.",
3
+ "version": "2.3.18",
4
+ "description": "The German Real-Time Mobility Context Platform for AI: live motorway traffic and roadworks, trains and buses, parking, charging, fuel and weather in your AI assistant - MCP, no API key, no sign-up. stdio bridge to the hosted ViaFrei MCP server.",
5
5
  "keywords": [
6
6
  "mcp",
7
7
  "modelcontextprotocol",