viafrei 2.7.2 → 2.7.3
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 +2 -2
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -17,7 +17,7 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei` 2.7.
|
|
20
|
+
| Server | `viafrei` 2.7.3 (set by hand; the capture is of 2.6.40 and is taken again after the 2.7.3 deploy) |
|
|
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 |
|
|
@@ -554,7 +554,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
554
554
|
- **`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.
|
|
555
555
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out: it defaults to German ("de"), which is only the fallback when the language is genuinely unclear, so an English question sent without it is answered in German — a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.
|
|
556
556
|
- **`lat`** — Latitude in WGS 84, e.g. 50.551 — with lon, the nearest stops around a point the caller already holds. Use place for a named place.
|
|
557
|
-
- **`limit`** — How many departures to return, earliest first (1–15, default 10). The result always says how many more were in the window.
|
|
557
|
+
- **`limit`** — How many departures to return, earliest first (1–15, default 10). With only a place or a position this is per stop (default 4, for each of up to 8 nearest stops). The result always says how many more were in the window.
|
|
558
558
|
- **`lon`** — Longitude in WGS 84, e.g. 9.676. Use with lat.
|
|
559
559
|
- **`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.
|
|
560
560
|
- **`place`** — A place to list the nearest stops around, when the person names no one stop: a town, district or address ("Bahnhofstraße 12, Fulda", "Köln-Ehrenfeld"). Lists the nearest stops within 5 km with their next departures, as viafrei.de's place page does. Give exactly one of stop, stop_id, place or lat+lon.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.7.3] - 2026-11-24
|
|
9
|
+
|
|
10
|
+
**Three answers say what the API already returns.** The server's tools, prompts and resources are those of 2.7.2, and one parameter's text (`limit` of `get_departures`) now says it counts per stop around a place; what changes is how `get_departures`, `check_road_status` and `check_weather_warnings` word their answers.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **`get_departures` around a place or a position** reads the boards of up to 8 nearest stops within 5 km, one per stop code, each with its board and the realtime state (+N min with the expected time, on time, cancelled, no forecast, timetable). A place the place search lacks is found as a stop of that name, taken only in the town the place names. A station id the answer prints is accepted back and goes straight to its board. A board that fails is said for its stop, an empty one with the time it was read until, and when every board fails the answer is the API's failure as an error. The catalogue's `limit` text says it is per stop around a place.
|
|
14
|
+
- **`check_road_status` for a motorway** reads 100 rows, reads the same event once, sorts closures first and only then cuts; the tail counts the deduplicated rest and its closures. The answer opens with counts from the lamp reasons (without an article), and gives the provider's headline, subtitle, a description excerpt and its validity; a one-sided validity says from or until.
|
|
15
|
+
- **`check_weather_warnings`** gives each warning its level of 4, the DWD event word, the warn area and cell, and says "in force since" only for a warning the API says is in force.
|
|
16
|
+
|
|
8
17
|
## [2.7.2] - 2026-11-23
|
|
9
18
|
|
|
10
19
|
**2.7.1 was tagged and its image built, but its npm publish was stopped again: 7 of the 8 mutation shards ran past the 15-minute job limit. 2.7.2 carries the fix and everything 2.7.1 holds.** The server's tools, prompts and resources and what they answer are those of 2.7.1.
|
|
@@ -4569,6 +4578,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
4569
4578
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
4570
4579
|
the check red on `main` for everybody, for something no contributor did.
|
|
4571
4580
|
|
|
4581
|
+
[2.7.3]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.3
|
|
4572
4582
|
[2.7.2]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.2
|
|
4573
4583
|
[2.7.1]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.1
|
|
4574
4584
|
[2.7.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.7.0
|
package/README.md
CHANGED
|
@@ -2336,7 +2336,7 @@ Restart the client and ask one of the questions above.
|
|
|
2336
2336
|
|
|
2337
2337
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
2338
2338
|
|
|
2339
|
-
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.
|
|
2339
|
+
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.7.3, snapshot of 2026-11-20. The version 2.7.3 was set by hand; the capture is of 2.6.40 and is taken again after the 2.7.3 deploy. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
2340
2340
|
|
|
2341
2341
|
#### 🚗 On the road
|
|
2342
2342
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "The German Real-Time Mobility Context Platform for AI: live motorway traffic and roadworks, trains and buses, parking, charging, fuel and weather in your AI assistant - MCP, no API key, no sign-up. stdio bridge to the hosted ViaFrei MCP server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|