viafrei 1.8.0 → 1.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +46 -22
- package/CHANGELOG.md +57 -0
- package/NOTICE +17 -8
- package/README.md +100 -75
- package/SOURCES.md +503 -449
- 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-06.** 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,12 +17,12 @@ 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.18 |
|
|
21
21
|
| MCP protocol | `2025-06-18` |
|
|
22
22
|
| Streamable HTTP | https://mcp.viafrei.de/mcp |
|
|
23
23
|
| Legacy HTTP+SSE | https://mcp.viafrei.de/sse |
|
|
24
|
-
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
25
|
-
| Surface |
|
|
24
|
+
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-06 |
|
|
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` |
|
|
28
28
|
|
|
@@ -31,7 +31,7 @@ No API key. No account. No sign-up.
|
|
|
31
31
|
## Contents
|
|
32
32
|
|
|
33
33
|
- [How to read a result](#how-to-read-a-result)
|
|
34
|
-
- [Tools](#tools) —
|
|
34
|
+
- [Tools](#tools) — 21
|
|
35
35
|
- [Resources](#resources) — 10
|
|
36
36
|
- [Resource templates](#resource-templates) — 2
|
|
37
37
|
- [Prompts](#prompts) — 9
|
|
@@ -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
|
|
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.
|
|
62
62
|
|
|
63
63
|
## Tools
|
|
64
64
|
|
|
@@ -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
|
-
> Returns whether
|
|
177
|
+
> Returns whether a motorway, Bundesstraße or Land road (NI, SN, TH) is open, closed or restricted, now and in coming days; by place, city/Land messages near it, not one named street. Use when asked if a road is open/passable — "ist die A8 in diesem Moment gesperrt", "komme ich durch", at any clock, plus closures tonight, this weekend or with no time word. Do NOT use for jams, delays, a multi-motorway route, or what a motorway reports this minute — check_autobahn_traffic; roadworks over a date window — find_roadworks_ahead. One road per call, ≤ 14 days, ≤ 11 entries. Show the attribution line.
|
|
178
178
|
|
|
179
179
|
| parameter | type | required | default | constraints |
|
|
180
180
|
| --- | --- | --- | --- | --- |
|
|
@@ -184,31 +184,31 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
184
184
|
| `limit` | integer | no | `10` | min 1; max 11 |
|
|
185
185
|
| `lon` | number | no | — | min -180; max 180 |
|
|
186
186
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
187
|
-
| `road` | string | no | — | pattern `^[ABab] ?\d{1,3}$` |
|
|
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.
|
|
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
|
-
- **`limit`** — Maximum entries to return (1–11, default 10).
|
|
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
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 ("A7"), or a street address with a house number ("Hauptstraße 12, 36037 Fulda"). 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". "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. Give exactly one of road, place, or lat+lon.
|
|
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. Give exactly one of road, place, or lat+lon.
|
|
196
196
|
|
|
197
197
|
### `find_roadworks_ahead` — Planned roadworks
|
|
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 German motorway, or
|
|
201
|
+
> 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. Use when a date or window is named, the question says geplant, or how long a site lasts ("Baustellen auf der A7 in den Sommerferien?"). ONE road 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 — call check_road_status. ≤ 92 days, max 20 sites. Show the attribution line.
|
|
202
202
|
|
|
203
203
|
| parameter | type | required | default | constraints |
|
|
204
204
|
| --- | --- | --- | --- | --- |
|
|
205
|
-
| `road` | string | **yes** | — | pattern `^[AaBb] ?\d{1,3}$` |
|
|
205
|
+
| `road` | string | **yes** | — | pattern `^(?:[AaBb] ?\d{1,3}\|[LlSs] ?\d{1,4})$` |
|
|
206
206
|
| `from` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
207
207
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
208
208
|
| `limit` | integer | no | `10` | min 1; max 20 |
|
|
209
209
|
| `to` | string | no | — | pattern `^\d{4}-\d{2}-\d{2}$` |
|
|
210
210
|
|
|
211
|
-
- **`road`** — The road to look at, one per call: an Autobahn, e.g. "A7" or "A100", or a Bundesstraße in Niedersachsen, e.g. "B6" — "A7", "A 7" and "a7" are the same road.
|
|
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
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 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.
|
|
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.
|
|
@@ -277,7 +277,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
277
277
|
| parameter | type | required | default | constraints |
|
|
278
278
|
| --- | --- | --- | --- | --- |
|
|
279
279
|
| `name` | string | **yes** | — | min length 2; max length 120 |
|
|
280
|
-
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"building"` |
|
|
280
|
+
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"historic"`, `"natural"`, `"building"` |
|
|
281
281
|
| `in` | string | no | — | max length 120 |
|
|
282
282
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
283
283
|
| `lat` | number | no | — | min -90; max 90 |
|
|
@@ -287,7 +287,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
287
287
|
| `radius_km` | number | no | `10` | min 1; max 50 |
|
|
288
288
|
|
|
289
289
|
- **`name`** — The name of the thing to find — a company, shop, clinic, hotel, office or landmark. Part of the name is enough: "adesso" finds "adesso SE". A chain name works too, because brands are matched as well as names.
|
|
290
|
-
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant), "healthcare", "tourism" (hotels, attractions), "leisure", "industrial" or "building". Omit unless the person was specific.
|
|
290
|
+
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant, town hall), "healthcare", "tourism" (hotels, attractions), "leisure", "industrial", "historic" (castles, monuments, city gates), "natural" (mountain peaks) or "building". Omit unless the person was specific.
|
|
291
291
|
- **`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
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 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.
|
|
293
293
|
- **`lat`** — Latitude of the point to search around, when the caller already holds a coordinate.
|
|
@@ -350,6 +350,30 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
350
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 ("A7"), or a street address with a house number ("Hauptstraße 12, 36037 Fulda"). 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
|
+
### `find_sharing` — Shared bikes nearby
|
|
354
|
+
|
|
355
|
+
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
356
|
+
|
|
357
|
+
> Returns rentable shared bikes near a place or coordinate: bike-sharing stations with bikes and free docks now, and free-floating bikes around, with distance and data age (nextbike incl. KVB Rad, MyRadl, VAG_Rad; Donkey Republic). Use when someone asks for a rental or shared bike ("Leihrad", "Fahrradverleih", "nächstes nextbike", "bike share near me"). Do NOT use for parking (find_parking) or a general look around a place (find_nearby). Radius ≤ 5 km, ≤ 20 stations; e-scooters are not covered. Shows each source's attribution.
|
|
358
|
+
|
|
359
|
+
| parameter | type | required | default | constraints |
|
|
360
|
+
| --- | --- | --- | --- | --- |
|
|
361
|
+
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
362
|
+
| `lat` | number | no | — | min -90; max 90 |
|
|
363
|
+
| `limit` | integer | no | `8` | min 1; max 20 |
|
|
364
|
+
| `lon` | number | no | — | min -180; max 180 |
|
|
365
|
+
| `only_available` | boolean | no | `true` | — |
|
|
366
|
+
| `place` | string | no | — | min length 1; max length 120 |
|
|
367
|
+
| `radius_km` | number | no | `1` | min 0.1; max 5 |
|
|
368
|
+
|
|
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 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.
|
|
370
|
+
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
371
|
+
- **`limit`** — How many stations to list, nearest first (1–20, default 8). Free-floating bikes are summarised, not listed one by one.
|
|
372
|
+
- **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
|
|
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 ("A7"), or a street address with a house number ("Hauptstraße 12, 36037 Fulda"). 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
|
+
- **`radius_km`** — Search radius around place or lat+lon in kilometres (0.1–5, default 1). Example: 1
|
|
376
|
+
|
|
353
377
|
### `get_driving_rules` — German driving rules
|
|
354
378
|
|
|
355
379
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
@@ -370,7 +394,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
370
394
|
|
|
371
395
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
372
396
|
|
|
373
|
-
> Returns how punctual public transport is right now in one German region: the share of distinct trips at least once more than 5 minutes late, trips with a cancelled stop, the trend
|
|
397
|
+
> Returns how punctual public transport is right now in one German region: the share of distinct trips at least once more than 5 minutes late, trips with a cancelled stop, the trend, and the published service alerts in force there (diversions, closed stops, by line). Use when the user asks whether buses and trains are running normally, or whether a strike, storm or works disrupt local transport. Do NOT use for one trip or station's departures (use get_train_departures); delay figures are not per line. Window ≤ 120 min. CC BY-SA (DELFI) or CC BY 4.0 (VBB, Berlin/Brandenburg): show attribution.
|
|
374
398
|
|
|
375
399
|
| parameter | type | required | default | constraints |
|
|
376
400
|
| --- | --- | --- | --- | --- |
|
|
@@ -456,7 +480,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
456
480
|
|
|
457
481
|
**Read-only** — it changes nothing. Reaches a third-party source (open world). Idempotent: true. Destructive: false.
|
|
458
482
|
|
|
459
|
-
> Report whether a German railway station
|
|
483
|
+
> 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. Use when asked about step-free access or a broken lift: "Funktioniert der Aufzug am Kölner Hauptbahnhof?", "is the lift at Hamburg Hbf working?", "Rolltreppe am Neumarkt kaputt?", wheelchair, pram, heavy luggage. Do NOT use for train times, platforms or delays — call get_train_departures. At most 50 facilities, out-of-service ones first. Results carry their attribution line.
|
|
460
484
|
|
|
461
485
|
| parameter | type | required | default | constraints |
|
|
462
486
|
| --- | --- | --- | --- | --- |
|
|
@@ -470,7 +494,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
470
494
|
- **`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.
|
|
471
495
|
- **`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.
|
|
472
496
|
- **`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.
|
|
473
|
-
- **`station`** — The railway station
|
|
497
|
+
- **`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.
|
|
474
498
|
|
|
475
499
|
### `watch_situation` — Watch for a change
|
|
476
500
|
|
|
@@ -541,7 +565,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
541
565
|
- **`viafrei://status/feeds`** — Per feed: is it still arriving? green (a cycle inside the feed's own freshness window), red (stale or errored) or grey (never ran here). Subscribe to be told when a feed changes colour.
|
|
542
566
|
- **`viafrei://watches`** — The watches THIS conversation has open, with what each one is watching and when it expires. Session-scoped: another conversation's watches are not listed and cannot be reached.
|
|
543
567
|
- **`viafrei://gazetteer`** — What the place index (gazetteer_places) holds: rows and last load per source and kind, how many carry an English name, and the sixteen Länder it can name — the coverage behind find_place/find_poi/find_nearby's place answers.
|
|
544
|
-
- **`viafrei://addresses`** — What the OSM-derived address table (osm_addresses) holds per Bundesland —
|
|
568
|
+
- **`viafrei://addresses`** — What the OSM-derived address table (osm_addresses) holds per Bundesland — the Länder and each one's extract date read from the rows, the row counts estimated from the planner's statistics and labelled so — plus the ODbL § 4.6 offer owed to anyone who receives an address-derived result.
|
|
545
569
|
|
|
546
570
|
## Resource templates
|
|
547
571
|
|
|
@@ -577,7 +601,7 @@ single call.
|
|
|
577
601
|
|
|
578
602
|
*Drive or take the train? — Auto oder Bahn?*
|
|
579
603
|
|
|
580
|
-
> Weighs one trip by car against the same trip by rail: closures and live jams on the motorway side, the next departures and the region's punctuality on the rail side, as two paragraphs the traveller can compare. Use when the traveller has not decided how to travel. Do NOT use once the decision is made — brief the drive with plan_departure, the rail leg with plan_commute. The punctuality figures
|
|
604
|
+
> Weighs one trip by car against the same trip by rail: closures and live jams on the motorway side, the next departures and the region's punctuality on the rail side, as two paragraphs the traveller can compare. Use when the traveller has not decided how to travel. Do NOT use once the decision is made — brief the drive with plan_departure, the rail leg with plan_commute. The punctuality figures keep their own attribution (share-alike unless VBB answered); show every attribution line.
|
|
581
605
|
|
|
582
606
|
| argument | required | description |
|
|
583
607
|
| --- | --- | --- |
|
|
@@ -618,7 +642,7 @@ single call.
|
|
|
618
642
|
|
|
619
643
|
*Plan today's commute by train — Pendelfahrt für heute planen*
|
|
620
644
|
|
|
621
|
-
> Plans one public-transport leg on the day itself: the next departures from the station with delays, platforms and cancellations, and whether the region's buses and trains are running normally at this hour. Use when the train is already the decision — a daily commute, or any leg where they need the next departures and nothing else. Do NOT use to weigh rail against driving — that is compare_travel_options — and not for motorway traffic, which is plan_departure. The punctuality figures
|
|
645
|
+
> Plans one public-transport leg on the day itself: the next departures from the station with delays, platforms and cancellations, and whether the region's buses and trains are running normally at this hour. Use when the train is already the decision — a daily commute, or any leg where they need the next departures and nothing else. Do NOT use to weigh rail against driving — that is compare_travel_options — and not for motorway traffic, which is plan_departure. The punctuality figures (share-alike unless VBB answered) stay in their own paragraph; show every attribution line.
|
|
622
646
|
|
|
623
647
|
| argument | required | description |
|
|
624
648
|
| --- | --- | --- |
|
|
@@ -679,5 +703,5 @@ single call.
|
|
|
679
703
|
---
|
|
680
704
|
|
|
681
705
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
682
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
706
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-10-06; no tool was invoked to
|
|
683
707
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,62 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.8.18] - 2026-10-06
|
|
9
|
+
|
|
10
|
+
**The bridge catches up with eighteen server releases, and the service enters a
|
|
11
|
+
stabilisation phase.** The package now matches the server's 1.8.18. Since 1.8.0 the
|
|
12
|
+
server has gained a twenty-first tool, many more sources and a large round of
|
|
13
|
+
fixes. This release describes them, and it carries the beta notice the server's
|
|
14
|
+
instructions already give.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- **`find_sharing`** — shared bikes near a place, from nextbike's and Donkey
|
|
18
|
+
Republic's public GBFS feeds (CC0 1.0): stations with bikes and free docks
|
|
19
|
+
now, and free-floating bikes around, with distance and data age (within 5 km;
|
|
20
|
+
e-scooters are not covered). It is read-only, and the README lists it under
|
|
21
|
+
its own group.
|
|
22
|
+
- **More road sources:** police and city traffic reports from Baden-Württemberg,
|
|
23
|
+
Schleswig-Holstein and Berlin (and from Köln and Hannover whenever those
|
|
24
|
+
cities publish one), roadworks on state roads in Niedersachsen, and on
|
|
25
|
+
federal and state roads in Sachsen and Thüringen.
|
|
26
|
+
- **Berlin and Brandenburg punctuality** from VBB's own realtime feed (CC BY
|
|
27
|
+
4.0). DELFI remains the source for the rest of Germany.
|
|
28
|
+
- **Charging:** the Bundesnetzagentur charging register, and live status from
|
|
29
|
+
more operators.
|
|
30
|
+
- **Parking:** car parks in Hamburg, Münster and North Rhine-Westphalia, and
|
|
31
|
+
occupancy where the operator publishes it.
|
|
32
|
+
- **SOURCES.md** now has one row for every source in the server's
|
|
33
|
+
`viafrei://attribution` resource, with its attribution line, its licence and a
|
|
34
|
+
status measured on 2026-10-06 from 1,081 real answers.
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
- **Beta notice.** ViaFrei is being stabilised: sources are still being added,
|
|
38
|
+
and answers and coverage can change. Answers are written by an AI assistant
|
|
39
|
+
from our data and can contain mistakes. Check anything important (a closure,
|
|
40
|
+
a departure, a price) against the source the answer names. The README says
|
|
41
|
+
this at the top.
|
|
42
|
+
- Tool descriptions were refined for `check_road_status`, `find_roadworks_ahead`,
|
|
43
|
+
`find_poi`, `check_transit_disruption` and `check_station_facilities`. So were
|
|
44
|
+
the `viafrei://addresses` resource and the `compare_travel_options` and
|
|
45
|
+
`plan_commute` prompts. `API.md` and the README catalogue are regenerated from
|
|
46
|
+
the running server.
|
|
47
|
+
- **New parameter values.** `find_poi`'s `category` accepts `historic` and
|
|
48
|
+
`natural`; the `road` argument of `check_road_status` and
|
|
49
|
+
`find_roadworks_ahead` accepts state roads (`L 3`, `S 84`) as well as
|
|
50
|
+
motorways and federal roads.
|
|
51
|
+
- **New server instructions.** The `initialize` instructions now name the
|
|
52
|
+
source families and ask clients to show `_meta.conditionNote` verbatim, as
|
|
53
|
+
they already show `purposeNote`: some sources attach a condition to how
|
|
54
|
+
their data may be shown.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
- **Punctuality for a whole region answers again.** Large regions such as Bayern,
|
|
58
|
+
Nordrhein-Westfalen, Hamburg, München, Köln, Rhein-Main and the Ruhr area had
|
|
59
|
+
stopped answering after 10 seconds. They now answer in 0.3–4 seconds. One
|
|
60
|
+
Land, Niedersachsen, is still being fixed.
|
|
61
|
+
- **A Berlin/Brandenburg answer no longer states a licence limit that VBB does
|
|
62
|
+
not set.**
|
|
63
|
+
|
|
8
64
|
## [1.8.0] - 2026-10-05
|
|
9
65
|
|
|
10
66
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -2006,6 +2062,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2006
2062
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2007
2063
|
the check red on `main` for everybody, for something no contributor did.
|
|
2008
2064
|
|
|
2065
|
+
[1.8.18]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.18
|
|
2009
2066
|
[1.8.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.0
|
|
2010
2067
|
[1.7.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.5
|
|
2011
2068
|
[1.7.4]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.4
|
package/NOTICE
CHANGED
|
@@ -10,10 +10,11 @@ keeps its provider's own terms. Those terms travel with the answer, not with
|
|
|
10
10
|
this package, and several of them are share-alike or purpose-limited. In
|
|
11
11
|
particular:
|
|
12
12
|
|
|
13
|
-
- DELFI public-transport
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
- DELFI's public-transport realtime and disruption feeds are Creative Commons
|
|
14
|
+
Attribution-ShareAlike (its static timetable and stop directory are CC BY
|
|
15
|
+
4.0). The catalogue records for the two realtime feeds name no version (see
|
|
16
|
+
SOURCES.md), so treat the share-alike as applying and do not rely on a
|
|
17
|
+
version for a derivative. Share-alike reaches ADAPTATIONS, not aggregations: if you
|
|
17
18
|
recompute, reshape or rearrange the data you must license that under BY-SA -
|
|
18
19
|
art. 1(a) of the 4.0 text names material "translated, altered, arranged,
|
|
19
20
|
transformed, or otherwise modified", so a rearrangement is inside the
|
|
@@ -21,8 +22,10 @@ particular:
|
|
|
21
22
|
is an aggregation and puts no obligation on the other source. Which version
|
|
22
23
|
applies is the open question SOURCES.md sets out; the words above are quoted
|
|
23
24
|
from 4.0 because that is the text we read.
|
|
24
|
-
- MTS-K fuel prices (Tankerkönig) are consumer information only
|
|
25
|
-
|
|
25
|
+
- MTS-K fuel prices (Tankerkönig) are consumer information only: any other
|
|
26
|
+
use is unlawful in any form, aggregates and derived tables included, and the
|
|
27
|
+
data must never reach the fuel industry or its IT providers. We ask for no
|
|
28
|
+
redistribution at all.
|
|
26
29
|
- Address, point-of-interest and place results can be derived from
|
|
27
30
|
OpenStreetMap under the ODbL 1.0. What decides it is which TABLE answered,
|
|
28
31
|
not which tool you called: place resolution falls through our own gazetteer
|
|
@@ -35,8 +38,14 @@ particular:
|
|
|
35
38
|
them, under ODbL 1.0 and free of charge. Ask by opening an issue on this
|
|
36
39
|
repository, or by the e-mail address in the Impressum at
|
|
37
40
|
https://viafrei.de/impressum if you have no GitHub account.
|
|
38
|
-
-
|
|
39
|
-
|
|
41
|
+
- Lorry parking from Trucklounge Ecopark (ENMO GmbH & Co.KG) is a second,
|
|
42
|
+
separate ODbL 1.0 database, and P+R NRW (NRW.Mobidrom) is CC BY-SA. Both
|
|
43
|
+
come back in lists of their own, and both are offered on request, free of
|
|
44
|
+
charge, as SOURCES.md describes.
|
|
45
|
+
- Every other source - Autobahn GmbH, BKG, DWD, Deutsche Bahn, GeoNames, VBB,
|
|
46
|
+
the Bundesnetzagentur, the charging, parking, traffic-message and
|
|
47
|
+
bike-sharing feeds - carries its own licence and attribution string, and a
|
|
48
|
+
few carry a condition of use that the answer states.
|
|
40
49
|
|
|
41
50
|
Every tool result from the server carries its own attribution line, and the
|
|
42
51
|
server exposes the full register at the resource `viafrei://attribution`. Show
|