viafrei 1.7.0 → 1.7.3
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 +26 -26
- package/CHANGELOG.md +128 -0
- package/README.md +2 -2
- package/SOURCES.md +80 -3
- package/package.json +5 -1
package/API.md
CHANGED
|
@@ -17,7 +17,7 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei` 1.7.
|
|
20
|
+
| Server | `viafrei` 1.7.3 |
|
|
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 |
|
|
@@ -71,7 +71,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
71
71
|
| parameter | type | required | default | constraints |
|
|
72
72
|
| --- | --- | --- | --- | --- |
|
|
73
73
|
| `roads` | array of string | **yes** | — | min 1 item(s); max 5 item(s); each item: pattern `^[Aa] ?\d{1,3}$` |
|
|
74
|
-
| `cursor` | string | no | — |
|
|
74
|
+
| `cursor` | string | no | — | max length 256 |
|
|
75
75
|
| `kinds` | array of string | no | `["warning","closure","roadworks"]` | min 1 item(s); each item: one of `"warning"`, `"roadworks"`, `"closure"` |
|
|
76
76
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
77
77
|
| `limit` | integer | no | `10` | min 1; max 50 |
|
|
@@ -95,7 +95,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
95
95
|
| `lat` | number | no | — | min -90; max 90 |
|
|
96
96
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
97
97
|
| `lon` | number | no | — | min -180; max 180 |
|
|
98
|
-
| `place` | string | no | — | min length 1 |
|
|
98
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
99
99
|
| `radius_km` | number | no | `5` | min 1; max 25 |
|
|
100
100
|
|
|
101
101
|
- **`fuel`** — Fuel grade: "e5" (Super E5), "e10" (Super E10, the standard German petrol) or "diesel". Default "e10". Pass the grade the person named — a diesel driver is not helped by a petrol price.
|
|
@@ -114,16 +114,16 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
114
114
|
|
|
115
115
|
| parameter | type | required | default | constraints |
|
|
116
116
|
| --- | --- | --- | --- | --- |
|
|
117
|
-
| `brand` | string | no | — | min length 1 |
|
|
117
|
+
| `brand` | string | no | — | min length 1; max length 60 |
|
|
118
118
|
| `fuel` | string | no | — | one of `"e5"`, `"e10"`, `"diesel"` |
|
|
119
119
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
120
120
|
| `lat` | number | no | — | min -90; max 90 |
|
|
121
121
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
122
122
|
| `lon` | number | no | — | min -180; max 180 |
|
|
123
|
-
| `name` | string | no | — | min length 1 |
|
|
123
|
+
| `name` | string | no | — | min length 1; max length 120 |
|
|
124
124
|
| `open_at` | string | no | — | pattern `^(?:\d{1,2}:\d{2}\|\d{4}-\d{2}-\d{2}[T ]\d{1,2}:\d{2})$` |
|
|
125
125
|
| `open_now` | boolean | no | `false` | — |
|
|
126
|
-
| `place` | string | no | — | min length 1 |
|
|
126
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
127
127
|
| `radius_km` | number | no | `5` | min 1; max 25 |
|
|
128
128
|
| `sort` | string | no | `"distance"` | one of `"distance"`, `"price"`, `"name"` |
|
|
129
129
|
| `whole_day` | boolean | no | `false` | — |
|
|
@@ -146,7 +146,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
146
146
|
|
|
147
147
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
148
148
|
|
|
149
|
-
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and park-and-ride sites, with total spaces and, where published,
|
|
149
|
+
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and park-and-ride sites, with total spaces and, where published, free spaces now and the reading's age. Use when someone asks where to park or leave the car for the train ("Parkhaus in Köln", "Rastplatz A3", "P+R"). Do NOT use for fuel (find_cheapest_fuel) or EV charging (find_charging_station). Radius ≤ 25 km, ≤ 10 sites per list; ODbL and CC BY-SA sources are separate lists (up to three). No "free now" means no published count, not full. Every answer carries each source's attribution.
|
|
150
150
|
|
|
151
151
|
| parameter | type | required | default | constraints |
|
|
152
152
|
| --- | --- | --- | --- | --- |
|
|
@@ -156,9 +156,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
156
156
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
157
157
|
| `lon` | number | no | — | min -180; max 180 |
|
|
158
158
|
| `only_with_free_spaces` | boolean | no | `false` | — |
|
|
159
|
-
| `place` | string | no | — | min length 1 |
|
|
159
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
160
160
|
| `radius_km` | number | no | `10` | min 1; max 25 |
|
|
161
|
-
| `road` | string | no | — |
|
|
161
|
+
| `road` | string | no | — | max length 16 |
|
|
162
162
|
|
|
163
163
|
- **`kind`** — Which kind of parking: "rest_area" = motorway rest and service area (no feed we ingest classifies this category at all, so an answer filtered to it says so and names the parking we do hold), "car_park" = public car park (Parkhaus/Parkplatz), "park_and_ride" = P+R beside a station, "truck" = lorry parking, "any" = all of them. Default "any". Pass a kind only when the person named one — "Rastanlage"/"Raststätte" is "rest_area", a lorry driver asking for a break wants "truck", someone leaving the car for the train wants "park_and_ride". A camper, a caravan or a coach is none of the five: leave the argument out rather than filtering a tourist into lorry bays.
|
|
164
164
|
- **`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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is 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.
|
|
@@ -183,7 +183,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
183
183
|
| `lat` | number | no | — | min -90; max 90 |
|
|
184
184
|
| `limit` | integer | no | `10` | min 1; max 11 |
|
|
185
185
|
| `lon` | number | no | — | min -180; max 180 |
|
|
186
|
-
| `place` | string | no | — | min length 1 |
|
|
186
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
187
187
|
| `road` | string | no | — | pattern `^[ABab] ?\d{1,3}$` |
|
|
188
188
|
|
|
189
189
|
- **`horizon_days`** — How many days ahead to look, counting from now (0 = right now only, max 14, default 3). Set it only to what the person actually asked for: 0 when they said right now / gerade / jetzt / in diesem Moment, 1 for tonight or heute Abend, 3 for "this weekend", 7 for "next week", and for a named weekday ("am Freitag", "on Friday") the number of days from today to that day. A bare "is the A8 open?" asks for no window — omit the argument and take the default rather than reading it as 0. Live closures are always included whatever this is.
|
|
@@ -229,7 +229,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
229
229
|
| `lon` | number | no | — | min -180; max 180 |
|
|
230
230
|
| `min_power_kw` | number | no | — | min 1; max 1000 |
|
|
231
231
|
| `only_available` | boolean | no | `false` | — |
|
|
232
|
-
| `place` | string | no | — | min length 1 |
|
|
232
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
233
233
|
| `radius_km` | number | no | `10` | min 1; max 25 |
|
|
234
234
|
|
|
235
235
|
- **`connector`** — Plug the car needs: "ccs2" (CCS Combo 2 — the DC fast-charging standard on almost every European EV), "type2" (Typ 2 / Mennekes, the AC socket) or "chademo" (older Japanese DC, e.g. Nissan Leaf). Omit unless the person named their plug or their car model — filtering on a guess hides chargers they could have used.
|
|
@@ -250,13 +250,13 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
250
250
|
|
|
251
251
|
| parameter | type | required | default | constraints |
|
|
252
252
|
| --- | --- | --- | --- | --- |
|
|
253
|
-
| `query` | string | **yes** | — | min length 2 |
|
|
253
|
+
| `query` | string | **yes** | — | min length 2; max length 120 |
|
|
254
254
|
| `kind` | string | no | — | one of `"city"`, `"district"`, `"admin"`, `"station"`, `"stop"`, `"motorway"`, `"junction"` |
|
|
255
255
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
256
256
|
| `lat` | number | no | — | min -90; max 90 |
|
|
257
257
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
258
258
|
| `lon` | number | no | — | min -180; max 180 |
|
|
259
|
-
| `near` | string | no | — |
|
|
259
|
+
| `near` | string | no | — | max length 120 |
|
|
260
260
|
| `radius_km` | number | no | — | min 1; max 200 |
|
|
261
261
|
|
|
262
262
|
- **`query`** — The place name to look up, as the person said it — "Neustadt", "Munich", "Kreis Fulda", "Köln Hbf". English names and spellings without umlauts both work.
|
|
@@ -276,14 +276,14 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
276
276
|
|
|
277
277
|
| parameter | type | required | default | constraints |
|
|
278
278
|
| --- | --- | --- | --- | --- |
|
|
279
|
-
| `name` | string | **yes** | — | min length 2 |
|
|
279
|
+
| `name` | string | **yes** | — | min length 2; max length 120 |
|
|
280
280
|
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"building"` |
|
|
281
|
-
| `in` | string | no | — |
|
|
281
|
+
| `in` | string | no | — | max length 120 |
|
|
282
282
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
283
283
|
| `lat` | number | no | — | min -90; max 90 |
|
|
284
284
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
285
285
|
| `lon` | number | no | — | min -180; max 180 |
|
|
286
|
-
| `near` | string | no | — |
|
|
286
|
+
| `near` | string | no | — | max length 120 |
|
|
287
287
|
| `radius_km` | number | no | `10` | min 1; max 50 |
|
|
288
288
|
|
|
289
289
|
- **`name`** — The name of the thing to find — a company, shop, clinic, hotel, office or landmark. Part of the name is enough: "adesso" finds "adesso SE". A chain name works too, because brands are matched as well as names.
|
|
@@ -304,7 +304,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
304
304
|
|
|
305
305
|
| parameter | type | required | default | constraints |
|
|
306
306
|
| --- | --- | --- | --- | --- |
|
|
307
|
-
| `query` | string | **yes** | — | min length 3 |
|
|
307
|
+
| `query` | string | **yes** | — | min length 3; max length 160 |
|
|
308
308
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
309
309
|
| `limit` | integer | no | `3` | min 1; max 5 |
|
|
310
310
|
|
|
@@ -340,7 +340,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
340
340
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
341
341
|
| `lat` | number | no | — | min -90; max 90 |
|
|
342
342
|
| `lon` | number | no | — | min -180; max 180 |
|
|
343
|
-
| `place` | string | no | — | min length 1 |
|
|
343
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
344
344
|
| `radius_km` | number | no | `5` | min 1; max 15 |
|
|
345
345
|
|
|
346
346
|
- **`categories`** — Which categories to include: "fuel", "charging", "parking", "station" (railway station), "junction" (motorway junction). Omit for all five. Pass a subset only when the person named one — otherwise the full picture is the point of this tool.
|
|
@@ -377,7 +377,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
377
377
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
378
378
|
| `lat` | number | no | — | min -90; max 90 |
|
|
379
379
|
| `lon` | number | no | — | min -180; max 180 |
|
|
380
|
-
| `region` | string | no | — | min length 1 |
|
|
380
|
+
| `region` | string | no | — | min length 1; max length 120 |
|
|
381
381
|
| `window_min` | integer | no | `60` | min 5; max 120 |
|
|
382
382
|
|
|
383
383
|
- **`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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is 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.
|
|
@@ -398,7 +398,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
398
398
|
| `lat` | number | no | — | min -90; max 90 |
|
|
399
399
|
| `lon` | number | no | — | min -180; max 180 |
|
|
400
400
|
| `min_level` | integer | no | `0` | min 0; max 4 |
|
|
401
|
-
| `place` | string | no | — | min length 1 |
|
|
401
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
402
402
|
|
|
403
403
|
- **`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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is 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.
|
|
404
404
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
@@ -418,7 +418,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
418
418
|
| `eva_no` | string | no | — | pattern `^\d{6,8}$` |
|
|
419
419
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
420
420
|
| `limit` | integer | no | `10` | min 1; max 15 |
|
|
421
|
-
| `station` | string | no | — | min length 1 |
|
|
421
|
+
| `station` | string | no | — | min length 1; max length 120 |
|
|
422
422
|
| `when` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
423
423
|
|
|
424
424
|
- **`duration_min`** — How far ahead to look, in minutes (5–120, default 60). Use a small window for "what leaves now" and a larger one for "this evening". Above 120 is refused: a departure board is not a timetable search.
|
|
@@ -440,8 +440,8 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
440
440
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
441
441
|
| `limit` | integer | no | `10` | min 1; max 15 |
|
|
442
442
|
| `modes` | array of string | no | — | min 1 item(s); each item: one of `"rail"`, `"subway"`, `"tram"`, `"bus"`, `"ferry"` |
|
|
443
|
-
| `stop` | string | no | — | min length 2 |
|
|
444
|
-
| `stop_id` | string | no | — | min length 3 |
|
|
443
|
+
| `stop` | string | no | — | min length 2; max length 120 |
|
|
444
|
+
| `stop_id` | string | no | — | min length 3; max length 64 |
|
|
445
445
|
| `when` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
446
446
|
|
|
447
447
|
- **`duration_min`** — How far past that moment to look, in minutes (5–1440, default 60). Small for "what goes now", a few hours for an evening. To reach the far end of the 48 h timetable, move `when` instead of widening this: a window of a whole day returns at most 15 rows and would answer about the wrong half of it.
|
|
@@ -464,7 +464,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
464
464
|
| `facility` | string | no | `"any"` | one of `"any"`, `"elevator"`, `"escalator"` |
|
|
465
465
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
466
466
|
| `limit` | integer | no | `20` | min 1; max 50 |
|
|
467
|
-
| `station` | string | no | — | min length 1 |
|
|
467
|
+
| `station` | string | no | — | min length 1; max length 120 |
|
|
468
468
|
|
|
469
469
|
- **`eva_no`** — The station's EVA number (6–8 digits, e.g. 8000207 for Köln Hbf), when a previous result — a departure board, for instance — already gave you one. It skips the name lookup and is exact.
|
|
470
470
|
- **`facility`** — Which equipment to report: "elevator" for lifts only, "escalator" for escalators only, "any" for both (default). Pass a value only when the person named the equipment itself ("Aufzug", "Rolltreppe", "lift", "escalator"): a question about a wheelchair, a pram, heavy luggage or step-free access keeps the default — an escalator carries a suitcase too, and a filter there hides half of what the traveller needs. Filtering does not change how a broken one is reported, only which ones are listed.
|
|
@@ -487,7 +487,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
487
487
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
488
488
|
| `until` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
489
489
|
|
|
490
|
-
- **`key`** — The thing being watched, in the vocabulary of `kind`: a road number, a stop
|
|
490
|
+
- **`key`** — The thing being watched, in the vocabulary of `kind`: a road number, a stop DHID, an AGS prefix, a place name, a DWD warncell, a charging site id. For `road` and `place` it is the person's own words — "A8", "B27", "Fulda" — and needs no lookup. For `station`, `region`, `weather` and `charger` it is an identifier the matching read tool returned — look it up first: `station` = one of `stop.stopIds` from get_departures ("de:14612:28"); an EVA number from get_train_departures ("8000207") is NOT a stop id and is refused, as is any id no known stop carries; `region` from check_transit_disruption, `weather` from check_weather_warnings, `charger` from find_charging_station — a key nothing matches there produces a watch that is simply never triggered.
|
|
491
491
|
- **`kind`** — What kind of thing to watch. `road` = one motorway or federal road (key: "A8", "B27") — reports a closure or restriction appearing or clearing; `station` = one public-transport stop by its DHID (key: "de:14612:28") — reports departures running late past the threshold; `region` = a city or district by AGS prefix (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; `weather` = a DWD warncell (key: "105315000") — reports an official warning coming into force; `charger` = one charging site (key: the site id from find_charging_station) — reports a point turning free.
|
|
492
492
|
- **`condition`** — Optional threshold. Each key belongs to ONE kind and a key that does not belong to the chosen kind is refused by name; leave it out to use that kind's default.
|
|
493
493
|
- `delay_min` (integer, min 1; max 600) — station: minutes of delay that count as a disruption (default 10).
|
|
@@ -510,7 +510,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
510
510
|
| parameter | type | required | default | constraints |
|
|
511
511
|
| --- | --- | --- | --- | --- |
|
|
512
512
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
513
|
-
| `uri` | string | no | — |
|
|
513
|
+
| `uri` | string | no | — | max length 64 |
|
|
514
514
|
| `watch_id` | integer | no | — | min 1; max 9007199254740991 |
|
|
515
515
|
|
|
516
516
|
- **`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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is 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.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,133 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.7.3] - 2026-10-05
|
|
9
|
+
|
|
10
|
+
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
11
|
+
relays to. The running server reports 1.7.3 while the registry's latest is 1.7.0, so
|
|
12
|
+
this release moves the package to the server's number and carries whatever had been
|
|
13
|
+
waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
|
|
14
|
+
reference was re-captured from the running server, and the probe reported the surface
|
|
15
|
+
**CHANGED** — the automation knows what moved, not what it means:
|
|
16
|
+
|
|
17
|
+
- tools: check_autobahn_traffic differs between the server and the snapshot
|
|
18
|
+
- tools: find_cheapest_fuel differs between the server and the snapshot
|
|
19
|
+
- tools: find_fuel_station differs between the server and the snapshot
|
|
20
|
+
- tools: find_parking differs between the server and the snapshot
|
|
21
|
+
- tools: check_road_status differs between the server and the snapshot
|
|
22
|
+
- tools: find_charging_station differs between the server and the snapshot
|
|
23
|
+
- tools: find_place differs between the server and the snapshot
|
|
24
|
+
- tools: find_poi differs between the server and the snapshot
|
|
25
|
+
- tools: find_address differs between the server and the snapshot
|
|
26
|
+
- tools: find_nearby differs between the server and the snapshot
|
|
27
|
+
- tools: check_transit_disruption differs between the server and the snapshot
|
|
28
|
+
- tools: check_weather_warnings differs between the server and the snapshot
|
|
29
|
+
- tools: get_train_departures differs between the server and the snapshot
|
|
30
|
+
- tools: get_departures differs between the server and the snapshot
|
|
31
|
+
- tools: check_station_facilities differs between the server and the snapshot
|
|
32
|
+
- tools: watch_situation differs between the server and the snapshot
|
|
33
|
+
- tools: stop_watch differs between the server and the snapshot
|
|
34
|
+
|
|
35
|
+
**Every free-text tool argument now has a length cap.** Sixteen of the seventeen differences
|
|
36
|
+
add a `maxLength` to string arguments that had none, and for fifteen of those tools it is
|
|
37
|
+
the only change: the place-like inputs — `place`, `region`, `station`, `stop`, `near`,
|
|
38
|
+
`in`, a POI `name`, a station `name`, a `find_place` query — stop at 120 characters,
|
|
39
|
+
`find_address`'s `query` at 160, a fuel `brand` at 60, `find_parking`'s `road` at 16, a
|
|
40
|
+
`get_departures` `stop_id` and a `stop_watch` `uri` at 64, and the
|
|
41
|
+
`check_autobahn_traffic` pagination `cursor` at 256. The minimum lengths, enums and
|
|
42
|
+
descriptions of those arguments are unchanged. A value longer than its cap no longer
|
|
43
|
+
matches the tool's input schema, so a client that validates arguments against the schema
|
|
44
|
+
can tell before it sends the call.
|
|
45
|
+
|
|
46
|
+
**`find_parking` returns share-alike sources as separate lists.** Its description now
|
|
47
|
+
says "ODbL and CC BY-SA sources are separate lists (up to three)", and the 10-site limit
|
|
48
|
+
is now per list. It also shortens the rest: "where published, free spaces now and the
|
|
49
|
+
reading's age"; a missing free count reads "no published count, not full"; the fuel and
|
|
50
|
+
EV redirects move into parentheses; and "stop, rest" is dropped from the when-to-use
|
|
51
|
+
examples. The
|
|
52
|
+
licences behind the two extra lists are what SOURCES now names (below).
|
|
53
|
+
|
|
54
|
+
**`watch_situation` says exactly which key a station watch takes.** A `station` key is a
|
|
55
|
+
stop DHID — one of `stop.stopIds` from `get_departures`, e.g. "de:14612:28". An EVA
|
|
56
|
+
number from `get_train_departures` ("8000207") is not a stop id and is refused, as is an
|
|
57
|
+
id no known stop carries. The other kinds read as before: `region` from
|
|
58
|
+
`check_transit_disruption`, `weather` from `check_weather_warnings`, `charger` from
|
|
59
|
+
`find_charging_station`.
|
|
60
|
+
|
|
61
|
+
No tool, prompt or resource was added or removed, and no output shape in the snapshot
|
|
62
|
+
moved. This block describes what the catalogue shows; a change in how the server
|
|
63
|
+
answers that leaves the published schemas and descriptions alone cannot be read off a
|
|
64
|
+
snapshot and is not claimed here.
|
|
65
|
+
|
|
66
|
+
### Added
|
|
67
|
+
|
|
68
|
+
- **A pure mirror releases itself.** When the `Version sync` proposal only mirrors
|
|
69
|
+
the server (surface unchanged, every offline gate passed, leak sweep clean), the
|
|
70
|
+
workflow now waits for the pull request's required checks (CI and SonarCloud, at
|
|
71
|
+
most 30 minutes), merges it with a merge commit, tags `vX.Y.Z` on the merge
|
|
72
|
+
commit, dispatches the `npm` workflow on the tag, and after npm succeeds
|
|
73
|
+
dispatches `Smithery` and `Release page`. The dispatches are needed because a tag
|
|
74
|
+
pushed with `GITHUB_TOKEN` starts no workflow. A red or still-pending check
|
|
75
|
+
merges nothing and leaves the pull request for a person; a changed surface is
|
|
76
|
+
still a draft for a person, as before. The decisions live in
|
|
77
|
+
`scripts/auto-release.mjs`, and its offline self-test runs in CI. Each job asks
|
|
78
|
+
only for the permissions it uses, and the workflow grants nothing at the top level.
|
|
79
|
+
Required checks are matched by name and reporting app. A release that stopped
|
|
80
|
+
halfway (tagged but not on npm, or merged by the workflow but not tagged) turns
|
|
81
|
+
the next hourly run red with its remedy, instead of reading as "awaiting tag";
|
|
82
|
+
CONTRIBUTING describes each recovery.
|
|
83
|
+
- **The catalogue probe treats the server's instructions, capabilities and protocol
|
|
84
|
+
version as surface.** All three ship in API.md, so a change to any of them is now
|
|
85
|
+
reported WRONG, not DATED. The proposer reads DATED positively: exit 0, or exit 1
|
|
86
|
+
with the DATED report and not the WRONG one. Any other report is a new
|
|
87
|
+
`unclassified` verdict, which opens a draft and never takes the automatic path.
|
|
88
|
+
- **Release pages are written from the CHANGELOG.** A new `Release page` workflow
|
|
89
|
+
runs after the tag's npm run succeeds, verifies again that npm serves the version,
|
|
90
|
+
and creates the GitHub release page: the body is the tag's `## [X.Y.Z]` block, the
|
|
91
|
+
title is `viafrei vX.Y.Z — ` plus the block's first bold lead other than the
|
|
92
|
+
Version sync proposer's "Mirrors the server" (which is used only when it is the
|
|
93
|
+
sole lead), and it is marked
|
|
94
|
+
Latest only when the tag is the highest version. A page that already exists is
|
|
95
|
+
left unchanged; a missing or empty block fails the run and names the tag. The one
|
|
96
|
+
permission it holds is `contents: write`, on that job only. The rules live in
|
|
97
|
+
`scripts/release-notes.mjs`, whose offline self-test runs in CI; CONTRIBUTING
|
|
98
|
+
describes the flow.
|
|
99
|
+
|
|
100
|
+
### Changed
|
|
101
|
+
|
|
102
|
+
- **SOURCES lists the parking sources `find_parking` now answers from.** Six rows: Köln
|
|
103
|
+
car-park occupancy (DL-DE/Zero-2.0), NRW car parks (dl-de/by-2-0), P+R NRW (**CC
|
|
104
|
+
BY-SA**), Christophorus Parking (dl-de/by-2-0), Bosch (CC BY 4.0) and Trucklounge
|
|
105
|
+
Ecopark (**ODbL 1.0**), with their attribution lines as the server's register gives
|
|
106
|
+
them. Five are `live`, each named by a public answer on 2026-10-05; Bosch is `read`,
|
|
107
|
+
because no answer that day named it. A new section near the top says what the two
|
|
108
|
+
share-alike ones mean for the reader, and the page now names server 1.7.3.
|
|
109
|
+
- **Version sync runs every hour instead of every six,** at minute 30, so it never
|
|
110
|
+
reads the server in the same minute as `Freshness`. Each run is still one
|
|
111
|
+
`initialize` and the four list calls, with no tool call.
|
|
112
|
+
- **The npm workflow is named `npm`, and it verifies its own publish.** "Publish" no
|
|
113
|
+
longer says where, now that the `Smithery` workflow publishes too; the file stays
|
|
114
|
+
`publish.yml`, which npm's trusted publisher is configured against. After `npm
|
|
115
|
+
publish`, `scripts/verify-published.mjs` reads the registry past both caches until
|
|
116
|
+
the version is served, then asserts `latest`, provenance, `repository.url` and the
|
|
117
|
+
tarball, so a release that did not land fails the run and Smithery does not start.
|
|
118
|
+
Its offline self-test runs in CI.
|
|
119
|
+
- **The Smithery workflow verifies the public listing.** After the release reaches
|
|
120
|
+
`SUCCESS`, `scripts/verify-smithery.mjs` reads the public registry entry (no key)
|
|
121
|
+
until it lists exactly the tools, with their descriptions, the prompts and the
|
|
122
|
+
resources of `catalogue.json`. That file is read from a checkout of the default
|
|
123
|
+
branch, never the commit the triggering run names (a `workflow_run` job does not
|
|
124
|
+
execute code from a ref it is handed), and the run refuses unless its
|
|
125
|
+
`serverInfo.version` is the release's. Its offline self-test runs in CI.
|
|
126
|
+
- **The Smithery workflow sets the listing's repository link** to the repository it
|
|
127
|
+
runs in (and the homepage to viafrei.de) on every release. A publish re-scans the
|
|
128
|
+
server but does not carry these, and the team listing had none after the move.
|
|
129
|
+
- **SonarCloud analyses the shipped code only.** `.sonarcloud.properties` scopes the
|
|
130
|
+
analysis to `src/`, the code compiled into the published package; the CI tooling,
|
|
131
|
+
tests and workflows are judged by their self-tests and review.
|
|
132
|
+
- **`verify-published` HEADs a tarball only on the npm registry**, never on a host
|
|
133
|
+
the version document names.
|
|
134
|
+
|
|
8
135
|
## [1.7.0] - 2026-10-04
|
|
9
136
|
|
|
10
137
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -1806,6 +1933,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
1806
1933
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
1807
1934
|
the check red on `main` for everybody, for something no contributor did.
|
|
1808
1935
|
|
|
1936
|
+
[1.7.3]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.3
|
|
1809
1937
|
[1.7.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.0
|
|
1810
1938
|
[1.6.2]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.6.2
|
|
1811
1939
|
[1.5.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.10
|
package/README.md
CHANGED
|
@@ -254,7 +254,7 @@ Restart the client and ask one of the questions above.
|
|
|
254
254
|
|
|
255
255
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
256
256
|
|
|
257
|
-
**20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.7.
|
|
257
|
+
**20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.7.3, snapshot of 2026-10-04. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
258
258
|
|
|
259
259
|
#### 🚗 On the road
|
|
260
260
|
|
|
@@ -263,7 +263,7 @@ Restart the client and ask one of the questions above.
|
|
|
263
263
|
| [`check_autobahn_traffic`](API.md#check_autobahn_traffic--autobahn-traffic) — Autobahn traffic | Returns jams, slow traffic, closures and roadworks in force this minute on up to 5 German motorways, with delay and speed. |
|
|
264
264
|
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Returns whether one German motorway or federal road is open, closed or restricted, now and in the coming days. |
|
|
265
265
|
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns the roadworks PLANNED on one German motorway inside a date window: the section and direction as published, what is restricted, and the start and end. |
|
|
266
|
-
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and park-and-ride sites, with total spaces and, where published,
|
|
266
|
+
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and park-and-ride sites, with total spaces and, where published, free spaces now and the reading's age. |
|
|
267
267
|
|
|
268
268
|
#### 🚆 Public transport
|
|
269
269
|
|
package/SOURCES.md
CHANGED
|
@@ -125,13 +125,43 @@ database and this sentence named only the addresses until 2026-09-27. An issue o
|
|
|
125
125
|
this repository reaches us, and the server's own register names the contact route
|
|
126
126
|
as well.
|
|
127
127
|
|
|
128
|
+
### And two parking sources that are share-alike
|
|
129
|
+
|
|
130
|
+
`find_parking` answers from more publishers than it did, and two of them are
|
|
131
|
+
share-alike (the full list is in the catalogue below):
|
|
132
|
+
|
|
133
|
+
- **P+R NRW** (NRW.Mobidrom, the bundled Park+Ride data for North
|
|
134
|
+
Rhine-Westphalia) is **CC BY-SA**, with no version stated — the same
|
|
135
|
+
share-alike reasoning as the DELFI realtime feed above applies;
|
|
136
|
+
- **Trucklounge Ecopark** (ENMO GmbH & Co.KG, lorry parking) is **ODbL 1.0** — a
|
|
137
|
+
second share-alike *database*, separate from OpenStreetMap and never joined to
|
|
138
|
+
it or to any other source.
|
|
139
|
+
|
|
140
|
+
The server keeps both apart from everything else rather than mixing them into one
|
|
141
|
+
list: the tool's own description says "ODbL and CC BY-SA sources are separate
|
|
142
|
+
lists (up to three)". Measured on 2026-10-05, a park-and-ride question for
|
|
143
|
+
Düsseldorf came back with the P+R NRW sites in a list of their own, each row
|
|
144
|
+
carrying `"license": "CC BY-SA"` and its own attribution line, and a lorry-parking
|
|
145
|
+
question near Emstek returned the Trucklounge site in a separate ODbL list. So
|
|
146
|
+
the test is the same as for OpenStreetMap: **read `_meta.sources` and the
|
|
147
|
+
attribution line on the answer you got** — `mobilithek_park_nrw_pr` and
|
|
148
|
+
`mobilithek_park_trucklounge` are the two ids to look for. If you keep those rows,
|
|
149
|
+
keep them apart too, and carry their licence with them.
|
|
150
|
+
|
|
151
|
+
For the ODbL database the server makes the same § 4.6 offer as for the OSM
|
|
152
|
+
tables, stated in `viafrei://attribution`: its complete contents and our
|
|
153
|
+
alterations, under ODbL 1.0, free of charge on request to the contact address in
|
|
154
|
+
the Impressum on viafrei.de. The same request also gets the P+R NRW data under
|
|
155
|
+
CC BY-SA — not an ODbL duty, the register says, but the same channel.
|
|
156
|
+
|
|
128
157
|
---
|
|
129
158
|
|
|
130
159
|
## The catalogue
|
|
131
160
|
|
|
132
161
|
**Status is not a promise, it is a measurement.** Every "live" below **except the
|
|
133
|
-
one labelled `not re-measured
|
|
134
|
-
**2026-09-27** and reading which source
|
|
162
|
+
one labelled `not re-measured` and the six parking rows dated 2026-10-05** was
|
|
163
|
+
checked by calling the public endpoint on **2026-09-27** and reading which source
|
|
164
|
+
the answer named. A source can be licensed, cleared and loaded and still not answer
|
|
135
165
|
a question today; where that is so, this page says it.
|
|
136
166
|
|
|
137
167
|
The measurement was taken **on 2026-09-27**, when the server exposed sixteen
|
|
@@ -143,7 +173,7 @@ is deliberately not re-measured, and the count says so rather than absorbing it:
|
|
|
143
173
|
status this page cannot stand behind is worse than an honest gap.
|
|
144
174
|
|
|
145
175
|
**The server has grown since that measurement, and this page has not re-run it.**
|
|
146
|
-
As of the capture shipped alongside this page (2026-10-04, server 1.7.
|
|
176
|
+
As of the capture shipped alongside this page (2026-10-04, server 1.7.3)
|
|
147
177
|
it exposes twenty tools, eighteen of them read-only — the same twenty as on
|
|
148
178
|
2026-10-02. Between that measurement and the 2026-10-02 capture it
|
|
149
179
|
gained two tools, and both matter here. One is a SECOND fuel tool,
|
|
@@ -202,6 +232,12 @@ status somebody could still be relying on.
|
|
|
202
232
|
| Station car parks (DB BahnPark) | Deutsche Bahn AG (DB API Marketplace) | Car parks at railway stations, with their operator and access details | continuous | **dl-de/by-2-0** | read |
|
|
203
233
|
| Administrative units and place names | Bundesamt für Kartographie und Geodäsie (BKG), product GN250 | Länder, Regierungsbezirke, Kreise, Gemeinden with their official keys and names | yearly release | **dl-de/by-2-0** | live |
|
|
204
234
|
| Police traffic events | Landesbetrieb Straßenbau NRW (VIZ.NRW), via the national access point | Police traffic reports, Germany-wide | continuous | **Datenlizenz Deutschland – Zero – 2.0** | in the service — see below |
|
|
235
|
+
| Car park occupancy, Köln | Stadt Köln, via the national access point | Free spaces in the city's car parks | not read for this page | **Datenlizenz Deutschland – Zero – 2.0** | live — measured 2026-10-05, see below |
|
|
236
|
+
| Car parks NRW | NRW.Mobidrom, via the national access point | Car parks in North Rhine-Westphalia | not read for this page | **dl-de/by-2-0** | live — measured 2026-10-05 |
|
|
237
|
+
| Park and ride NRW | NRW.Mobidrom, via the national access point | Bundled P+R sites in North Rhine-Westphalia | not read for this page | **CC BY-SA (version unstated)** | live — measured 2026-10-05, a separate list |
|
|
238
|
+
| Lorry parking, Christophorus Parking | Florence Knuellwald GmbH, via the national access point | The operator's lorry park, with occupancy | not read for this page | **dl-de/by-2-0** | live — measured 2026-10-05 |
|
|
239
|
+
| Lorry parking, Bosch | Bosch Service Solutions, via the national access point | The operator's lorry parks, with occupancy | not read for this page | CC BY 4.0 | read — no answer named it in the 2026-10-05 calls, see below |
|
|
240
|
+
| Lorry parking, Trucklounge Ecopark | ENMO GmbH & Co.KG, via the national access point | The operator's lorry park | not read for this page | **ODbL 1.0** | live — measured 2026-10-05, a separate list |
|
|
205
241
|
|
|
206
242
|
Two of those rows need saying out loud rather than in a cell, because a cell
|
|
207
243
|
cannot carry a reason — fuel takes two bullets, because the coverage limit and
|
|
@@ -228,6 +264,20 @@ the decision not to re-measure are different facts.
|
|
|
228
264
|
attribution line with no release at all. Do not design around it yet — and
|
|
229
265
|
read `_meta.sources`, not this page, on the day you do.
|
|
230
266
|
|
|
267
|
+
**The six parking rows were added on 2026-10-05, for server 1.7.3**, whose
|
|
268
|
+
`find_parking` description first said that ODbL and CC BY-SA sources come back
|
|
269
|
+
as separate lists. They were measured the same way as the rest, by asking the
|
|
270
|
+
public endpoint and reading `_meta.sources`, and only `find_parking` was called:
|
|
271
|
+
car parks in Köln named the Köln occupancy feed and the NRW car parks, park and
|
|
272
|
+
ride in Düsseldorf named P+R NRW, and lorry parking near Knüllwald and near Emstek
|
|
273
|
+
named Christophorus Parking (master data and occupancy) and Trucklounge. **Bosch
|
|
274
|
+
is `read`, not `live`**: the server's register lists both its lorry-park master
|
|
275
|
+
data and its occupancy feed, and none of the thirteen lorry-parking questions
|
|
276
|
+
asked that day (ten near towns, three along a motorway by number) came back naming
|
|
277
|
+
it. That is a statement about those questions, not about whether the data
|
|
278
|
+
is loaded. The publication rhythm of these six was not read for this page and the
|
|
279
|
+
column says so rather than guessing.
|
|
280
|
+
|
|
231
281
|
**What changed on 2026-09-27, stated plainly because this page said the
|
|
232
282
|
opposite until today.** Address lookup, lift and escalator status, and
|
|
233
283
|
public-transport realtime were all listed as not answering. All three now
|
|
@@ -662,6 +712,33 @@ DL-DE/Zero-2.0 attaches **no** condition at all: "Jede Nutzung ist ohne
|
|
|
662
712
|
Einschränkungen oder Bedingungen zulässig." We name the publisher anyway, for
|
|
663
713
|
the same reason as the CC0 feeds.
|
|
664
714
|
|
|
715
|
+
### Parking — Köln, NRW and three lorry-park operators · four licences
|
|
716
|
+
|
|
717
|
+
All of them arrive through the national access point, and the licences are **not
|
|
718
|
+
uniform**, so they are listed one by one, as the server's register gives them:
|
|
719
|
+
|
|
720
|
+
```
|
|
721
|
+
Parkhaus-Belegung: Stadt Köln via Mobilithek, Datenlizenz Deutschland – Zero – Version 2.0
|
|
722
|
+
Parkhäuser NRW: NRW.Mobidrom via Mobilithek, Datenlizenz Deutschland – Namensnennung – Version 2.0 (www.govdata.de/dl-de/by-2-0), Daten verändert
|
|
723
|
+
P+R NRW: NRW.Mobidrom via Mobilithek, Datensatz „Gebündelte Daten Park+Ride NRW“, CC BY-SA, bearbeitet
|
|
724
|
+
Lkw-Parken: Florence Knuellwald GmbH (Christophorus Parking) via Mobilithek, Datenlizenz Deutschland – Namensnennung – Version 2.0 (www.govdata.de/dl-de/by-2-0), Daten verändert
|
|
725
|
+
Lkw-Parken (Belegung): Florence Knuellwald GmbH (Christophorus Parking) via Mobilithek, Datenlizenz Deutschland – Namensnennung – Version 2.0 (www.govdata.de/dl-de/by-2-0), Daten verändert
|
|
726
|
+
Lkw-Parken: Bosch Service Solutions via Mobilithek, CC BY 4.0, bearbeitet
|
|
727
|
+
Lkw-Parken (Belegung): Bosch Service Solutions via Mobilithek, CC BY 4.0, bearbeitet
|
|
728
|
+
Lkw-Parken: ENMO GmbH & Co.KG (Trucklounge Ecopark) via Mobilithek — enthält Daten aus „Trucklounge Ecopark“, Open Database License 1.0 (opendatacommons.org/licenses/odbl/1-0/), bearbeitet
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
- **Köln** is DL-DE/Zero-2.0, which attaches no condition; it is named anyway.
|
|
732
|
+
- **NRW car parks and Christophorus Parking** are dl-de/by-2-0, which needs the
|
|
733
|
+
source note and a note that the data was changed — both are in the line.
|
|
734
|
+
- **Bosch** is CC BY 4.0, with the `bearbeitet` the other CC BY sources carry.
|
|
735
|
+
- **P+R NRW** is CC BY-SA with no version stated, and **Trucklounge Ecopark** is
|
|
736
|
+
ODbL 1.0. Both are share-alike, both come back in a list of their own, and what
|
|
737
|
+
that means for you is [near the top of this page](#and-two-parking-sources-that-are-share-alike).
|
|
738
|
+
|
|
739
|
+
A missing "free now" in an answer means the operator publishes no count for that
|
|
740
|
+
site, not that it is full — the tool's own description says so.
|
|
741
|
+
|
|
665
742
|
### German road rules — our own text
|
|
666
743
|
|
|
667
744
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "German traffic, rail, parking, charging, fuel, address and weather data in your AI assistant - MCP, no API key. stdio bridge to the hosted ViaFrei MCP server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -90,6 +90,10 @@
|
|
|
90
90
|
"test:freshness": "node scripts/probe-freshness.test.mjs",
|
|
91
91
|
"propose:release": "node scripts/propose-release.mjs",
|
|
92
92
|
"test:propose": "node scripts/propose-release.test.mjs",
|
|
93
|
+
"test:auto-release": "node scripts/auto-release.test.mjs",
|
|
94
|
+
"test:verify": "node scripts/verify-published.test.mjs",
|
|
95
|
+
"test:verify-smithery": "node scripts/verify-smithery.test.mjs",
|
|
96
|
+
"test:release-notes": "node scripts/release-notes.test.mjs",
|
|
93
97
|
"rules:show": "node scripts/show-rules.mjs"
|
|
94
98
|
},
|
|
95
99
|
"dependencies": {
|