viafrei 1.9.17 → 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 +13 -13
- package/CHANGELOG.md +100 -0
- package/README.md +16 -16
- 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` |
|
|
@@ -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
|
| --- | --- | --- | --- | --- |
|
|
@@ -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
|
-
> 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
|
| --- | --- | --- | --- | --- |
|
|
@@ -274,7 +274,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
274
274
|
|
|
275
275
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
276
276
|
|
|
277
|
-
> 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.
|
|
278
278
|
|
|
279
279
|
| parameter | type | required | default | constraints |
|
|
280
280
|
| --- | --- | --- | --- | --- |
|
|
@@ -318,7 +318,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
318
318
|
|
|
319
319
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
320
320
|
|
|
321
|
-
> 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.
|
|
322
322
|
|
|
323
323
|
| parameter | type | required | default | constraints |
|
|
324
324
|
| --- | --- | --- | --- | --- |
|
|
@@ -460,7 +460,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
460
460
|
|
|
461
461
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
462
462
|
|
|
463
|
-
> 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.
|
|
464
464
|
|
|
465
465
|
| parameter | type | required | default | constraints |
|
|
466
466
|
| --- | --- | --- | --- | --- |
|
|
@@ -504,20 +504,20 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
504
504
|
|
|
505
505
|
**Not read-only** — it creates or removes state. Answers from data this service already holds (closed world). Idempotent: false. Destructive: false.
|
|
506
506
|
|
|
507
|
-
> 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.
|
|
508
508
|
|
|
509
509
|
| parameter | type | required | default | constraints |
|
|
510
510
|
| --- | --- | --- | --- | --- |
|
|
511
511
|
| `key` | string | **yes** | — | min length 1; max length 200 |
|
|
512
512
|
| `kind` | string | **yes** | — | one of `"road"`, `"station"`, `"region"`, `"place"`, `"weather"`, `"charger"` |
|
|
513
|
-
| `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` |
|
|
514
514
|
| `hours` | number | no | — | min 0.25; max 24 |
|
|
515
515
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
516
516
|
| `until` | string | no | — | format `date-time`; pattern (288 characters — see the description; the `format` above is the short answer) |
|
|
517
517
|
|
|
518
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
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.
|
|
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.
|
|
521
521
|
- `delay_min` (integer, min 1; max 600) — station: minutes of delay that count as a disruption (default 10).
|
|
522
522
|
- `late_share` (number, min 0.01; max 1) — region: share of observed trips running late that trips the watch (default 0.25).
|
|
523
523
|
- `min_trips` (integer, min 1; max 10000) — region: below this many observed trips the share is noise (default 10).
|
|
@@ -700,7 +700,7 @@ single call.
|
|
|
700
700
|
|
|
701
701
|
*Say where a coordinate is — Sagen, wo eine Koordinate liegt*
|
|
702
702
|
|
|
703
|
-
> 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.
|
|
704
704
|
|
|
705
705
|
| argument | required | description |
|
|
706
706
|
| --- | --- | --- |
|
|
@@ -711,5 +711,5 @@ single call.
|
|
|
711
711
|
---
|
|
712
712
|
|
|
713
713
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
714
|
-
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
|
|
715
715
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,105 @@ 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
|
+
|
|
8
107
|
## [1.9.17] - 2026-10-11
|
|
9
108
|
|
|
10
109
|
**English answers, watches by name, and new roadworks, road-weather and parking data.**
|
|
@@ -2400,6 +2499,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2400
2499
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2401
2500
|
the check red on `main` for everybody, for something no contributor did.
|
|
2402
2501
|
|
|
2502
|
+
[2.0.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.0.9
|
|
2403
2503
|
[1.9.17]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.17
|
|
2404
2504
|
[1.9.13]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.13
|
|
2405
2505
|
[1.9.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.9
|
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
|
|
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
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 |
|
|
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
|
|
@@ -332,7 +332,7 @@ Restart the client and ask one of the questions above.
|
|
|
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",
|