viafrei 1.8.18 → 1.8.30
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 +35 -31
- package/CHANGELOG.md +65 -0
- package/README.md +17 -8
- 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-08.** 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` 1.8.
|
|
20
|
+
| Server | `viafrei` 1.8.30 |
|
|
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-08 |
|
|
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` |
|
|
@@ -66,7 +66,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
66
66
|
|
|
67
67
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
68
68
|
|
|
69
|
-
>
|
|
69
|
+
> Jams, slow traffic, closures and roadworks in force this minute on up to 5 motorways, with delay/speed. Use when asked about a named motorway now: Stau, a delay, how it looks, or a LIST of closures now; name every motorway (Munich→Berlin: A9). Do NOT use for yes/no: is a road open/closed/passable — check_road_status, even now — nor a closure with no time word or a later one (tonight, weekend); Baustellen dated or geplant — find_roadworks_ahead; Stau in a town, no motorway — check_road_status; fuel (find_cheapest_fuel), trains (get_train_departures). ~5 min old. Show the attribution line.
|
|
70
70
|
|
|
71
71
|
| parameter | type | required | default | constraints |
|
|
72
72
|
| --- | --- | --- | --- | --- |
|
|
@@ -78,9 +78,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
78
78
|
|
|
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
|
-
- **`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 ("
|
|
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
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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
83
|
-
- **`limit`** — Maximum events to return across all roads (1–50, default 10).
|
|
83
|
+
- **`limit`** — Maximum events to return across all roads (1–50, default 10). Jams on every road come first, then closures and roadworks; roads keep the order you listed them within each. 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
|
|
86
86
|
|
|
@@ -103,7 +103,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
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.
|
|
106
|
-
- **`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 ("
|
|
106
|
+
- **`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.
|
|
107
107
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 5). The provider's terms cap it at 25 km — a larger circle is a dataset request, not a consumer question.
|
|
108
108
|
|
|
109
109
|
### `find_fuel_station` — Find a filling station
|
|
@@ -137,16 +137,16 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
137
137
|
- **`name`** — Part of the station's own name or brand, case-insensitive: "Autohof", "Raststätte Fulda". Use it when the person named a specific forecourt rather than a chain. Combine with place to keep the search local.
|
|
138
138
|
- **`open_at`** — Only stations open at that time in Germany (Europe/Berlin): "23:30" means the next time the clock shows 23:30, and "2026-09-30 06:15" a specific local date and time. Use it for "is it still open tonight". Do not pass it together with open_now — they ask the same question about two different clocks.
|
|
139
139
|
- **`open_now`** — When true, only stations the published opening hours say are open at this moment. Default false. A station whose hours we have never read is NOT returned by this filter and is counted in the answer instead — the result never guesses that an unknown station is open.
|
|
140
|
-
- **`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 ("
|
|
140
|
+
- **`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.
|
|
141
141
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 5). 25 km is the provider's own ceiling — a larger circle is a dataset request, not a consumer question.
|
|
142
142
|
- **`sort`** — Order of the answer: "distance" (nearest first, the default — use it for "closest diesel to Hamburg Hbf"), "price" (cheapest first, needs fuel), or "name" (alphabetical, for a person scanning a list of a brand's forecourts).
|
|
143
|
-
- **`whole_day`** — When true, only stations the provider flags as open around the clock (24/7). Default false. Use it for a night drive; it is a stricter filter than open_now, which is satisfied by a station that closes at 22:00.
|
|
143
|
+
- **`whole_day`** — When true, only stations the provider flags as open around the clock (24/7). Default false. Use it when asked whether a station never closes ("durchgehend geöffnet", "around the clock") and for a night drive; it is a stricter filter than open_now, which is satisfied by a station that closes at 22:00.
|
|
144
144
|
|
|
145
145
|
### `find_parking` — Parking nearby
|
|
146
146
|
|
|
147
147
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
148
148
|
|
|
149
|
-
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and
|
|
149
|
+
> Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, 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. Show each source's attribution.
|
|
150
150
|
|
|
151
151
|
| parameter | type | required | default | constraints |
|
|
152
152
|
| --- | --- | --- | --- | --- |
|
|
@@ -165,8 +165,8 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
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
|
-
- **`only_with_free_spaces`** — Set true
|
|
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 ("
|
|
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
|
+
- **`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
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.
|
|
172
172
|
|
|
@@ -174,7 +174,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
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
|
-
>
|
|
177
|
+
> Whether a motorway, B road or Land road (NI, SN, TH) is open, closed or restricted, now and in coming days; by place, jams and city/Land messages near a town. Use when asked if a road is open/passable — "ist die A8 in diesem Moment gesperrt", "komme ich durch", at any clock, closures tonight/weekend — or Stau in a city: "Stau in Köln?". Do NOT use for jams/delays on a named motorway or a multi-motorway route — check_autobahn_traffic; roadworks in a date window — find_roadworks_ahead; city street: not held, say so. One road or place per call, ≤ 14 days, ≤ 11 entries. Show the attribution line.
|
|
178
178
|
|
|
179
179
|
| parameter | type | required | default | constraints |
|
|
180
180
|
| --- | --- | --- | --- | --- |
|
|
@@ -186,13 +186,13 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
186
186
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
187
187
|
| `road` | string | no | — | pattern `^(?:[ABab] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
188
188
|
|
|
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.
|
|
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
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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
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.
|
|
194
|
-
- **`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 ("
|
|
195
|
-
- **`road`** — One German motorway or federal road, e.g. "A8" or "B27", or a Landes- or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "L1025" or "S296". "A8", "A 8" and "a8" are the same road. Use this whenever the person named a road — it is the only input that reaches the planned-works data, which is filed by road and section and carries no coordinates.
|
|
194
|
+
- **`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.
|
|
195
|
+
- **`road`** — One German motorway or federal road, e.g. "A8" or "B27", or a Landes- or Staatsstraße in Niedersachsen, Sachsen or Thüringen, e.g. "L1025" or "S296". "A8", "A 8" and "a8" are the same road. Use this whenever the person named a road — it is the only input that reaches the planned-works data, which is filed by road and section and carries no coordinates. When the person also says WHERE — a town or a Bundesland ("die B2 bei Potsdam", "L1025 in Niedersachsen") — pass that as place too: only sources for that Land answer, and a Land no source covers is named. L and S numbers repeat in every Land, so give the Land with them. Otherwise give exactly one of road, place, or lat+lon.
|
|
196
196
|
|
|
197
197
|
### `find_roadworks_ahead` — Planned roadworks
|
|
198
198
|
|
|
@@ -237,9 +237,9 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
237
237
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
238
238
|
- **`limit`** — How many charging sites to return, nearest first (1–10, default 5).
|
|
239
239
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
240
|
-
- **`min_power_kw`** — Only charging points of at least this many kW (1–1000). Use when the person asks for fast charging
|
|
240
|
+
- **`min_power_kw`** — Only charging points of at least this many kW (1–1000). Use when the person names a number or asks for fast charging: 50 = DC fast (a bare "fast"/"schnell"/"Schnelllader"), 150 = HPC ("HPC", "ultra", "ultraschnell"), 300 = the fastest posts in Germany. Omit for "where can I charge" — 11 kW overnight is a valid answer to that question.
|
|
241
241
|
- **`only_available`** — When true, return only sites with at least one point reported FREE right now. Default false. Use it when the person asks what is free at this moment. Note that only some operators publish live status: the result always says how many nearby sites were dropped because their status is unknown, so the filter never silently hides a charger that may well be free.
|
|
242
|
-
- **`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 ("
|
|
242
|
+
- **`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.
|
|
243
243
|
- **`radius_km`** — Search radius around the place in kilometres (1–25, default 10). A charging stop is worth a detour, so this is wider than the fuel radius — but 25 km is the cap, and a larger circle is a dataset request rather than a driver's question.
|
|
244
244
|
|
|
245
245
|
### `find_place` — Look up a place
|
|
@@ -300,7 +300,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
300
300
|
|
|
301
301
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
302
302
|
|
|
303
|
-
> Looks up a street address and returns its coordinate, plus what OpenStreetMap holds under it. Use when the person gives a STREET AND NUMBER — "
|
|
303
|
+
> Looks up a street address and returns its coordinate, plus what OpenStreetMap holds under it. Use when the person gives a STREET AND NUMBER — "Bahnhofstraße 12, Fulda" — for the point, or to see what is mapped there. The coordinate passes to any other tool as lat/lon. Do NOT use for a town/district/station name alone (find_place) or a company/shop/landmark by name (find_poi) — needs a street and a number. At most 5 results; more than one in ONE town means the door is mapped twice, and results in several towns are a question to ask the person. OpenStreetMap ODbL 1.0; show the attribution line.
|
|
304
304
|
|
|
305
305
|
| parameter | type | required | default | constraints |
|
|
306
306
|
| --- | --- | --- | --- | --- |
|
|
@@ -308,7 +308,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
308
308
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
309
309
|
| `limit` | integer | no | `3` | min 1; max 5 |
|
|
310
310
|
|
|
311
|
-
- **`query`** — A street address, as a person writes one: street and house number, plus a town or postcode — "
|
|
311
|
+
- **`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
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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
313
313
|
- **`limit`** — How many results to return (1–5, default 3) — more than one means the same address carries more than one OpenStreetMap object.
|
|
314
314
|
|
|
@@ -347,7 +347,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
347
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 because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
348
348
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
349
349
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
350
|
-
- **`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 ("
|
|
350
|
+
- **`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.
|
|
351
351
|
- **`radius_km`** — Search radius around place or lat+lon in kilometres (1–15, default 5). This tool answers "what is around me", not "search a wide area" — for that, use the specific tool with its own wider radius.
|
|
352
352
|
|
|
353
353
|
### `find_sharing` — Shared bikes nearby
|
|
@@ -371,7 +371,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
371
371
|
- **`limit`** — How many stations to list, nearest first (1–20, default 8). Free-floating bikes are summarised, not listed one by one.
|
|
372
372
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
373
373
|
- **`only_available`** — true (default): list only stations with at least one bike to rent right now. false: also list empty stations, e.g. to find a free dock to return a bike.
|
|
374
|
-
- **`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 ("
|
|
374
|
+
- **`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.
|
|
375
375
|
- **`radius_km`** — Search radius around place or lat+lon in kilometres (0.1–5, default 1). Example: 1
|
|
376
376
|
|
|
377
377
|
### `get_driving_rules` — German driving rules
|
|
@@ -394,7 +394,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
394
394
|
|
|
395
395
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
396
396
|
|
|
397
|
-
>
|
|
397
|
+
> 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). Use when asked whether buses and trains run normally, or a strike, storm or works disrupt them. Do NOT use for a station's departures or a line from a named DEPARTURE station ("RE1 ab Köln Hbf verspätet?"; a destination, "nach …"/"zum …", is not one) — get_train_departures. No per-line figures. Window ≤ 120 min. CC BY-SA (DELFI) or CC BY 4.0 (VBB, Berlin/Brandenburg): show attribution.
|
|
398
398
|
|
|
399
399
|
| parameter | type | required | default | constraints |
|
|
400
400
|
| --- | --- | --- | --- | --- |
|
|
@@ -428,13 +428,13 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
428
428
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
429
429
|
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
430
430
|
- **`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.
|
|
431
|
-
- **`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 ("
|
|
431
|
+
- **`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.
|
|
432
432
|
|
|
433
433
|
### `get_train_departures` — Train departures
|
|
434
434
|
|
|
435
435
|
**Read-only** — it changes nothing. Reaches a third-party source (open world). Idempotent: true. Destructive: false.
|
|
436
436
|
|
|
437
|
-
> Next departures from a German railway station, with platform, delay
|
|
437
|
+
> Next departures from a German railway station, with platform, delay, cancellations. Use when asked when a train, S-Bahn or ICE leaves a named station, or if a train or line from it is late ("RE1 from Köln Hbf late?"); later today ("heute Abend") stays here. A line with no DEPARTURE station ("ist die S1 pünktlich?"; a destination, "nach …"/"zum …", is not one) — check_transit_disruption. Do NOT use for buses, trams, a non-railway stop, another day or a time over 2 h away — get_departures. No destination filter: read the board. ≤ 15 departures, window 120 min. Show the attribution line.
|
|
438
438
|
|
|
439
439
|
| parameter | type | required | default | constraints |
|
|
440
440
|
| --- | --- | --- | --- | --- |
|
|
@@ -456,7 +456,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
456
456
|
|
|
457
457
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
458
458
|
|
|
459
|
-
> Scheduled departures from any German
|
|
459
|
+
> Scheduled departures from any German stop — bus, tram, U-Bahn, S-Bahn, train, ferry — with line, destination, platform. Use when asked when a bus, tram, U-Bahn or ferry goes, or for another DAY or a clock 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. Planned times only: for "is my bus late?" give the plan and say so; 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.
|
|
460
460
|
|
|
461
461
|
| parameter | type | required | default | constraints |
|
|
462
462
|
| --- | --- | --- | --- | --- |
|
|
@@ -468,7 +468,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
468
468
|
| `stop_id` | string | no | — | min length 3; max length 64 |
|
|
469
469
|
| `when` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
470
470
|
|
|
471
|
-
- **`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
|
|
471
|
+
- **`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.
|
|
472
472
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
473
473
|
- **`limit`** — How many departures to return, earliest first (1–15, default 10). The result always says how many more were in the window.
|
|
474
474
|
- **`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.
|
|
@@ -529,14 +529,18 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
529
529
|
|
|
530
530
|
**Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
|
|
531
531
|
|
|
532
|
-
> Ends a watch this conversation opened with watch_situation, so no further
|
|
532
|
+
> 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 ("charger") and, for a road or place, key ("A8", "Bamberg"); 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.
|
|
533
533
|
|
|
534
534
|
| parameter | type | required | default | constraints |
|
|
535
535
|
| --- | --- | --- | --- | --- |
|
|
536
|
+
| `key` | string | no | — | min length 1; max length 200 |
|
|
537
|
+
| `kind` | string | no | — | one of `"road"`, `"station"`, `"region"`, `"place"`, `"weather"`, `"charger"` |
|
|
536
538
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
537
539
|
| `uri` | string | no | — | max length 64 |
|
|
538
540
|
| `watch_id` | integer | no | — | min 1; max 9007199254740991 |
|
|
539
541
|
|
|
542
|
+
- **`key`** — Instead of an id: the watched subject in the person's words, as watch_situation took it — works for road and place watches ("A8", "Bamberg"). For station, region, weather and charger watches `kind` alone is enough when one is open, and a key that matches none of them falls back to the kind alone. Matched against this session's open watches, case and spaces ignored. One match is stopped; several are listed and none is stopped.
|
|
543
|
+
- **`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.
|
|
540
544
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
541
545
|
- **`uri`** — The watch's resource uri, e.g. "viafrei://watch/12". Give either this or `watch_id`, not both.
|
|
542
546
|
- **`watch_id`** — The numeric id of the watch to stop, as `watch_situation` returned it (the 12 in viafrei://watch/12).
|
|
@@ -591,7 +595,7 @@ single call.
|
|
|
591
595
|
|
|
592
596
|
| argument | required | description |
|
|
593
597
|
| --- | --- | --- |
|
|
594
|
-
| `origin` | **yes** | Where the drive starts, as the traveller wrote it. Example: "München" or "
|
|
598
|
+
| `origin` | **yes** | Where the drive starts, as the traveller wrote it. Example: "München" or "Bahnhofstraße 12, 36037 Fulda". |
|
|
595
599
|
| `destination` | **yes** | Where the drive ends, as the traveller wrote it. Example: "Berlin". |
|
|
596
600
|
| `roads` | no | The motorways the route uses, comma-separated, at most five. Example: "A9, A4". Leave it out and the recipe names the obvious ones and says so. |
|
|
597
601
|
| `departure` | no | When the drive starts, in local words or as an ISO-8601 time with offset. Example: "now", "tomorrow 06:30", "2026-09-21T06:30+02:00". Defaults to now. |
|
|
@@ -672,7 +676,7 @@ single call.
|
|
|
672
676
|
|
|
673
677
|
| argument | required | description |
|
|
674
678
|
| --- | --- | --- |
|
|
675
|
-
| `query` | **yes** | The name to resolve, exactly as the traveller wrote it. Example: "Neustadt", "adesso", "
|
|
679
|
+
| `query` | **yes** | The name to resolve, exactly as the traveller wrote it. Example: "Neustadt", "adesso", "Bahnhofstraße 12, 36037 Fulda". |
|
|
676
680
|
| `near` | no | A second place to measure from, used only if find_place answers with more than one candidate for a common name. Example: "Hamburg". |
|
|
677
681
|
| `language` | no | Set this to the language the traveller is writing in: "en" for English, "de" for German. It decides both the language you answer in and the language argument you pass to every tool call in the recipe. Leave it out only when the language is genuinely unclear — the fallback is German, because the road is German. |
|
|
678
682
|
|
|
@@ -703,5 +707,5 @@ single call.
|
|
|
703
707
|
---
|
|
704
708
|
|
|
705
709
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
706
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
710
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-10-08; no tool was invoked to
|
|
707
711
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,69 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.8.30] - 2026-10-08
|
|
9
|
+
|
|
10
|
+
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
11
|
+
relays to. The running server reports 1.8.30 while the registry's latest is 1.8.29, so
|
|
12
|
+
this release moves the package to the server's number and carries whatever had been
|
|
13
|
+
waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
|
|
14
|
+
reference was re-captured from the running server, and the probe reported the surface
|
|
15
|
+
**unchanged** — only the version string and the capture date moved.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- **Listed in the Official MCP Registry as `de.viafrei/mcp`.** The README names
|
|
19
|
+
the entry and its `server.json`, the `llms.txt` summary for AI tools, and the
|
|
20
|
+
published test rounds.
|
|
21
|
+
|
|
22
|
+
## [1.8.29] - 2026-10-07
|
|
23
|
+
|
|
24
|
+
**The bridge catches up with eleven server releases of the 1.8 stabilisation.**
|
|
25
|
+
The package now matches the server's 1.8.29. No tool, prompt or resource was
|
|
26
|
+
added or removed. These releases make answers more precise and easier to
|
|
27
|
+
follow up, and they tune the tool descriptions an assistant chooses by.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- **`stop_watch` can stop a watch by what it watches.** When the watch id is
|
|
31
|
+
not at hand, `kind` with `key` ends a road or place watch ("stop watching
|
|
32
|
+
the A5"), and `kind` alone ends the one station, region, weather or charger
|
|
33
|
+
watch.
|
|
34
|
+
- **Places carry coordinates and their Land.** Place, address and POI lines
|
|
35
|
+
give coordinates and the Bundesland, and categories are named in words
|
|
36
|
+
("Krankenhaus", not a tag). A departures answer prints the stop id, so the
|
|
37
|
+
next question can reuse it.
|
|
38
|
+
- **Parking.** Where no operator or city publishes car parks, `find_parking`
|
|
39
|
+
and `find_nearby` list car parks from OpenStreetMap. These are kept apart
|
|
40
|
+
under ODbL and have no capacity or occupancy. On a search by place with no
|
|
41
|
+
kind given, lorry parks get their own section after the car parks.
|
|
42
|
+
- **Fuel.** A price older than 24 hours is never ranked with current ones.
|
|
43
|
+
When a city has no price, the fuel tools now say why. Opening hours are
|
|
44
|
+
filled in steadily from the price provider.
|
|
45
|
+
- **Roads.** `check_road_status {place}` answers for jams inside a city, and
|
|
46
|
+
takes a road for its Land. A roadworks site is one line however many
|
|
47
|
+
segments it has. Both road tools count sites rather than segments and say
|
|
48
|
+
what is in force now. A yes/no question on whether a road is closed goes to
|
|
49
|
+
`check_road_status`.
|
|
50
|
+
- **Departures.** `get_departures` adds the stops of the same station that
|
|
51
|
+
the timetable lists separately. Answers cover the place named in the
|
|
52
|
+
question and reach 48 hours ahead at any hour. A rail line from a named
|
|
53
|
+
departure station goes to the station's board.
|
|
54
|
+
- **Charging.** "Fast" means at least 50 kW and HPC at least 150 kW
|
|
55
|
+
(`min_power_kw`). A status nobody has confirmed for 30 minutes is shown as
|
|
56
|
+
old.
|
|
57
|
+
- **Answers in English** quote and label the provider's own German text
|
|
58
|
+
rather than translating it, and decimals follow the answer's language.
|
|
59
|
+
Lists and boards say when they are cut short, and duplicates are folded.
|
|
60
|
+
- **Station facilities** tell "none listed" apart from "no data". The
|
|
61
|
+
structured result of `check_station_facilities` gains a `coverage` field,
|
|
62
|
+
and a station the data does not cover now reports `known: false` with
|
|
63
|
+
`reason: "not_covered"` (it was `known: true`). A client reading `known`
|
|
64
|
+
should expect the new value.
|
|
65
|
+
- **Sharing.** The Ruhr's public bike share (metropolradruhr) is read
|
|
66
|
+
directly.
|
|
67
|
+
|
|
68
|
+
### Dependencies
|
|
69
|
+
- **`@modelcontextprotocol/sdk` 1.30.0 to 1.31.0** in the lockfile.
|
|
70
|
+
|
|
8
71
|
## [1.8.18] - 2026-10-06
|
|
9
72
|
|
|
10
73
|
**The bridge catches up with eighteen server releases, and the service enters a
|
|
@@ -2062,6 +2125,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2062
2125
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2063
2126
|
the check red on `main` for everybody, for something no contributor did.
|
|
2064
2127
|
|
|
2128
|
+
[1.8.30]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.30
|
|
2129
|
+
[1.8.29]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.29
|
|
2065
2130
|
[1.8.18]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.18
|
|
2066
2131
|
[1.8.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.0
|
|
2067
2132
|
[1.7.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.5
|
package/README.md
CHANGED
|
@@ -265,29 +265,36 @@ Restart the client and ask one of the questions above.
|
|
|
265
265
|
Connect through Smithery's hosted connection, with no local install.
|
|
266
266
|
- **Glama — [glama.ai/mcp/servers/mavrovde/viafrei-mcp](https://glama.ai/mcp/servers/mavrovde/viafrei-mcp).**
|
|
267
267
|
The directory listing for this repository, with the tool list.
|
|
268
|
+
- **Official MCP Registry — `de.viafrei/mcp`.** The hosted endpoint, as MCP
|
|
269
|
+
clients and directories that read the [registry](https://registry.modelcontextprotocol.io)
|
|
270
|
+
find it; [`server.json`](server.json) is the entry. It is the registry's own record,
|
|
271
|
+
republished by hand when the listing changes, so its version may differ from this package's.
|
|
272
|
+
- **For AI tools — [viafrei.de/llms.txt](https://viafrei.de/llms.txt)** and
|
|
273
|
+
[llms-full.txt](https://viafrei.de/llms-full.txt): what ViaFrei is, how to
|
|
274
|
+
connect, and every tool in one line each.
|
|
268
275
|
|
|
269
276
|
## 🧰 Everything it can do
|
|
270
277
|
|
|
271
278
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
272
279
|
|
|
273
|
-
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.8.
|
|
280
|
+
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.8.30, snapshot of 2026-10-08. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
274
281
|
|
|
275
282
|
#### 🚗 On the road
|
|
276
283
|
|
|
277
284
|
| tool | what it answers |
|
|
278
285
|
|---|---|
|
|
279
|
-
| [`check_autobahn_traffic`](API.md#check_autobahn_traffic--autobahn-traffic) — Autobahn traffic |
|
|
280
|
-
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures |
|
|
286
|
+
| [`check_autobahn_traffic`](API.md#check_autobahn_traffic--autobahn-traffic) — Autobahn traffic | Jams, slow traffic, closures and roadworks in force this minute on up to 5 motorways, with delay/speed. |
|
|
287
|
+
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Whether a motorway, B road or Land road (NI, SN, TH) is open, closed or restricted, now and in coming days; by place, jams and city/Land messages near a town. |
|
|
281
288
|
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns roadworks PLANNED on one German motorway, or one Bundes- or Landesstraße in Niedersachsen, Sachsen or Thüringen, in a date window: section, restriction, start and end. |
|
|
282
|
-
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and
|
|
289
|
+
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway: rest areas with lorry spaces, car parks and P+R sites, with total spaces and, where published, free spaces now and the reading's age. |
|
|
283
290
|
|
|
284
291
|
#### 🚆 Public transport
|
|
285
292
|
|
|
286
293
|
| tool | what it answers |
|
|
287
294
|
|---|---|
|
|
288
|
-
| [`get_train_departures`](API.md#get_train_departures--train-departures) — Train departures | Next departures from a German railway station, with platform, delay
|
|
289
|
-
| [`get_departures`](API.md#get_departures--scheduled-departures-bus-tram-train) — Scheduled departures (bus, tram, train) | Scheduled departures from any German
|
|
290
|
-
| [`check_transit_disruption`](API.md#check_transit_disruption--public-transport-disruption-in-a-region) — Public-transport disruption in a region |
|
|
295
|
+
| [`get_train_departures`](API.md#get_train_departures--train-departures) — Train departures | Next departures from a German railway station, with 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 — with line, destination, platform. |
|
|
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). |
|
|
291
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. |
|
|
292
299
|
|
|
293
300
|
#### ⚡ Charging and fuel
|
|
@@ -326,7 +333,7 @@ Restart the client and ask one of the questions above.
|
|
|
326
333
|
| tool | what it answers |
|
|
327
334
|
|---|---|
|
|
328
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 starting, a charge point turning free. |
|
|
329
|
-
| [`stop_watch`](API.md#stop_watch--stop-a-watch) — Stop a watch | Ends a watch this conversation opened with watch_situation, so no further
|
|
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. |
|
|
330
337
|
|
|
331
338
|
#### 🧭 Prompts — ready-made briefings
|
|
332
339
|
|
|
@@ -377,6 +384,8 @@ Walkthroughs that chain several tools, each naming what comes back:
|
|
|
377
384
|
- 🚚 [Fleet and logistics briefings](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-Fleet-and-logistics-briefings): a dispatcher's morning brief, and watches that report a change instead of being polled.
|
|
378
385
|
- 🗺️ [Building a local guide agent](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-Building-a-local-guide-agent): a vague place to coordinates and back, and what OpenStreetMap's licence asks of you.
|
|
379
386
|
|
|
387
|
+
How well it answers, measured: [test rounds](https://github.com/mavrovde/viafrei-mcp/wiki/Test-rounds), 1000 questions in German and English against production, with every finding published.
|
|
388
|
+
|
|
380
389
|
## 🛠️ For developers
|
|
381
390
|
|
|
382
391
|
**It's plain MCP over HTTP.** You can call it without an SDK:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.30",
|
|
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",
|