viafrei 1.7.4 → 1.8.0
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 +5 -5
- package/CHANGELOG.md +45 -0
- package/README.md +2 -2
- 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` 1.
|
|
20
|
+
| Server | `viafrei` 1.8.0 |
|
|
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 |
|
|
@@ -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 exposes German open transport data (Autobahn traffic and the curated German driving rules now; public-transport delays, fuel prices and departures next). Always show the attribution line of a result to the user, and when a result carries `_meta.purposeNote`, 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.
|
|
61
|
+
> ViaFrei exposes German open transport data (Autobahn traffic and the curated German driving rules now; public-transport delays, fuel prices and departures next). Always show the attribution line of a result to the user, and when a result carries `_meta.purposeNote`, 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
|
|
|
@@ -198,17 +198,17 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
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
|
|
201
|
+
> Returns roadworks PLANNED on one German motorway, or on one Bundesstraße in Niedersachsen, in a date window: the section as published, what is restricted, and 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 `^[
|
|
205
|
+
| `road` | string | **yes** | — | pattern `^[AaBb] ?\d{1,3}$` |
|
|
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
|
|
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. Bundesstraßen elsewhere, Landesstraß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.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,49 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.8.0] - 2026-10-05
|
|
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.0 while the registry's latest is 1.7.5, 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
|
+
**CHANGED** — the automation knows what moved, not what it means:
|
|
16
|
+
|
|
17
|
+
- tools: find_roadworks_ahead differs between the server and the snapshot
|
|
18
|
+
- instructions: the server's initialize answer differs from the snapshot's
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **`find_roadworks_ahead` covers Bundesstraßen in Niedersachsen.** Besides an
|
|
23
|
+
Autobahn ("A7"), the `road` argument now takes a Bundesstraße in Niedersachsen
|
|
24
|
+
("B6"), from the Land's planned-roadworks feed. Bundesstraßen elsewhere,
|
|
25
|
+
Landesstraßen and city streets are still not covered, and the tool says so.
|
|
26
|
+
The pattern accepts `B` as well as `A`; everything else is unchanged.
|
|
27
|
+
|
|
28
|
+
- **The server tells the assistant that ViaFrei is in beta.** Its instructions now
|
|
29
|
+
add that sources are still being added and answers and coverage can change, so an
|
|
30
|
+
assistant asks the user to confirm a closure, a departure or a price with the
|
|
31
|
+
source the attribution line names when a decision depends on it.
|
|
32
|
+
|
|
33
|
+
- **Release pages read as normal release notes.** The page is no longer the CHANGELOG
|
|
34
|
+
block verbatim. The Version sync paragraph meant for the maintainer (registry numbers,
|
|
35
|
+
the probe's verdict, the raw list of catalogue differences)
|
|
36
|
+
becomes one sentence, "This release mirrors server X.Y.Z.", plus "the tools, prompts
|
|
37
|
+
and resources are unchanged" when that is true. Wrapped lines are joined, and every
|
|
38
|
+
page ends with an Install section and a Full changelog link. A pure mirror is titled
|
|
39
|
+
"same tools, mirrors the server". A changed surface that nobody described now fails
|
|
40
|
+
the page rather than publishing a list of tool names.
|
|
41
|
+
|
|
42
|
+
## [1.7.5] - 2026-10-05
|
|
43
|
+
|
|
44
|
+
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
45
|
+
relays to. The running server reports 1.7.5 while the registry's latest is 1.7.4, so
|
|
46
|
+
this release moves the package to the server's number and carries whatever had been
|
|
47
|
+
waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
|
|
48
|
+
reference was re-captured from the running server, and the probe reported the surface
|
|
49
|
+
**unchanged** — only the version string moved; the capture date is the same day.
|
|
50
|
+
|
|
8
51
|
## [1.7.4] - 2026-10-05
|
|
9
52
|
|
|
10
53
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -1963,6 +2006,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
1963
2006
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
1964
2007
|
the check red on `main` for everybody, for something no contributor did.
|
|
1965
2008
|
|
|
2009
|
+
[1.8.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.8.0
|
|
2010
|
+
[1.7.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.5
|
|
1966
2011
|
[1.7.4]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.4
|
|
1967
2012
|
[1.7.3]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.3
|
|
1968
2013
|
[1.7.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.0
|
package/README.md
CHANGED
|
@@ -254,7 +254,7 @@ Restart the client and ask one of the questions above.
|
|
|
254
254
|
|
|
255
255
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
256
256
|
|
|
257
|
-
**20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.
|
|
257
|
+
**20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.8.0, snapshot of 2026-10-05. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
258
258
|
|
|
259
259
|
#### 🚗 On the road
|
|
260
260
|
|
|
@@ -262,7 +262,7 @@ Restart the client and ask one of the questions above.
|
|
|
262
262
|
|---|---|
|
|
263
263
|
| [`check_autobahn_traffic`](API.md#check_autobahn_traffic--autobahn-traffic) — Autobahn traffic | Returns jams, slow traffic, closures and roadworks in force this minute on up to 5 German motorways, with delay and speed. |
|
|
264
264
|
| [`check_road_status`](API.md#check_road_status--road-status-and-closures) — Road status and closures | Returns whether one German motorway or federal road is open, closed or restricted, now and in the coming days. |
|
|
265
|
-
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns
|
|
265
|
+
| [`find_roadworks_ahead`](API.md#find_roadworks_ahead--planned-roadworks) — Planned roadworks | Returns roadworks PLANNED on one German motorway, or on one Bundesstraße in Niedersachsen, in a date window: the section as published, what is restricted, and start and end. |
|
|
266
266
|
| [`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 park-and-ride sites, with total spaces and, where published, free spaces now and the reading's age. |
|
|
267
267
|
|
|
268
268
|
#### 🚆 Public transport
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
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",
|