viafrei 1.9.13 → 2.0.9
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 +47 -45
- package/CHANGELOG.md +187 -0
- package/README.md +18 -18
- package/SOURCES.md +29 -13
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -9,7 +9,7 @@ the server's own text, reproduced verbatim, because that text is what an
|
|
|
9
9
|
assistant reads when it decides which tool to call; paraphrasing it here would
|
|
10
10
|
document a different server.
|
|
11
11
|
|
|
12
|
-
**It is a dated snapshot, taken on 2026-10-
|
|
12
|
+
**It is a dated snapshot, taken on 2026-10-12.** Generating this file makes
|
|
13
13
|
it impossible for the document and the snapshot to disagree — CI regenerates and
|
|
14
14
|
compares — but it cannot keep the snapshot from ageing against the live server,
|
|
15
15
|
because a capture is a point in time. **The source of truth is the running
|
|
@@ -17,11 +17,11 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei`
|
|
20
|
+
| Server | `viafrei` 2.0.9 |
|
|
21
21
|
| MCP protocol | `2025-06-18` |
|
|
22
22
|
| Streamable HTTP | https://mcp.viafrei.de/mcp |
|
|
23
23
|
| Legacy HTTP+SSE | https://mcp.viafrei.de/sse |
|
|
24
|
-
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
24
|
+
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-12 |
|
|
25
25
|
| Surface | 21 tools, 10 resources, 2 resource templates, 9 prompts |
|
|
26
26
|
| Parameter schemas | JSON Schema draft-07 |
|
|
27
27
|
| Capabilities | `tools`, `resources`, `prompts`, `logging` |
|
|
@@ -58,7 +58,7 @@ language the person is writing in rather than relying on the default.
|
|
|
58
58
|
|
|
59
59
|
The server's own instructions to a connecting client, verbatim:
|
|
60
60
|
|
|
61
|
-
> ViaFrei answers from German open transport data, live: motorway traffic, closures and roadworks (plus Land and city traffic messages where a feed carries them), fuel prices, EV charging, parking, train and public-transport departures, regional public-transport punctuality and service alerts, station lifts and escalators, DWD weather warnings, places and addresses, and the curated German driving rules. 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.
|
|
@@ -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
|
-
>
|
|
149
|
+
> 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. Use when asked 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. No prices: for "was kostet" say so, no call. Show each source's attribution.
|
|
150
150
|
|
|
151
151
|
| parameter | type | required | default | constraints |
|
|
152
152
|
| --- | --- | --- | --- | --- |
|
|
@@ -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
|
|
177
|
+
> Whether a motorway, B or Land road (NI, SN, TH, BW: pass the Land/town as place) is open, closed, restricted, now or coming days; by place, jams, city/Land messages, Hamburg traffic cameras. 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 city Stau: "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. ≤ 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`.
|
|
@@ -272,7 +274,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
272
274
|
|
|
273
275
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
274
276
|
|
|
275
|
-
> Finds a
|
|
277
|
+
> Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel — and returns address, category and coordinate. Use when the person names a THING rather than a town: "the adesso office in Dortmund", "the nearest Aldi", "a hotel in Weimar". The coordinate passes to any other tool as lat/lon. Do NOT use for a town, district or station (every tool's `place` resolves those), nor for fuel, charging or parking (own tools). Give "in" (a town) when you can: far faster than nationwide. At most 10 results, radius <= 50 km. OpenStreetMap under ODbL 1.0; show the attribution line.
|
|
276
278
|
|
|
277
279
|
| parameter | type | required | default | constraints |
|
|
278
280
|
| --- | --- | --- | --- | --- |
|
|
@@ -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,14 +311,14 @@ 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
|
|
316
318
|
|
|
317
319
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
318
320
|
|
|
319
|
-
> Turns a coordinate into words: the nearest address, settlement
|
|
321
|
+
> Turns a coordinate into words: the nearest address, settlement and motorway junction with their distances, and the Gemeinde, Kreis and Land the point lies in. Use when you already HAVE a lat/lon and need to say where that is. Do NOT use to look up a place or address BY NAME — that is find_place, find_poi or find_address; this only goes coordinate to words. Those three come from the municipality the point lies in (by its official key), not from the nearest Kreis point; near the national border the answer says so. OpenStreetMap ODbL 1.0 for the address; show the attribution line.
|
|
320
322
|
|
|
321
323
|
| parameter | type | required | default | constraints |
|
|
322
324
|
| --- | --- | --- | --- | --- |
|
|
@@ -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.
|
|
@@ -458,7 +460,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
458
460
|
|
|
459
461
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
460
462
|
|
|
461
|
-
> Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry
|
|
463
|
+
> Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry. Use when asked when a bus, tram, U-/Stadtbahn or ferry goes ("welche Bahnen" at a Hbf too), or for another DAY or a time over 2 h away: "Wann fährt der nächste Bus ab Fulda Bahnhof?" Do NOT use for a railway station's trains now or later today — get_train_departures. Plan times, with a live delay or cancellation per row where held; regional punctuality check_transit_disruption. No A-to-B journeys: say so, no call. Holds ≥ 48 h ahead, ≤ 3 days; further out, say so. 15 per call. Show the attribution line.
|
|
462
464
|
|
|
463
465
|
| parameter | type | required | default | constraints |
|
|
464
466
|
| --- | --- | --- | --- | --- |
|
|
@@ -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,20 +504,20 @@ 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
|
|
507
|
+
> Opens a watch so THIS conversation is told when something changes: a road reopening, a stop running late, a weather warning, a charge point turning free. Use when asked to be told later: "sag mir Bescheid, wenn die A8 wieder frei ist", "tell me when a warning comes for Kiel". A name is enough as the key; no lookup first. Do NOT use to look up now, nor for e-mail, SMS or any alert outside this chat — we cannot send one; say so. Set hours (≤ 24, default 3) to cover the time asked about; condition narrows it (only the reopening, one charge point). Session-scoped, ≤ 10 watches. Show attribution.
|
|
506
508
|
|
|
507
509
|
| parameter | type | required | default | constraints |
|
|
508
510
|
| --- | --- | --- | --- | --- |
|
|
509
511
|
| `key` | string | **yes** | — | min length 1; max length 200 |
|
|
510
512
|
| `kind` | string | **yes** | — | one of `"road"`, `"station"`, `"region"`, `"place"`, `"weather"`, `"charger"` |
|
|
511
|
-
| `condition` | object | no | — | keys: `delay_min`, `late_share`, `min_trips`, `radius_km`, `min_level`, `event`, `point_id` (each described below) |
|
|
513
|
+
| `condition` | object | no | — | keys: `delay_min`, `late_share`, `min_trips`, `radius_km`, `min_level`, `event`, `point_id` (each described below); `additionalProperties` |
|
|
512
514
|
| `hours` | number | no | — | min 0.25; max 24 |
|
|
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
|
-
- **`condition`** — Optional threshold.
|
|
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.
|
|
520
|
+
- **`condition`** — Optional threshold; the keys of each kind, with an example: road {"event": "reopen"} (only the reopening); station {"delay_min": 20}; region {"late_share": 0.3, "delay_min": 5, "min_trips": 20}; place {"radius_km": 10}; weather {"min_level": 3}; charger {"point_id": "2"} (one charge point). Any other key, or a key of another kind, is refused by name; leave it out for the default. The answer repeats the condition it applies.
|
|
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).
|
|
521
523
|
- `min_trips` (integer, min 1; max 10000) — region: below this many observed trips the share is noise (default 10).
|
|
@@ -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
|
|
|
@@ -698,7 +700,7 @@ single call.
|
|
|
698
700
|
|
|
699
701
|
*Say where a coordinate is — Sagen, wo eine Koordinate liegt*
|
|
700
702
|
|
|
701
|
-
> Turns a bare lat/lon into a sentence a traveller understands: the nearest address, settlement
|
|
703
|
+
> Turns a bare lat/lon into a sentence a traveller understands: the nearest address, settlement and motorway junction with their distances, and the Gemeinde, Kreis and Land the point lies in. Use whenever you already hold a coordinate — from the traveller, or from another tool's result — and need to say where it is. Do NOT use to look a place up BY NAME: that is find_a_place, find_place, find_poi or find_address. The Gemeinde, Kreis and Land are read off the municipality's official key (#683), not the nearest gazetteer point. OpenStreetMap ODbL 1.0 for the address; show the attribution line.
|
|
702
704
|
|
|
703
705
|
| argument | required | description |
|
|
704
706
|
| --- | --- | --- |
|
|
@@ -709,5 +711,5 @@ single call.
|
|
|
709
711
|
---
|
|
710
712
|
|
|
711
713
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
712
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
714
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-10-12; no tool was invoked to
|
|
713
715
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,191 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.0.9] - 2026-10-13
|
|
9
|
+
|
|
10
|
+
**Live delays for buses, trams and the U-Bahn, and OpenStreetMap fuel stations beside the priced ones.**
|
|
11
|
+
The package now matches the server's 2.0.9 and covers the server releases 2.0.0 to
|
|
12
|
+
2.0.9. None of them was published as a package before, so their changes for a user
|
|
13
|
+
of the connector are described here. No tool, prompt or resource was added, removed
|
|
14
|
+
or renamed. One input became stricter: `watch_situation`'s `condition` now refuses a
|
|
15
|
+
key it does not know (see Changed). The descriptions of `get_departures`,
|
|
16
|
+
`watch_situation`, `check_road_status`, `find_parking`, `find_poi` and
|
|
17
|
+
`describe_location`, and of the `explain_this_coordinate` prompt, were reworded. The
|
|
18
|
+
bridge's own code is unchanged apart from its version and the re-captured reference.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **Live departures in `get_departures`.** Each departure now carries one live
|
|
22
|
+
figure where a live feed holds one: a delay, "on time" or a cancellation. It comes
|
|
23
|
+
from DELFI's SIRI ET first, then DELFI's GTFS-RT Trip Updates, and otherwise the
|
|
24
|
+
row shows the timetable time, labelled as the plan. Buses, trams and the U-Bahn get
|
|
25
|
+
live delays for the first time. In the structured result each row carries a `live`
|
|
26
|
+
object (`source`, `delayMin`, `cancelled`, `noForecast`), and a board with at least
|
|
27
|
+
one live figure reports `dataKind: "timetable_with_realtime"`. Every feed that
|
|
28
|
+
carried a shown row is credited, and both are share-alike (see
|
|
29
|
+
[SOURCES.md](SOURCES.md)). `get_train_departures`' DELFI block adds the Trip
|
|
30
|
+
Updates beside the SIRI ET calls.
|
|
31
|
+
- **OpenStreetMap fuel stations we hold no price for.** `find_fuel_station`,
|
|
32
|
+
`find_cheapest_fuel` and `find_nearby` list the nearest fuel stations OpenStreetMap
|
|
33
|
+
maps where we hold no priced station within 300 m. They come as a list of their own
|
|
34
|
+
(`osmFuelStations` in the structured result) and never with a price. They are
|
|
35
|
+
credited to OpenStreetMap under the ODbL 1.0, with the copy offer, and only stations
|
|
36
|
+
inside Germany's national boundary are listed.
|
|
37
|
+
- **`find_cheapest_fuel` answers a town we held nothing for in the same call.** When
|
|
38
|
+
a question starts a station lookup, the tool waits up to eight seconds for it and
|
|
39
|
+
lists the stations with the prices the lookup returned. After that wait, the answer
|
|
40
|
+
says prices follow within about a minute. The structured result gains
|
|
41
|
+
`askedProvider`, `discovery` and `areaState: "discovering"`.
|
|
42
|
+
- **Live P+R occupancy in Leipzig.** `find_parking` lists Stadt Leipzig's P+R sites
|
|
43
|
+
with their live free spaces.
|
|
44
|
+
- **nextbike's German systems from nextbike's own index.** `find_sharing` no longer
|
|
45
|
+
depends on a hand-kept list of nextbike systems.
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
- **`watch_situation`'s `condition` is strict.** An unknown key, or a key of another
|
|
49
|
+
kind, used to be dropped silently, and the watch opened with the defaults. It is now
|
|
50
|
+
refused by name, in the caller's language, with the keys that kind takes. The schema
|
|
51
|
+
says so (`additionalProperties: false`), the description lists each kind's keys with
|
|
52
|
+
an example, and the confirmation repeats the condition it applies with the defaults
|
|
53
|
+
filled in. A client that sent extra keys must drop them. The description also asks
|
|
54
|
+
for `hours` (default 3, at most 24) to be set to cover the time asked about.
|
|
55
|
+
- **A session keeps its language.** When a call leaves out `language`, the answer uses
|
|
56
|
+
the language this session last asked for, or last showed English evidence for,
|
|
57
|
+
before falling back to German.
|
|
58
|
+
- **`find_parking` reads every car source and lists them nearest first.** OpenStreetMap
|
|
59
|
+
car parks are read for every car question at a place, not only where no city car
|
|
60
|
+
park is held.
|
|
61
|
+
- **Departure boards name what actually runs.** A rail replacement bus is "SEV-Bus
|
|
62
|
+
RE7", and a letter-only line gets its mode word ("Bus K").
|
|
63
|
+
- **`describe_location` names the Gemeinde, Kreis and Land the point lies in**, read
|
|
64
|
+
from the municipality's official key rather than from the nearest gazetteer point,
|
|
65
|
+
with a note near the national border. The `explain_this_coordinate` prompt says the
|
|
66
|
+
same.
|
|
67
|
+
- **`find_poi` finds a kind, not only names that contain the word**: doctors,
|
|
68
|
+
dentists, vets, toilets, ATMs and banks, post offices, supermarkets, bakeries,
|
|
69
|
+
hotels, hostels, restaurants and more ("a hotel in Weimar").
|
|
70
|
+
- **`check_road_status`'s description** names the Hamburg traffic camera locations it
|
|
71
|
+
shows, and no longer says "one road or place per call".
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
- **Places resolve to what was asked.** A landmark, station or airport resolves to
|
|
75
|
+
that object ("Nuremberg Airport", "Worms station"), not to the town centre. One place
|
|
76
|
+
is no longer offered as several. A named stop is the stop asked, or the answer says
|
|
77
|
+
it is not. `find_place` finds motorways ("A7", "BAB 9") and junctions by name.
|
|
78
|
+
`find_address` gives the street and its nearest mapped house numbers when the number
|
|
79
|
+
is not mapped. Every Hamburg district is Hamburg.
|
|
80
|
+
- **Road answers count what they list.** A message whose own words close the road is
|
|
81
|
+
counted as a closure. An item filed under one motorway but naming another is listed
|
|
82
|
+
under the road it names. Roadworks count only inside the time windows the publisher
|
|
83
|
+
states.
|
|
84
|
+
- **Transit alerts stay in their network's Länder**, instead of appearing under a
|
|
85
|
+
neighbouring Land.
|
|
86
|
+
- **Answers carry their data's own time.** A weather warning fetched minutes ago no
|
|
87
|
+
longer reads as a day old. Double-encoded provider text is repaired exactly and never
|
|
88
|
+
guessed.
|
|
89
|
+
|
|
90
|
+
### On viafrei.de
|
|
91
|
+
The site runs on the same server and data. These changes are not part of the
|
|
92
|
+
connector:
|
|
93
|
+
|
|
94
|
+
- **The home finds your area.** It shows the cards of one place: one you choose, the
|
|
95
|
+
browser's position rounded on your device, or an approximate place from your IP
|
|
96
|
+
address, which is never stored. Every location choice is remembered for the next
|
|
97
|
+
visit, and towns have pages of their own.
|
|
98
|
+
- **The cards show what the tools know.** Departures carry the same live figures. Each
|
|
99
|
+
station lists its lifts and escalators, with every one that is out of service and
|
|
100
|
+
since when. A roadworks site shows its position between the junctions, with length,
|
|
101
|
+
speed limit and width left. Unpriced OpenStreetMap fuel stations appear beside the
|
|
102
|
+
priced ones.
|
|
103
|
+
- **A News page** in seven languages, with an Atom feed.
|
|
104
|
+
- **A public status page** at status.viafrei.de, in seven languages, per source and
|
|
105
|
+
per domain, with a JSON summary and an Atom feed.
|
|
106
|
+
|
|
107
|
+
## [1.9.17] - 2026-10-11
|
|
108
|
+
|
|
109
|
+
**English answers, watches by name, and new roadworks, road-weather and parking data.**
|
|
110
|
+
The package now matches the server's 1.9.17 and covers the server releases 1.9.14 to
|
|
111
|
+
1.9.17. 1.9.14 to 1.9.16 were never published as
|
|
112
|
+
packages; their changes are described here. No tool, prompt or resource was added or
|
|
113
|
+
removed. `find_roadworks_ahead` gained a `place` argument, and `road` is no longer
|
|
114
|
+
required there. Every tool's `language` description and the server instructions were
|
|
115
|
+
reworded, and the descriptions of `check_road_status`, `find_roadworks_ahead`,
|
|
116
|
+
`check_weather_warnings`, `watch_situation`, `stop_watch` and `find_parking` changed.
|
|
117
|
+
The bridge itself gained one release workflow; its code is unchanged apart from its
|
|
118
|
+
version and the re-captured reference.
|
|
119
|
+
|
|
120
|
+
### Added
|
|
121
|
+
- **Hamburg city roadworks by place.** `find_roadworks_ahead` takes a new `place`
|
|
122
|
+
argument: a district, street or address in Hamburg ("Hamburg-Altona",
|
|
123
|
+
"Wilhelmsburg", "Köhlbrandbrücke") lists the city's own released roadworks
|
|
124
|
+
(Bauweiser) within 3 km of it, current or planned. Give `road` or `place`; `road` is
|
|
125
|
+
no longer required. Outside Hamburg, city roadworks are not held and the answer says
|
|
126
|
+
so. `check_road_status` by place lists them too, with up to two nearby Hamburg
|
|
127
|
+
traffic camera locations (locations only, never an image).
|
|
128
|
+
- **Roadworks in Baden-Württemberg.** `find_roadworks_ahead` and `check_road_status`
|
|
129
|
+
now include current and planned roadworks on Baden-Württemberg's Bundes- and
|
|
130
|
+
Landesstraßen, from MobiData BW. The `check_road_status` description lists BW beside
|
|
131
|
+
NI, SN and TH as a Land whose Land roads it answers when the Land or a town is
|
|
132
|
+
passed as `place`.
|
|
133
|
+
- **Signed motorway detours in Baden-Württemberg.** When a BW Autobahn closure matches a
|
|
134
|
+
published Bedarfsumleitung, `check_road_status` names the U-route, quoted as a note
|
|
135
|
+
on the signage and not as a route recommendation.
|
|
136
|
+
- **The DWD road-surface forecast.** At a town or coordinate, `check_weather_warnings`
|
|
137
|
+
adds the DWD Straßenwetter-Prognose for the nearest road-weather stations: the
|
|
138
|
+
forecast road condition, from dry to black ice, and the road temperature. It is
|
|
139
|
+
labelled as a model forecast, not a measurement and not an official warning. The
|
|
140
|
+
tool's title is now "Weather warnings and road-surface forecast", it names icy roads
|
|
141
|
+
(Glätte, Glatteis) among the questions it is for, and its description was shortened.
|
|
142
|
+
- **Car parks across Baden-Württemberg and in München.** `find_parking` answers from
|
|
143
|
+
MobiData BW's ParkAPI, for licensed sources only, each facility credited to its own
|
|
144
|
+
source; a reading older than 30 minutes is not shown as occupancy. München's car
|
|
145
|
+
parks and P+R sites are listed too. A P+R site with no live reading shows the city's
|
|
146
|
+
forecast class for the current hour, dated, and never as free spaces.
|
|
147
|
+
- **The MCP Registry entry follows every release.** A new `MCP Registry` workflow
|
|
148
|
+
runs after each successful npm release, the same way the Smithery workflow does:
|
|
149
|
+
after a tag pushed by a person, and dispatched by `Version sync` after an
|
|
150
|
+
automatic release, which now waits for it beside Smithery and the release page.
|
|
151
|
+
It checks that the live server reports the release's version, writes that
|
|
152
|
+
version into `registry/server.json` (the remote entry `de.viafrei/mcp`, with the
|
|
153
|
+
Streamable HTTP and SSE endpoints), validates it with a pinned, checksum-verified
|
|
154
|
+
`mcp-publisher`, publishes it with the domain key held in the `mcp-registry`
|
|
155
|
+
environment, and reads the registry back until the version is listed as latest.
|
|
156
|
+
A version the registry already holds is reported and not published again, so a
|
|
157
|
+
re-run is safe.
|
|
158
|
+
|
|
159
|
+
### Changed
|
|
160
|
+
- **`watch_situation` takes a name as the key.** "Tell me when a warning comes for
|
|
161
|
+
Kiel", "watch Köln Hbf" or "a charger in Würzburg" now open the watch directly, with
|
|
162
|
+
no read tool first. A place resolves to the DWD warn cell it lies in, a stop or
|
|
163
|
+
station name to its DHID (the way `get_departures` resolves a stop), and a place for
|
|
164
|
+
a charger watch to the nearest charging site that reports live occupancy. The answer
|
|
165
|
+
names the key it resolved to. A name that fits several places or stops gets a
|
|
166
|
+
which-one list and opens no watch. Ids work as before. The `kind` and `key`
|
|
167
|
+
descriptions say this.
|
|
168
|
+
- **`stop_watch` finds a watch by the person's words.** With `kind` and a place or stop
|
|
169
|
+
name ("Kiel", "Köln Hbf"), a weather, charger or station watch is found the way
|
|
170
|
+
`watch_situation` resolved it; the id the watch carries works too.
|
|
171
|
+
- **`find_parking` and a direction of travel.** The `road` description now says that a
|
|
172
|
+
road list is in name order and cannot follow a direction such as "A4 Richtung
|
|
173
|
+
Görlitz"; ask with `place` for the destination or the next town instead, which
|
|
174
|
+
answers nearest first.
|
|
175
|
+
|
|
176
|
+
### Fixed
|
|
177
|
+
- **English questions get English answers.** Every tool's `language` description and
|
|
178
|
+
the server instructions now say plainly that the default is German, and that the
|
|
179
|
+
field must be set to the language the user writes in, or an English question is
|
|
180
|
+
answered in German. When a client leaves it out anyway, the server now infers
|
|
181
|
+
English from clear English evidence in the person's own words, such as "Cologne",
|
|
182
|
+
"Munich" or "main station". An explicit value is never overridden, and German input
|
|
183
|
+
stays German.
|
|
184
|
+
- **`find_charging_station` no longer times out around Ulm** when only free chargers
|
|
185
|
+
are asked for.
|
|
186
|
+
- **Answer details.** `check_transit_disruption` answers a town whose official name
|
|
187
|
+
carries a qualifier ("Fürstenwalde" for "Fürstenwalde/Spree"). `check_weather_warnings`
|
|
188
|
+
dates every validity time when the result is from another day. A place that is one
|
|
189
|
+
town plus its own stations ("St. Peter-Ording") is answered as the town.
|
|
190
|
+
`check_road_status` says when it holds no current motorway reading, so "no closures"
|
|
191
|
+
never rests on planned works alone.
|
|
192
|
+
|
|
8
193
|
## [1.9.13] - 2026-10-11
|
|
9
194
|
|
|
10
195
|
**Fuel prices fetched when you ask, Hamburg police messages, and live car parks in
|
|
@@ -2314,6 +2499,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2314
2499
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2315
2500
|
the check red on `main` for everybody, for something no contributor did.
|
|
2316
2501
|
|
|
2502
|
+
[2.0.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.0.9
|
|
2503
|
+
[1.9.17]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.17
|
|
2317
2504
|
[1.9.13]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.13
|
|
2318
2505
|
[1.9.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.9
|
|
2319
2506
|
[1.9.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.8
|
package/README.md
CHANGED
|
@@ -37,14 +37,14 @@ German open data, live, with the source named in every answer.
|
|
|
37
37
|
> from our data, and AI can make mistakes, so check anything important (a
|
|
38
38
|
> closure, a departure, a price) against the source each answer names.
|
|
39
39
|
|
|
40
|
-
> **New in
|
|
41
|
-
>
|
|
42
|
-
>
|
|
43
|
-
>
|
|
44
|
-
>
|
|
45
|
-
>
|
|
46
|
-
>
|
|
47
|
-
>
|
|
40
|
+
> **New in 2.0:** **live delays for buses, trams and the U-Bahn** in
|
|
41
|
+
> `get_departures`, one figure per departure from DELFI's realtime feeds. The fuel
|
|
42
|
+
> tools list the nearest **OpenStreetMap fuel stations** we hold no price for,
|
|
43
|
+
> apart from the priced ones and only inside Germany. `find_poi` finds a kind of
|
|
44
|
+
> place ("a hotel in Weimar"), `describe_location` names the Gemeinde, Kreis and
|
|
45
|
+
> Land a point lies in, and `watch_situation` refuses a condition key it does not
|
|
46
|
+
> know instead of ignoring it. The [CHANGELOG](CHANGELOG.md) has the whole list,
|
|
47
|
+
> and every source is listed in [SOURCES.md](SOURCES.md).
|
|
48
48
|
|
|
49
49
|
---
|
|
50
50
|
|
|
@@ -277,23 +277,23 @@ 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
|
|
280
|
+
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.0.9, snapshot of 2026-10-12. 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
|
|
288
|
-
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns roadworks PLANNED on one
|
|
289
|
-
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby |
|
|
287
|
+
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Whether a motorway, B or Land road (NI, SN, TH, BW: pass the Land/town as place) is open, closed, restricted, now or coming days; by place, jams, city/Land messages, Hamburg traffic cameras. |
|
|
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
|
+
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | 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
|
|
292
292
|
|
|
293
293
|
| tool | what it answers |
|
|
294
294
|
|---|---|
|
|
295
295
|
| [`get_train_departures`](API.md#get_train_departures--train-departures) — Train departures | Next trains from a German railway station: platform, delay, cancellations. |
|
|
296
|
-
| [`get_departures`](API.md#get_departures--scheduled-departures-bus-tram-train) — Scheduled departures (bus, tram, train) | Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry
|
|
296
|
+
| [`get_departures`](API.md#get_departures--scheduled-departures-bus-tram-train) — Scheduled departures (bus, tram, train) | Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry. |
|
|
297
297
|
| [`check_transit_disruption`](API.md#check_transit_disruption--public-transport-disruption-in-a-region) — Public-transport disruption in a region | How punctual public transport is now in one German region: the share of trips ever over 5 min late, trips with a cancelled stop, the trend, and the service alerts in force there (diversions, closed stops). |
|
|
298
298
|
| [`check_station_facilities`](API.md#check_station_facilities--station-lifts-and-escalators) — Station lifts and escalators | Report whether the lifts and escalators of a German railway station — or of a Köln Stadtbahn stop — are working now: each one, where it is, its state (in service / out of service / unknown) and the operator's explanation. |
|
|
299
299
|
|
|
@@ -310,9 +310,9 @@ Restart the client and ask one of the questions above.
|
|
|
310
310
|
| tool | what it answers |
|
|
311
311
|
|---|---|
|
|
312
312
|
| [`find_place`](API.md#find_place--look-up-a-place) — Look up a place | Looks up a place name and returns every place that matches, each with its kind, official key (AGS/RS), population, English name and coordinate. |
|
|
313
|
-
| [`find_poi`](API.md#find_poi--find-a-named-place) — Find a named place | Finds a
|
|
313
|
+
| [`find_poi`](API.md#find_poi--find-a-named-place) — Find a named place | Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel — and returns address, category and coordinate. |
|
|
314
314
|
| [`find_address`](API.md#find_address--look-up-a-street-address) — Look up a street address | Looks up a street address and returns its coordinate, plus what OpenStreetMap holds under it. |
|
|
315
|
-
| [`describe_location`](API.md#describe_location--describe-a-coordinate) — Describe a coordinate | Turns a coordinate into words: the nearest address, settlement
|
|
315
|
+
| [`describe_location`](API.md#describe_location--describe-a-coordinate) — Describe a coordinate | Turns a coordinate into words: the nearest address, settlement and motorway junction with their distances, and the Gemeinde, Kreis and Land the point lies in. |
|
|
316
316
|
| [`find_nearby`](API.md#find_nearby--what-is-nearby) — What is nearby | Overview of what is around a place or coordinate: nearby fuel stations, EV charging, parking, the nearest railway station and motorway junction, each with its distance. |
|
|
317
317
|
|
|
318
318
|
#### 🚲 Sharing
|
|
@@ -325,14 +325,14 @@ 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
|
|
332
332
|
|
|
333
333
|
| tool | what it answers |
|
|
334
334
|
|---|---|
|
|
335
|
-
| [`watch_situation`](API.md#watch_situation--watch-for-a-change) — Watch for a change | Opens a watch so THIS conversation is told when something changes: a road reopening, a stop running late, a weather warning
|
|
335
|
+
| [`watch_situation`](API.md#watch_situation--watch-for-a-change) — Watch for a change | Opens a watch so THIS conversation is told when something changes: a road reopening, a stop running late, a weather warning, a charge point turning free. |
|
|
336
336
|
| [`stop_watch`](API.md#stop_watch--stop-a-watch) — Stop a watch | Ends a watch this conversation opened with watch_situation, so no further notifications arrive for it. |
|
|
337
337
|
|
|
338
338
|
#### 🧭 Prompts — ready-made briefings
|
|
@@ -349,7 +349,7 @@ Pick one in your client's prompt menu and fill in the blanks; it calls the right
|
|
|
349
349
|
| `plan_arrival_parking` — Where to leave the car on arrival — Parken am Ziel | Finds where to leave the car at the end of the drive: the car park in town, the park-and-ride at the edge with the onward departures, or the rest area if the traveller is early. |
|
|
350
350
|
| `find_a_place` — Find out what a name refers to — Herausfinden, was ein Name meint | Resolves a bare name of unknown kind into a place, a named thing, or an address, trying each table in turn and stopping at the first that answers. |
|
|
351
351
|
| `plan_local_errand` — What is around this place? — Was ist hier in der Nähe? | Answers "what is around here" for one place: the nearest fuel, EV charging, parking, railway station and motorway junction in one glance, then — only if the traveller wants more than the nearest one — the depth tool for that one category. |
|
|
352
|
-
| `explain_this_coordinate` — Say where a coordinate is — Sagen, wo eine Koordinate liegt | Turns a bare lat/lon into a sentence a traveller understands: the nearest address, settlement
|
|
352
|
+
| `explain_this_coordinate` — Say where a coordinate is — Sagen, wo eine Koordinate liegt | Turns a bare lat/lon into a sentence a traveller understands: the nearest address, settlement and motorway junction with their distances, and the Gemeinde, Kreis and Land the point lies in. |
|
|
353
353
|
|
|
354
354
|
#### 📚 Resources — reference your assistant can read
|
|
355
355
|
|
package/SOURCES.md
CHANGED
|
@@ -111,10 +111,14 @@ version. Share-alike means the obligation travels:
|
|
|
111
111
|
- the attribution line stays with it, either way.
|
|
112
112
|
|
|
113
113
|
**Our side.** The server keeps the SIRI ET calls and the service alerts as two
|
|
114
|
-
separate share-alike databases, joined to nothing else
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
separate share-alike databases, joined to nothing else. SIRI ET calls are shown
|
|
115
|
+
by `get_train_departures`, in a block of their own when DB Timetables has no
|
|
116
|
+
realtime for the station, and, since server 2.0.9, as the live figure of a
|
|
117
|
+
departure in `get_departures`. The GTFS-RT Trip Updates are shown per departure in
|
|
118
|
+
the same two places. A departure carries one figure, SIRI ET before Trip Updates,
|
|
119
|
+
and the timetable decides which departure a figure is about: a figure and the plan
|
|
120
|
+
meet in the answer and are never stored together. Alerts are shown only by
|
|
121
|
+
`check_transit_disruption`, beside the delay figures. Its register offers both, as CSV with a note of our
|
|
118
122
|
alterations, under CC BY-SA 4.0 and free of charge, on request to the contact
|
|
119
123
|
address in the Impressum on viafrei.de.
|
|
120
124
|
|
|
@@ -321,9 +325,11 @@ What the table cannot say in a cell:
|
|
|
321
325
|
somebody actually asks a question. Outside that set you may get nothing back.
|
|
322
326
|
That is a consequence of the MTS-K rules, not a gap we are hiding. Fuel is
|
|
323
327
|
measured this time — 149 answers named it — for the one-off reason given above.
|
|
324
|
-
- **SIRI ET
|
|
325
|
-
DB Timetables
|
|
326
|
-
answers that never happened, so it reads `in the service`.
|
|
328
|
+
- **SIRI ET was shown only as a fallback in this round.** `get_train_departures`
|
|
329
|
+
added it only when DB Timetables had no realtime for the station; in the round's
|
|
330
|
+
79 rail-departure answers that never happened, so it reads `in the service`.
|
|
331
|
+
Since server 2.0.9 `get_departures` also shows it as a departure's live figure,
|
|
332
|
+
which this measurement predates.
|
|
327
333
|
- **Berlin traffic messages** were named by no answer in the round. One spot check
|
|
328
334
|
after it — `check_road_status` for Berlin, 21:09 UTC the same evening, server
|
|
329
335
|
1.8.18 — named `mobilithek_traffic_berlin`. That is one call, reported as one
|
|
@@ -485,8 +491,9 @@ assume the share-alike applies; do not rely on a specific version for a
|
|
|
485
491
|
derivative.** What you may do with it is set out
|
|
486
492
|
[at the top of this page](#public-transport-realtime-is-share-alike).
|
|
487
493
|
|
|
488
|
-
|
|
489
|
-
|
|
494
|
+
It answers for a **region** in the punctuality figures, and since server 2.0.9 also
|
|
495
|
+
for one departure: `get_departures` shows a departure's live delay or cancellation
|
|
496
|
+
from it when no SIRI ET call covers that departure.
|
|
490
497
|
|
|
491
498
|
The **SIRI ET** rail realtime feed is in the same position — CC BY-SA, version
|
|
492
499
|
unstated, the same unversioned term in the register — and the same reading
|
|
@@ -691,10 +698,19 @@ one. If you copied the old string, change it.
|
|
|
691
698
|
|
|
692
699
|
**Which answers carry it**, in the platform's own words — verbatim, with the
|
|
693
700
|
qualifier emphasised here because it is the part two earlier versions of this
|
|
694
|
-
page dropped: *"Only results
|
|
695
|
-
tables carry this line
|
|
696
|
-
|
|
697
|
-
|
|
701
|
+
page dropped. As of server 2.0.9: *"Only results that contain a row of one of these
|
|
702
|
+
two OSM tables carry this line — an input that resolved through them, a landmark
|
|
703
|
+
offered beside a town of the same name, an OpenStreetMap car park listed in an
|
|
704
|
+
answer, an OpenStreetMap motorway junction named in one, a charging site placed at
|
|
705
|
+
its OpenStreetMap address, a Bundesland decided by an OpenStreetMap address, or an
|
|
706
|
+
OpenStreetMap fuel station listed without a price. A result about a place **from
|
|
707
|
+
our own gazetteer**, a station or a motorway as a whole, or a parking answer from
|
|
708
|
+
our other parking sources alone, is not built from OpenStreetMap and carries
|
|
709
|
+
neither the ODbL attribution nor the obligation."*
|
|
710
|
+
|
|
711
|
+
The two tables are the addresses and the points of interest. The offer covers a
|
|
712
|
+
third, Germany's national boundary from the same extracts: it decides that an
|
|
713
|
+
unpriced fuel station is inside Germany and is never itself part of an answer.
|
|
698
714
|
|
|
699
715
|
Read the qualifier. The predicate is **which table answered**, and it is not a
|
|
700
716
|
list of tools. Place resolution falls through the gazetteer to the OSM tables, so
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.9",
|
|
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",
|