viafrei 1.9.8 → 1.9.13
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 +7 -7
- package/CHANGELOG.md +71 -0
- package/README.md +3 -3
- 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-11.** 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.9.
|
|
20
|
+
| Server | `viafrei` 1.9.13 |
|
|
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-11 |
|
|
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
|
-
> Returns parking near a place, a coordinate or along one motorway:
|
|
149
|
+
> Returns 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. Show each source's attribution.
|
|
150
150
|
|
|
151
151
|
| parameter | type | required | default | constraints |
|
|
152
152
|
| --- | --- | --- | --- | --- |
|
|
@@ -160,7 +160,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
160
160
|
| `radius_km` | number | no | `10` | min 1; max 25 |
|
|
161
161
|
| `road` | string | no | — | max length 16 |
|
|
162
162
|
|
|
163
|
-
- **`kind`** — Which kind of parking: "
|
|
163
|
+
- **`kind`** — Which kind of parking: "car_park" = public car park (Parkhaus/Parkplatz), "park_and_ride" = P+R beside a station, "truck" = lorry parking, "any" = all of them. Default "any". Rest areas are NOT a kind we can filter: no source we hold classifies them, so for "Rastanlage"/"Raststätte"/"rest area" leave kind out ("truck" when lorry spaces were asked for); "rest_area" is still accepted and answered as "any", with a sentence saying why. Pass a kind only when the person named one — a lorry driver asking for a break wants "truck", someone leaving the car for the train wants "park_and_ride". A camper, a caravan or a coach is none of these: leave the argument out rather than filtering a tourist into lorry bays.
|
|
164
164
|
- **`language`** — Set this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out 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.
|
|
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).
|
|
@@ -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 road or Land road (NI, SN, TH) is open, closed
|
|
177
|
+
> Whether a motorway, B road or Land road (NI, SN, TH: pass the Land/town as place) is open, closed, restricted, now or in coming days; by place, jams and city/Land messages. 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 multi-motorway route — check_autobahn_traffic; roadworks in a date window — find_roadworks_ahead; city street: not held, say so. One road/place per call, ≤ 14 days, ≤ 11 entries. Show attribution.
|
|
178
178
|
|
|
179
179
|
| parameter | type | required | default | constraints |
|
|
180
180
|
| --- | --- | --- | --- | --- |
|
|
@@ -709,5 +709,5 @@ single call.
|
|
|
709
709
|
---
|
|
710
710
|
|
|
711
711
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
712
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-10-
|
|
712
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-10-11; no tool was invoked to
|
|
713
713
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,75 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.9.13] - 2026-10-11
|
|
9
|
+
|
|
10
|
+
**Fuel prices fetched when you ask, Hamburg police messages, and live car parks in
|
|
11
|
+
Wuppertal and Dortmund.** The package now matches the server's 1.9.13 and covers the
|
|
12
|
+
server releases 1.9.10 to 1.9.13. 1.9.10 to 1.9.12 were never published as packages;
|
|
13
|
+
their changes are described here. No tool, prompt or resource was added or removed,
|
|
14
|
+
and no argument was added. Two tool descriptions changed (`find_parking` and
|
|
15
|
+
`check_road_status`). The bridge itself is unchanged apart from its version and the
|
|
16
|
+
re-captured reference.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Fuel prices are fetched when someone asks.** When `find_cheapest_fuel` or
|
|
20
|
+
`find_fuel_station` names one clear place (a resolved town or a coordinate), the
|
|
21
|
+
server first asks Tankerkönig for the current prices of up to ten of the nearest
|
|
22
|
+
stations whose price is older than five minutes. The answer waits up to 4 s, and
|
|
23
|
+
otherwise says that a request is still running. This is the pattern Tankerkönig
|
|
24
|
+
asks apps to use, requests on demand on a user's action. It is rate-limited per
|
|
25
|
+
area, per station and per hour, and makes one attempt, never a retry.
|
|
26
|
+
- **Fuel for towns just outside coverage.** When no station is held within 5 km of a
|
|
27
|
+
place, `find_cheapest_fuel` asks which stations exist there. Towns such as Unna or
|
|
28
|
+
Hilden used to get only a station several kilometres away.
|
|
29
|
+
- **Police traffic messages of every Land in place answers.** `check_road_status`
|
|
30
|
+
with a `place` lists the traffic messages of the Länder police reporting offices,
|
|
31
|
+
Polizei Hamburg included. A message carried by several feeds is shown once and
|
|
32
|
+
credits every one of them.
|
|
33
|
+
- **Wuppertal and Dortmund car parks with live occupancy** in `find_parking`. Each
|
|
34
|
+
count is dated by the publisher's own timestamp, and the cities' note about
|
|
35
|
+
faults is shown.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
- **`check_road_status` answers a Land road for the Land asked.** When no Land-road
|
|
39
|
+
source is held for that Land, the answer says so first, and says that no report
|
|
40
|
+
does not mean the road is open. Matches in other Länder follow, labelled as a
|
|
41
|
+
different road with the same number. The description now says to pass the Land
|
|
42
|
+
or a town as `place`.
|
|
43
|
+
- **Rest areas in `find_parking`.** No source we hold classifies rest areas, so
|
|
44
|
+
`kind` no longer offers `rest_area` as a filter. The value is still accepted: it is
|
|
45
|
+
answered as `any`, with a sentence saying why. The description now says
|
|
46
|
+
"motorway lorry parks" instead of "rest areas with lorry spaces".
|
|
47
|
+
- **Fuel prices outside the cities are fresher.** The background refresh is split
|
|
48
|
+
more evenly, so every station's stated maximum age is now under a day.
|
|
49
|
+
- **Warning-vest rules are advice.** `get_driving_rules` gives the place and number
|
|
50
|
+
of warning vests as advice, not law, in German and English.
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
- **Faster answers.** Disruption questions about a Kreis read the Kreis instead of the
|
|
54
|
+
whole Land (Aachen over 120 minutes: 9.4 s to 0.44 s in a load test). Charger
|
|
55
|
+
availability and the stop-name lookup are faster too.
|
|
56
|
+
- **`describe_location`** shows an administrative area only when it contains the
|
|
57
|
+
point, never a neighbouring Land.
|
|
58
|
+
- **`check_transit_disruption`** reports cancelled stops as their own figure, not as
|
|
59
|
+
part of the late trips.
|
|
60
|
+
- **Departure boards.** One departure listed under several stop points or line names,
|
|
61
|
+
or one train under two labels, is one row.
|
|
62
|
+
- **Answer details.** Closure lines no longer carry internal work-order codes.
|
|
63
|
+
"Frankfurt" names which Frankfurt was taken. `find_fuel_station` dates its answer
|
|
64
|
+
by the newest price shown. An OpenStreetMap row across the border carries no German
|
|
65
|
+
Land. A town is listed before the station named after it. A charger watch that can
|
|
66
|
+
never fire says so.
|
|
67
|
+
|
|
68
|
+
## [1.9.9] - 2026-10-09
|
|
69
|
+
|
|
70
|
+
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
71
|
+
relays to. The running server reports 1.9.9 while the registry's latest is 1.9.8, so
|
|
72
|
+
this release moves the package to the server's number and carries whatever had been
|
|
73
|
+
waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
|
|
74
|
+
reference was re-captured from the running server, and the probe reported the surface
|
|
75
|
+
**unchanged** — only the version string moved; the capture date is the same day.
|
|
76
|
+
|
|
8
77
|
## [1.9.8] - 2026-10-09
|
|
9
78
|
|
|
10
79
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -2245,6 +2314,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2245
2314
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2246
2315
|
the check red on `main` for everybody, for something no contributor did.
|
|
2247
2316
|
|
|
2317
|
+
[1.9.13]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.13
|
|
2318
|
+
[1.9.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.9
|
|
2248
2319
|
[1.9.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.8
|
|
2249
2320
|
[1.9.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.7
|
|
2250
2321
|
[1.9.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.9.6
|
package/README.md
CHANGED
|
@@ -277,16 +277,16 @@ 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 1.9.
|
|
280
|
+
**21 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.9.13, snapshot of 2026-10-11. 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 road or Land road (NI, SN, TH) is open, closed
|
|
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: pass the Land/town as place) is open, closed, restricted, now or in coming days; by place, jams and city/Land messages. |
|
|
288
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. |
|
|
289
|
-
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns parking near a place, a coordinate or along one motorway:
|
|
289
|
+
| [`find_parking`](API.md#find_parking--parking-nearby) — Parking nearby | Returns 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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.13",
|
|
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",
|