viafrei 1.9.13 → 1.9.17
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 +37 -35
- package/CHANGELOG.md +87 -0
- package/README.md +4 -4
- package/package.json +1 -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.9.
|
|
20
|
+
| Server | `viafrei` 1.9.17 |
|
|
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 |
|
|
@@ -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. 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 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.
|
|
62
62
|
|
|
63
63
|
## Tools
|
|
64
64
|
|
|
@@ -79,7 +79,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
79
79
|
- **`roads`** — Autobahn numbers, e.g. ["A9"] or ["A8", "A99", "A9"] (1–5 per call). Name every motorway on the route so the whole drive is briefed in one call — "A9", "A 9" and "a9" are the same road. Results are grouped per road, in the order you list them.
|
|
80
80
|
- **`cursor`** — Pagination cursor from a previous result's _meta.nextCursor. Omit for the first page.
|
|
81
81
|
- **`kinds`** — Which event kinds to return: warning = live traffic (jams, slow traffic, hazards), closure = full closures, roadworks = construction sites. Set it when the SUBJECT of the question is one of those categories by name: "Baustellen auf der A8?" is ["roadworks"], "welche Sperrungen sind in diesem Moment gemeldet?" is ["closure"]. Omit it when the question is how the road IS — Stau, frei, a delay, "wie sieht es aus", "everything"; the German "Stau?" is the idiom for the whole picture, and a filter nobody asked for hides the closure on the same stretch. Whether a closure question is this tool's at all is decided by two things, and the noun (Sperrung, Vollsperrung, closure) is neither. FIRST THE CLOCK: only a question about this minute (jetzt, gerade, in diesem Moment, right now, at this very minute) can be this tool's — with no time word at all, or for a later window (tonight, heute Abend, am Wochenende, the coming days), it is check_road_status. SECOND, WHAT IS ASKED, which the clock cannot see: what is REPORTED or in force on a named motorway is this tool ("which closures are in force on the A100 at this very minute?"), while whether the road is OPEN or passable is check_road_status AT ANY CLOCK — "ist die A8 offen", "ist die A3 in diesem Moment gesperrt?", "komme ich da durch?" — and so is a closure asked around a town instead of on a motorway number. Baustellen with a date or the word geplant are find_roadworks_ahead. Default: all three.
|
|
82
|
-
- **`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
|
|
82
|
+
- **`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.
|
|
83
83
|
- **`limit`** — Maximum events to return across all roads (1–50, default 10). Jams come first, then closures, other reports, then roadworks; within each the roads take turns in the order you listed them, so every road gets its share of the page. Only what is in force now is listed — closures announced for later are counted apart in the headline.
|
|
84
84
|
|
|
85
85
|
### `find_cheapest_fuel` — Cheapest fuel nearby
|
|
@@ -99,7 +99,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
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.
|
|
102
|
-
- **`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
|
|
102
|
+
- **`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.
|
|
103
103
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
104
104
|
- **`limit`** — How many stations to return, cheapest first (1–10, default 5). The provider's terms cap it at 10.
|
|
105
105
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
@@ -130,7 +130,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
130
130
|
|
|
131
131
|
- **`brand`** — Only stations of this brand, matched case-insensitively anywhere in the brand field: "ARAL", "Shell", "TotalEnergies", "JET". Use it when the person named a chain ("die ARAL an der B1"). Free stations often carry no brand at all and are then not matched by any brand.
|
|
132
132
|
- **`fuel`** — Only stations with a current price for this grade: "e5" (Super E5), "e10" (Super E10) or "diesel". Omit to get every station near the place whatever it sells — the answer then lists all the grades it holds a price for. Required when sort is "price", because a price ordering needs a grade.
|
|
133
|
-
- **`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
|
|
133
|
+
- **`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.
|
|
134
134
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
135
135
|
- **`limit`** — How many stations to return (1–10, default 5).
|
|
136
136
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
@@ -161,20 +161,20 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
161
161
|
| `road` | string | no | — | max length 16 |
|
|
162
162
|
|
|
163
163
|
- **`kind`** — Which kind of parking: "car_park" = public car park (Parkhaus/Parkplatz), "park_and_ride" = P+R beside a station, "truck" = lorry parking, "any" = all of them. Default "any". Rest areas are NOT a kind we can filter: no source we hold classifies them, so for "Rastanlage"/"Raststätte"/"rest area" leave kind out ("truck" when lorry spaces were asked for); "rest_area" is still accepted and answered as "any", with a sentence saying why. Pass a kind only when the person named one — 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 these: leave the argument out rather than filtering a tourist into lorry bays.
|
|
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
|
|
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: 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.
|
|
165
165
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
166
166
|
- **`limit`** — How many facilities to return, nearest first (1–10, default 5).
|
|
167
167
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
168
168
|
- **`only_with_free_spaces`** — Set true only when the person asks whether spaces are free right now. It keeps just the facilities whose operator publishes live occupancy AND currently reports a space, and the result says how many were dropped for publishing nothing — most German parking publishes no occupancy at all, so true usually narrows the answer to very little. Default false.
|
|
169
169
|
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
170
170
|
- **`radius_km`** — Search radius around place or lat+lon in kilometres (1–25, default 10). Ignored when you pass road, which covers the whole motorway. Start small in a city and widen if the answer is empty.
|
|
171
|
-
- **`road`** — A single motorway number to list parking along, e.g. "A3" ("A 3" and "a3" are the same road). Use this when the person named a road and no town — "Rastplatz auf der A7". Give road OR place OR lat+lon, never two of them: a road is a 900 km line and a place is a point, so the two answer different questions. When the question names BOTH — "Parkhaus in Köln an der A3" — use the place: a person parks at a point, and the radius already covers the motorway beside it.
|
|
171
|
+
- **`road`** — A single motorway number to list parking along, e.g. "A3" ("A 3" and "a3" are the same road). Use this when the person named a road and no town — "Rastplatz auf der A7". Give road OR place OR lat+lon, never two of them: a road is a 900 km line and a place is a point, so the two answer different questions. When the question names BOTH — "Parkhaus in Köln an der A3" — use the place: a person parks at a point, and the radius already covers the motorway beside it. A road list is in name order and cannot follow a direction of travel: for "A4 Richtung Görlitz" ask with place for the destination or the next town on the way instead, which answers nearest first.
|
|
172
172
|
|
|
173
173
|
### `check_road_status` — Road status and closures
|
|
174
174
|
|
|
175
175
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
176
176
|
|
|
177
|
-
> Whether a motorway, B road or Land road (NI, SN, TH: pass the Land/town as place) is open, closed, restricted, now or
|
|
177
|
+
> Whether a motorway, B road or Land road (NI, SN, TH, BW: pass the Land/town as place) is open, closed, restricted, now or coming days; by place, jams and city/Land messages. Use when asked if a road is open/passable — "ist die A8 in diesem Moment gesperrt", "komme ich durch", at any clock, closures tonight/weekend — or Stau in a city: "Stau in Köln?". Do NOT use for jams/delays on a named motorway or multi-motorway route — check_autobahn_traffic; roadworks in a date window — find_roadworks_ahead; city street: not held, say so. One road/place per call, ≤ 14 days, ≤ 11 entries. Show attribution.
|
|
178
178
|
|
|
179
179
|
| parameter | type | required | default | constraints |
|
|
180
180
|
| --- | --- | --- | --- | --- |
|
|
@@ -187,7 +187,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
187
187
|
| `road` | string | no | — | pattern `^(?:[ABab] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
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, and so, by place, are the jams reported right now ("Stau in Köln?" needs no horizon).
|
|
190
|
-
- **`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
|
|
190
|
+
- **`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.
|
|
191
191
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
192
192
|
- **`limit`** — Maximum entries to return (1–11, default 10). By road, closures come first, then restrictions in force, then planned works; by place, nearest first.
|
|
193
193
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
@@ -198,20 +198,22 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
198
198
|
|
|
199
199
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
200
200
|
|
|
201
|
-
> Returns roadworks PLANNED on one
|
|
201
|
+
> Returns roadworks PLANNED on one motorway, one Bundes-/Landesstraße in NI, SN, TH or BW, or Hamburg city streets by place, in a date window: section, restriction, dates. Use when a date or window is named, it says geplant, or how long a site lasts ("Baustellen auf der A7 in den Sommerferien?"). ONE road/place per call. Do NOT use when more than one motorway is named, for the situation this minute, or for Baustellen with neither date nor geplant — all three are check_autobahn_traffic; whether a road is open — check_road_status. ≤ 92 days, max 20 sites. Show attribution.
|
|
202
202
|
|
|
203
203
|
| parameter | type | required | default | constraints |
|
|
204
204
|
| --- | --- | --- | --- | --- |
|
|
205
|
-
| `road` | string | **yes** | — | pattern `^(?:[AaBb] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
206
205
|
| `from` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
207
206
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
208
207
|
| `limit` | integer | no | `10` | min 1; max 20 |
|
|
208
|
+
| `place` | string | no | — | min length 2; max length 120 |
|
|
209
|
+
| `road` | string | no | — | pattern `^(?:[AaBb] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
209
210
|
| `to` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
210
211
|
|
|
211
|
-
- **`road`** — The road to look at, one per call: an Autobahn, e.g. "A7" or "A100", or a Bundesstraße, Landesstraße or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "B6", "L1025", "S296" — "A7", "A 7" and "a7" are the same road. B and L roads in other Länder, Kreisstraßen and city streets are not covered. Ask again for a second road.
|
|
212
212
|
- **`from`** — First day of the window, as YYYY-MM-DD in German local time. Omit for today. Resolve relative wording ("next Friday", "in den Sommerferien", "nächsten Monat") into real dates yourself, counted from today's date; this argument never takes words, and it never takes a fixed example date — the window a person means moves with the calendar.
|
|
213
|
-
- **`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
|
|
213
|
+
- **`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.
|
|
214
214
|
- **`limit`** — Maximum sites to return (1–20, default 10), ordered by planned start. Every returned site is in the structured result; the readable text prints the first 10 and says how many more of them are in the structured half. The answer always names how many sites the window holds in total, so a small limit never hides the size of the problem.
|
|
215
|
+
- **`place`** — A place in Hamburg — a district, street or address, e.g. "Hamburg-Altona", "Wilhelmsburg", "Köhlbrandbrücke" — for the city's own roadworks (Bauweiser) within 3 km of it. Outside Hamburg, city roadworks are not held and the answer says so. Give road OR place.
|
|
216
|
+
- **`road`** — The road to look at, one per call: an Autobahn, e.g. "A7" or "A100", or a Bundesstraße, Landesstraße or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "B6", "L1025", "S296" — "A7", "A 7" and "a7" are the same road. B and L roads in other Länder and Kreisstraßen are not covered. Ask again for a second road. Give road OR place.
|
|
215
217
|
- **`to`** — Last day of the window, inclusive, as YYYY-MM-DD. Omit for 7 days after `from`, which is the right window for "am I going to hit roadworks on this drive". The window may span at most 92 days. For "how long will this last" / "wie lange dauert die Baustelle noch", leave both dates out: the default 7 days already returns the site's planned end date. Only widen — 28 days is the sensible step — when the person asked about a period that long.
|
|
216
218
|
|
|
217
219
|
### `find_charging_station` — EV charging nearby
|
|
@@ -233,7 +235,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
233
235
|
| `radius_km` | number | no | `10` | min 1; max 25 |
|
|
234
236
|
|
|
235
237
|
- **`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.
|
|
236
|
-
- **`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
|
|
238
|
+
- **`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.
|
|
237
239
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
238
240
|
- **`limit`** — How many lines to return, nearest first (1–10, default 5). Records of one place within 50 m that read alike are folded into one line that says how many units it holds; structuredContent.sites lists every record of the lines shown, so it can be longer than limit.
|
|
239
241
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
@@ -261,7 +263,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
261
263
|
|
|
262
264
|
- **`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.
|
|
263
265
|
- **`kind`** — Narrow to one kind: "city", "district" (Kreis), "admin" (Land or Regierungsbezirk), "station", "stop", "motorway" or "junction". Omit unless the person was specific.
|
|
264
|
-
- **`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
|
|
266
|
+
- **`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.
|
|
265
267
|
- **`lat`** — Latitude to measure from, instead of `near`.
|
|
266
268
|
- **`limit`** — How many candidates to return, best match first (1–10, default 5).
|
|
267
269
|
- **`lon`** — Longitude to measure from, instead of `near`.
|
|
@@ -289,7 +291,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
289
291
|
- **`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. A kind word alone, German or English ("Apotheke", "pharmacy", "trade fair"), lists that kind nearest first. When the person names a company AND a type ("the Bosch office"), put the company here and the type in category. Never for fuel, charging or parking, even near a named company or landmark ("a charger by the Allianz Arena"): those have their own tools, asked with the place.
|
|
290
292
|
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant, town hall), "healthcare" (hospitals, clinics, doctors, pharmacies), "tourism" (hotels, attractions), "leisure", "industrial" (factories, plants), "historic" (castles, monuments, city gates), "natural" (mountain peaks) or "building". Set it whenever the person names the type ("Bosch office" → office, "Hotel Adler" → tourism); omit it when they name no type.
|
|
291
293
|
- **`in`** — A town to search in — "Dortmund", "Fulda". Strongly preferred: it is both far faster and far less ambiguous than a nationwide search. Use this OR near/lat+lon, not both.
|
|
292
|
-
- **`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
|
|
294
|
+
- **`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.
|
|
293
295
|
- **`lat`** — Latitude of the point to search around, when the caller already holds a coordinate.
|
|
294
296
|
- **`limit`** — How many to return, best match first (1–10, default 5).
|
|
295
297
|
- **`lon`** — Longitude of the point to search around.
|
|
@@ -309,7 +311,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
309
311
|
| `limit` | integer | no | `3` | min 1; max 5 |
|
|
310
312
|
|
|
311
313
|
- **`query`** — A street address, as a person writes one: street and house number, plus a town or postcode — "Bahnhofstraße 12, 36037 Fulda" or "Bahnhofstraße 12, Fulda". Both orders work. A street and number with neither a town nor a postcode cannot be placed (the same street name exists in about two thousand German towns) and is refused.
|
|
312
|
-
- **`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
|
|
314
|
+
- **`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.
|
|
313
315
|
- **`limit`** — How many results to return (1–5, default 3) — more than one means the same address carries more than one OpenStreetMap object.
|
|
314
316
|
|
|
315
317
|
### `describe_location` — Describe a coordinate
|
|
@@ -326,7 +328,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
326
328
|
|
|
327
329
|
- **`lat`** — Latitude of the point to describe (WGS84).
|
|
328
330
|
- **`lon`** — Longitude of the point to describe (WGS84).
|
|
329
|
-
- **`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
|
|
331
|
+
- **`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.
|
|
330
332
|
|
|
331
333
|
### `find_nearby` — What is nearby
|
|
332
334
|
|
|
@@ -344,7 +346,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
344
346
|
| `radius_km` | number | no | `5` | min 1; max 15 |
|
|
345
347
|
|
|
346
348
|
- **`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.
|
|
347
|
-
- **`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
|
|
349
|
+
- **`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.
|
|
348
350
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
349
351
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
350
352
|
- **`place`** — Where to look, as free text: a city ("München", "Munich"), a district or Kreis ("Kreis Fulda"), a Bundesland, a station or stop ("Hamburg Hbf"), a motorway junction ("AK Neufahrn"), or a street address with a house number ("Bahnhofstraße 12, 36037 Fulda"). A motorway number alone ("A7") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. Give either place OR lat+lon, never both.
|
|
@@ -366,7 +368,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
366
368
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
367
369
|
| `radius_km` | number | no | `1` | min 0.1; max 5 |
|
|
368
370
|
|
|
369
|
-
- **`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
|
|
371
|
+
- **`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.
|
|
370
372
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
371
373
|
- **`limit`** — How many stations to list, nearest first (1–20, default 8). Free-floating bikes are summarised, not listed one by one.
|
|
372
374
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
@@ -387,7 +389,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
387
389
|
| `topic` | string | no | — | one of `"lez"`, `"speed"`, `"winter"`, `"alcohol"`, `"toll"`, `"truck_ban"`, `"equipment"`, `"emergency"`, `"ev"` |
|
|
388
390
|
|
|
389
391
|
- **`city`** — City the question is about, e.g. "Stuttgart", "München", "Munich". Narrows "lez" to that city's zone and adds the per-city caveat for "ev". Other topics are nationwide. Omit when the question is not about one city.
|
|
390
|
-
- **`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
|
|
392
|
+
- **`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.
|
|
391
393
|
- **`topic`** — Which rule to answer. "lez" = low-emission zone and Feinstaubplakette, "speed" = speed limits including the Autobahn advisory 130, "winter" = winter-tyre duty, "alcohol" = alcohol and drugs, "toll" = car and lorry toll, "truck_ban" = Sunday and holiday lorry ban, "equipment" = what the law requires in the car, "emergency" = 112/110, rescue lane, breakdown, crash, "ev" = electric car (E-Kennzeichen, charging payment, plugs). Omit for a one-line overview of all nine.
|
|
392
394
|
|
|
393
395
|
### `check_transit_disruption` — Public-transport disruption in a region
|
|
@@ -404,17 +406,17 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
404
406
|
| `region` | string | no | — | min length 1; max length 120 |
|
|
405
407
|
| `window_min` | integer | no | `60` | min 5; max 120 |
|
|
406
408
|
|
|
407
|
-
- **`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
|
|
409
|
+
- **`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.
|
|
408
410
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use region.
|
|
409
411
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use region.
|
|
410
412
|
- **`region`** — The German region to report on, as free text: a Bundesland ("Bayern", "Bavaria", "Nordrhein-Westfalen"), a city ("Hamburg", "Köln"), a Kreis ("Landkreis Fulda") or one of the conurbations Ruhrgebiet, Rhein-Ruhr and Rhein-Main. A town inside a Kreis is reported as that Kreis and the answer says so, because the data is filed at Kreis level. Not a stop, not a street, not an address. Give either region OR lat+lon, never both.
|
|
411
413
|
- **`window_min`** — How many minutes back to look, 5–120 (default 60). The trend compares this window with the equally long one before it, so 60 means "the last hour against the hour before". Use a short window for "right now" and a long one for "has it been bad all morning".
|
|
412
414
|
|
|
413
|
-
### `check_weather_warnings` —
|
|
415
|
+
### `check_weather_warnings` — Weather warnings and road-surface forecast
|
|
414
416
|
|
|
415
417
|
**Read-only** — it changes nothing. Reaches a third-party source (open world). Idempotent: true. Destructive: false.
|
|
416
418
|
|
|
417
|
-
> Returns the official DWD weather warnings in force for a place
|
|
419
|
+
> Returns the official DWD weather warnings in force for a place — storm, snow, ice, heavy rain, thunderstorm, heat — with Warnstufe 1–4, area, validity and the official text unaltered. At a town or coordinate it adds the DWD road-surface forecast (Straßenwetter-Prognose: dry to black ice, road temperature) for the nearest road-weather stations. Use when asked about weather on a trip, safe driving, storm or snow warnings, or icy roads (Glätte, Glatteis). Do NOT use for a general forecast (not offered) or jams (check_autobahn_traffic). Show the attribution line.
|
|
418
420
|
|
|
419
421
|
| parameter | type | required | default | constraints |
|
|
420
422
|
| --- | --- | --- | --- | --- |
|
|
@@ -424,7 +426,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
424
426
|
| `min_level` | integer | no | `0` | min 0; max 4 |
|
|
425
427
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
426
428
|
|
|
427
|
-
- **`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
|
|
429
|
+
- **`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.
|
|
428
430
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
429
431
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
430
432
|
- **`min_level`** — Lowest official DWD level to report, 0–4 (default 0, i.e. everything). The DWD's own names: 1 = Wetterwarnung, 2 = Markante Wetterwarnung, 3 = Unwetterwarnung, 4 = Warnung vor extremem Unwetter; 0 = Vorabinformation Unwetter, an advance notice that is not yet a Warnstufe. Raise it ONLY when the question names a level or a Warnstufe in so many words ("ab Stufe 3", "level 3 or higher", "nur Stufe 4"). Unwetter, Unwetterwarnung, severe and storm are the ordinary way to ask about bad weather, not a filter: leave it at 0 there — a level the caller filtered away is a warning the person is never told about.
|
|
@@ -449,7 +451,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
449
451
|
- **`categories`** — Keep only these train types, when the person named one: "ICE", "IC" (also EC, ECE, Railjet, Nightjet), "RE" (also IRE), "RB" or "S" (S-Bahn). "next ICE to …" is ["ICE"], "Fernzug" is ["ICE", "IC"], "Regionalzug" is ["RE", "RB"]. The board then lists only those, so pair it with a longer duration_min. Omit it for "which trains leave". A replacement bus is never a train type.
|
|
450
452
|
- **`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.
|
|
451
453
|
- **`eva_no`** — The station's EVA number (6–8 digits, e.g. 8002549 for Hamburg Hbf), when a previous result gave you one. It skips the name lookup and is exact — use it to answer a follow-up about a station this tool has already named.
|
|
452
|
-
- **`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
|
|
454
|
+
- **`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.
|
|
453
455
|
- **`limit`** — How many departures to return, earliest first (1–15, default 10). More than 15 is refused — that is a board a person can read, not a dataset.
|
|
454
456
|
- **`station`** — The railway station, as the person says it: "Hamburg Hbf", "Köln Hbf", "Munich Central", "Frankfurt (Main) Hbf". Pass their words — English names and "central station" are understood. If the name fits several stations (a bare "Hauptbahnhof"), call anyway: the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.
|
|
455
457
|
- **`when`** — Start of the window as an ISO-8601 instant with an offset ("2026-09-20T18:30:00+02:00"). Leave it out for "now", which is what almost every question means. Times in the answer are Europe/Berlin whatever you pass.
|
|
@@ -471,7 +473,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
471
473
|
| `when` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
472
474
|
|
|
473
475
|
- **`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 look further ahead (the timetable reaches at least 48 h), 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.
|
|
474
|
-
- **`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
|
|
476
|
+
- **`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.
|
|
475
477
|
- **`limit`** — How many departures to return, earliest first (1–15, default 10). The result always says how many more were in the window.
|
|
476
478
|
- **`modes`** — Keep only these kinds of service: "bus", "tram", "subway" (U-Bahn), "rail" (every train, including S-Bahn and regional) or "ferry". Omit it unless the person named a kind — "nur Busse", "welche Tram". Several are allowed, which is what "die Busse und Bahnen vor dem Hbf" means. An S-Bahn is "rail": the feed does not always distinguish it, and the line name ("S 6") says which it is.
|
|
477
479
|
- **`stop`** — The stop, as the person says it: "Fulda, Bahnhof", "München, Marienplatz", "Köln, Hbf", "Hamburg, Rathausmarkt" (town first). Include the town when the person did — half the names in Germany exist in twenty towns, and a bare "Bahnhof" or "Hauptbahnhof" comes back as a list of candidates to choose from, so call it and let the result ask. Pass their words; do not guess an id. Give either stop OR the stop id, never both.
|
|
@@ -494,7 +496,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
494
496
|
|
|
495
497
|
- **`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.
|
|
496
498
|
- **`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.
|
|
497
|
-
- **`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
|
|
499
|
+
- **`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.
|
|
498
500
|
- **`limit`** — How many facilities to list (1–50, default 20). Out-of-service equipment is listed first and the counts in the summary always cover ALL of them, so a shorter list never hides a broken lift.
|
|
499
501
|
- **`station`** — The railway station — or Köln Stadtbahn stop — as the person says it: "Köln Hbf", "Hamburg Hbf", "Munich Central", "Neumarkt Köln". Pass their words — English names and "central station" are understood. If the name fits several stations the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.
|
|
500
502
|
|
|
@@ -502,7 +504,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
502
504
|
|
|
503
505
|
**Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
|
|
504
506
|
|
|
505
|
-
> Opens a watch so THIS conversation is told when something changes: a road reopening, a stop running late, a weather warning starting, a charge point turning free. Use when the person asks to be told later: "sag mir Bescheid, wenn die A8 wieder frei ist", "tell me when a
|
|
507
|
+
> Opens a watch so THIS conversation is told when something changes: a road reopening, a stop running late, a weather warning starting, a charge point turning free. Use when the person asks 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 (a road, place or stop); no read tool is needed first. Do NOT use to look something up now, nor for an e-mail, SMS or any alert outside this chat — we cannot send one; say so. Session-scoped. At most 10 watches, 24 h each. Results carry their attribution line.
|
|
506
508
|
|
|
507
509
|
| parameter | type | required | default | constraints |
|
|
508
510
|
| --- | --- | --- | --- | --- |
|
|
@@ -513,8 +515,8 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
513
515
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
514
516
|
| `until` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
515
517
|
|
|
516
|
-
- **`key`** — The thing
|
|
517
|
-
- **`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
|
|
518
|
+
- **`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`: an AGS prefix ("14612") from check_transit_disruption. A name that fits several places or stops gets a which-one list and opens no watch; call again with the chosen line.
|
|
519
|
+
- **`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 (key: its name, "Köln Hbf", or its DHID) — 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` = 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.
|
|
518
520
|
- **`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.
|
|
519
521
|
- `delay_min` (integer, min 1; max 600) — station: minutes of delay that count as a disruption (default 10).
|
|
520
522
|
- `late_share` (number, min 0.01; max 1) — region: share of observed trips running late that trips the watch (default 0.25).
|
|
@@ -524,14 +526,14 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
524
526
|
- `event` (string, one of `"reopen"`, `"any"`) — road: 'reopen' reports only a restriction clearing; 'any' reports both (default).
|
|
525
527
|
- `point_id` (string, min length 1; max length 200) — charger: one charge point of the site instead of any of them.
|
|
526
528
|
- **`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.
|
|
527
|
-
- **`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
|
|
529
|
+
- **`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.
|
|
528
530
|
- **`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.
|
|
529
531
|
|
|
530
532
|
### `stop_watch` — Stop a watch
|
|
531
533
|
|
|
532
534
|
**Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
|
|
533
535
|
|
|
534
|
-
> Ends a watch this conversation opened with watch_situation, so no further notifications arrive for it. Use when the person no longer needs to be told — "du musst mir nichts mehr zur A8 sagen", "stop watching that charger". No id at hand: pass kind ("
|
|
536
|
+
> Ends a watch this conversation opened with watch_situation, so no further notifications arrive for it. Use when the person no longer needs to be told — "du musst mir nichts mehr zur A8 sagen", "stop watching that charger". No id at hand: pass kind ("weather") and key in the person's words ("A8", "Bamberg", "Kiel"); one match is stopped, several are listed. Do NOT use to look a situation up (call check_road_status), to list what is running (read viafrei://watches), or to cancel anything outside this chat. Another session's watch is never found. Results carry their attribution line.
|
|
535
537
|
|
|
536
538
|
| parameter | type | required | default | constraints |
|
|
537
539
|
| --- | --- | --- | --- | --- |
|
|
@@ -541,9 +543,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
541
543
|
| `uri` | string | no | — | max length 64 |
|
|
542
544
|
| `watch_id` | integer | no | — | min 1; max 9007199254740991 |
|
|
543
545
|
|
|
544
|
-
- **`key`** — Instead of an id: the watched subject in the person's words, as
|
|
546
|
+
- **`key`** — Instead of an id: the watched subject in the person's words, as it was given to watch_situation — a road or place ("A8", "Bamberg"), and with `kind` a place for a weather or charger watch or a stop name for a station watch ("Kiel", "Köln Hbf"), which is resolved the way watch_situation resolved it. The id the watch carries works too. For a station, region, weather or charger watch a key that matches none of them falls back to `kind` alone. Matched against this session's open watches, case and spaces ignored. One match is stopped; several are listed and none is stopped.
|
|
545
547
|
- **`kind`** — Instead of an id: the kind of watch the person means, as watch_situation took it ("road", "station", "region", "place", "weather", "charger"). "Turn off the charging alert" is kind "charger" alone.
|
|
546
|
-
- **`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
|
|
548
|
+
- **`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.
|
|
547
549
|
- **`uri`** — The watch's resource uri, e.g. "viafrei://watch/12". Give either this or `watch_id`, not both.
|
|
548
550
|
- **`watch_id`** — The numeric id of the watch to stop, as `watch_situation` returned it (the 12 in viafrei://watch/12).
|
|
549
551
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,92 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.9.17] - 2026-10-11
|
|
9
|
+
|
|
10
|
+
**English answers, watches by name, and new roadworks, road-weather and parking data.**
|
|
11
|
+
The package now matches the server's 1.9.17 and covers the server releases 1.9.14 to
|
|
12
|
+
1.9.17. 1.9.14 to 1.9.16 were never published as
|
|
13
|
+
packages; their changes are described here. No tool, prompt or resource was added or
|
|
14
|
+
removed. `find_roadworks_ahead` gained a `place` argument, and `road` is no longer
|
|
15
|
+
required there. Every tool's `language` description and the server instructions were
|
|
16
|
+
reworded, and the descriptions of `check_road_status`, `find_roadworks_ahead`,
|
|
17
|
+
`check_weather_warnings`, `watch_situation`, `stop_watch` and `find_parking` changed.
|
|
18
|
+
The bridge itself gained one release workflow; its code is unchanged apart from its
|
|
19
|
+
version and the re-captured reference.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- **Hamburg city roadworks by place.** `find_roadworks_ahead` takes a new `place`
|
|
23
|
+
argument: a district, street or address in Hamburg ("Hamburg-Altona",
|
|
24
|
+
"Wilhelmsburg", "Köhlbrandbrücke") lists the city's own released roadworks
|
|
25
|
+
(Bauweiser) within 3 km of it, current or planned. Give `road` or `place`; `road` is
|
|
26
|
+
no longer required. Outside Hamburg, city roadworks are not held and the answer says
|
|
27
|
+
so. `check_road_status` by place lists them too, with up to two nearby Hamburg
|
|
28
|
+
traffic camera locations (locations only, never an image).
|
|
29
|
+
- **Roadworks in Baden-Württemberg.** `find_roadworks_ahead` and `check_road_status`
|
|
30
|
+
now include current and planned roadworks on Baden-Württemberg's Bundes- and
|
|
31
|
+
Landesstraßen, from MobiData BW. The `check_road_status` description lists BW beside
|
|
32
|
+
NI, SN and TH as a Land whose Land roads it answers when the Land or a town is
|
|
33
|
+
passed as `place`.
|
|
34
|
+
- **Signed motorway detours in Baden-Württemberg.** When a BW Autobahn closure matches a
|
|
35
|
+
published Bedarfsumleitung, `check_road_status` names the U-route, quoted as a note
|
|
36
|
+
on the signage and not as a route recommendation.
|
|
37
|
+
- **The DWD road-surface forecast.** At a town or coordinate, `check_weather_warnings`
|
|
38
|
+
adds the DWD Straßenwetter-Prognose for the nearest road-weather stations: the
|
|
39
|
+
forecast road condition, from dry to black ice, and the road temperature. It is
|
|
40
|
+
labelled as a model forecast, not a measurement and not an official warning. The
|
|
41
|
+
tool's title is now "Weather warnings and road-surface forecast", it names icy roads
|
|
42
|
+
(Glätte, Glatteis) among the questions it is for, and its description was shortened.
|
|
43
|
+
- **Car parks across Baden-Württemberg and in München.** `find_parking` answers from
|
|
44
|
+
MobiData BW's ParkAPI, for licensed sources only, each facility credited to its own
|
|
45
|
+
source; a reading older than 30 minutes is not shown as occupancy. München's car
|
|
46
|
+
parks and P+R sites are listed too. A P+R site with no live reading shows the city's
|
|
47
|
+
forecast class for the current hour, dated, and never as free spaces.
|
|
48
|
+
- **The MCP Registry entry follows every release.** A new `MCP Registry` workflow
|
|
49
|
+
runs after each successful npm release, the same way the Smithery workflow does:
|
|
50
|
+
after a tag pushed by a person, and dispatched by `Version sync` after an
|
|
51
|
+
automatic release, which now waits for it beside Smithery and the release page.
|
|
52
|
+
It checks that the live server reports the release's version, writes that
|
|
53
|
+
version into `registry/server.json` (the remote entry `de.viafrei/mcp`, with the
|
|
54
|
+
Streamable HTTP and SSE endpoints), validates it with a pinned, checksum-verified
|
|
55
|
+
`mcp-publisher`, publishes it with the domain key held in the `mcp-registry`
|
|
56
|
+
environment, and reads the registry back until the version is listed as latest.
|
|
57
|
+
A version the registry already holds is reported and not published again, so a
|
|
58
|
+
re-run is safe.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- **`watch_situation` takes a name as the key.** "Tell me when a warning comes for
|
|
62
|
+
Kiel", "watch Köln Hbf" or "a charger in Würzburg" now open the watch directly, with
|
|
63
|
+
no read tool first. A place resolves to the DWD warn cell it lies in, a stop or
|
|
64
|
+
station name to its DHID (the way `get_departures` resolves a stop), and a place for
|
|
65
|
+
a charger watch to the nearest charging site that reports live occupancy. The answer
|
|
66
|
+
names the key it resolved to. A name that fits several places or stops gets a
|
|
67
|
+
which-one list and opens no watch. Ids work as before. The `kind` and `key`
|
|
68
|
+
descriptions say this.
|
|
69
|
+
- **`stop_watch` finds a watch by the person's words.** With `kind` and a place or stop
|
|
70
|
+
name ("Kiel", "Köln Hbf"), a weather, charger or station watch is found the way
|
|
71
|
+
`watch_situation` resolved it; the id the watch carries works too.
|
|
72
|
+
- **`find_parking` and a direction of travel.** The `road` description now says that a
|
|
73
|
+
road list is in name order and cannot follow a direction such as "A4 Richtung
|
|
74
|
+
Görlitz"; ask with `place` for the destination or the next town instead, which
|
|
75
|
+
answers nearest first.
|
|
76
|
+
|
|
77
|
+
### Fixed
|
|
78
|
+
- **English questions get English answers.** Every tool's `language` description and
|
|
79
|
+
the server instructions now say plainly that the default is German, and that the
|
|
80
|
+
field must be set to the language the user writes in, or an English question is
|
|
81
|
+
answered in German. When a client leaves it out anyway, the server now infers
|
|
82
|
+
English from clear English evidence in the person's own words, such as "Cologne",
|
|
83
|
+
"Munich" or "main station". An explicit value is never overridden, and German input
|
|
84
|
+
stays German.
|
|
85
|
+
- **`find_charging_station` no longer times out around Ulm** when only free chargers
|
|
86
|
+
are asked for.
|
|
87
|
+
- **Answer details.** `check_transit_disruption` answers a town whose official name
|
|
88
|
+
carries a qualifier ("Fürstenwalde" for "Fürstenwalde/Spree"). `check_weather_warnings`
|
|
89
|
+
dates every validity time when the result is from another day. A place that is one
|
|
90
|
+
town plus its own stations ("St. Peter-Ording") is answered as the town.
|
|
91
|
+
`check_road_status` says when it holds no current motorway reading, so "no closures"
|
|
92
|
+
never rests on planned works alone.
|
|
93
|
+
|
|
8
94
|
## [1.9.13] - 2026-10-11
|
|
9
95
|
|
|
10
96
|
**Fuel prices fetched when you ask, Hamburg police messages, and live car parks in
|
|
@@ -2314,6 +2400,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2314
2400
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2315
2401
|
the check red on `main` for everybody, for something no contributor did.
|
|
2316
2402
|
|
|
2403
|
+
[1.9.17]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.17
|
|
2317
2404
|
[1.9.13]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.13
|
|
2318
2405
|
[1.9.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.9
|
|
2319
2406
|
[1.9.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.8
|
package/README.md
CHANGED
|
@@ -277,15 +277,15 @@ Restart the client and ask one of the questions above.
|
|
|
277
277
|
|
|
278
278
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
279
279
|
|
|
280
|
-
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.9.
|
|
280
|
+
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.9.17, snapshot of 2026-10-11. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
281
281
|
|
|
282
282
|
#### 🚗 On the road
|
|
283
283
|
|
|
284
284
|
| tool | what it answers |
|
|
285
285
|
|---|---|
|
|
286
286
|
| [`check_autobahn_traffic`](API.md#check_autobahn_traffic--autobahn-traffic) — Autobahn traffic | Jams, slow traffic, closures and roadworks in force this minute on up to 5 motorways, with delay/speed. |
|
|
287
|
-
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Whether a motorway, B road or Land road (NI, SN, TH: pass the Land/town as place) is open, closed, restricted, now or
|
|
288
|
-
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns roadworks PLANNED on one
|
|
287
|
+
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Whether a motorway, B road or Land road (NI, SN, TH, BW: pass the Land/town as place) is open, closed, restricted, now or coming days; by place, jams and city/Land messages. |
|
|
288
|
+
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns roadworks PLANNED on one motorway, one Bundes-/Landesstraße in NI, SN, TH or BW, or Hamburg city streets by place, in a date window: section, restriction, dates. |
|
|
289
289
|
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway: motorway lorry parks, car parks and P+R sites, with total spaces and, where published, free spaces now and the reading's age. |
|
|
290
290
|
|
|
291
291
|
#### 🚆 Public transport
|
|
@@ -325,7 +325,7 @@ Restart the client and ask one of the questions above.
|
|
|
325
325
|
|
|
326
326
|
| tool | what it answers |
|
|
327
327
|
|---|---|
|
|
328
|
-
| [`check_weather_warnings`](API.md#check_weather_warnings--
|
|
328
|
+
| [`check_weather_warnings`](API.md#check_weather_warnings--weather-warnings-and-road-surface-forecast) — Weather warnings and road-surface forecast | Returns the official DWD weather warnings in force for a place — storm, snow, ice, heavy rain, thunderstorm, heat — with Warnstufe 1–4, area, validity and the official text unaltered. |
|
|
329
329
|
| [`get_driving_rules`](API.md#get_driving_rules--german-driving-rules) — German driving rules | Returns the German road rules a visitor needs: low-emission zones (Umweltzone) and which Feinstaubplakette a city requires, speed limits (advisory 130), winter tyres, alcohol, the Sunday lorry ban, tolls (no car toll), Rettungsgasse, what must be in the car, and electric cars (E-Kennzeichen, ad-hoc payment, plugs). |
|
|
330
330
|
|
|
331
331
|
#### 🔔 Watches
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.17",
|
|
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",
|