viafrei 2.1.22 → 2.1.25

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 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-16.** Generating this file makes
12
+ **It is a dated snapshot, taken on 2026-10-17.** 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` 2.1.22 |
20
+ | Server | `viafrei` 2.1.25 |
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-16 |
24
+ | Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-17 |
25
25
  | Surface | 22 tools, 10 resources, 2 resource templates, 9 prompts |
26
26
  | Parameter schemas | JSON Schema draft-07 |
27
27
  | Capabilities | `tools`, `resources`, `prompts`, `logging` |
@@ -237,7 +237,7 @@ The server's own instructions to a connecting client, verbatim:
237
237
  - **`connector`** — Plug the car needs: "ccs2" (CCS Combo 2 — the DC fast-charging standard on almost every European EV), "type2" (Typ 2 / Mennekes, the AC socket) or "chademo" (older Japanese DC, e.g. Nissan Leaf). Omit unless the person named their plug or their car model — filtering on a guess hides chargers they could have used.
238
238
  - **`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.
239
239
  - **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
240
- - **`limit`** — How many lines to return, nearest first (1–10, default 5). Records of one place within 50 m that read alike are folded into one line that says how many units it holds; structuredContent.sites lists every record of the lines shown, so it can be longer than limit.
240
+ - **`limit`** — How many lines to return, nearest first (1–10, default 5). Places within 50 m that read alike are folded into one line that says how many units it holds; structuredContent.sites has one entry per place of the lines shown, with siteIds naming every record of that place, so it can be longer than limit.
241
241
  - **`lon`** — Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.
242
242
  - **`min_power_kw`** — Only charging points of at least this many kW (1–1000). Use when the person names a number or asks for fast charging: 50 = DC fast (a bare "fast"/"schnell"/"Schnelllader"), 150 = HPC ("HPC", "ultra", "ultraschnell"), 300 = the fastest posts in Germany. Omit for "where can I charge" — 11 kW overnight is a valid answer to that question.
243
243
  - **`only_available`** — When true, return only sites with at least one point reported FREE right now. Default false. Use it when the person asks what is free at this moment. Note that only some operators publish live status: the result always says how many nearby sites were dropped because their status is unknown, so the filter never silently hides a charger that may well be free.
@@ -737,5 +737,5 @@ single call.
737
737
  ---
738
738
 
739
739
  Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
740
- read from `https://mcp.viafrei.de/mcp` on 2026-10-16; no tool was invoked to
740
+ read from `https://mcp.viafrei.de/mcp` on 2026-10-17; no tool was invoked to
741
741
  produce it, so no data provider was contacted.
package/CHANGELOG.md CHANGED
@@ -5,32 +5,96 @@ a Changelog and the versions follow Semantic Versioning.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.1.25] - 2026-10-17
9
+
10
+ **Ask your assistant first: viafrei.de opens on a live conversation, every example
11
+ is back with an examples page, and the place cards show the live data you could
12
+ not see before.** The package matches the server's 2.1.25 and covers the server
13
+ releases 2.1.19 to 2.1.25. No tool, prompt or resource was added, removed or
14
+ renamed. One parameter description changed (below).
15
+
16
+ ### Changed (tool surface)
17
+
18
+ - **`find_charging_station`: `limit` counts places.** Records of one place within
19
+ 50 m that read alike were already one line; `structuredContent.sites` now holds
20
+ one entry per place of the lines shown, with `siteIds` naming every record of that
21
+ place. Several publishers file one car park as many records, so a count of
22
+ "1349 charging sites" around Würselen counted records; it now counts 461 places.
23
+
24
+ ### Added (server 2.1.19–2.1.25)
25
+
26
+ - **The home asks your assistant first.** The headline says to ask your AI
27
+ assistant, and the first screen of a phone holds one live conversation (the
28
+ question, the tool, today's answer with its time and sources) and a "Connect in
29
+ one minute" button naming the clients the connect page documents, in all seven
30
+ languages.
31
+ - **An examples page**, `/en/examples` (`/de/beispiele`): every example of the site
32
+ by domain (transit, roads, parking, charging, more), each with its question, tool
33
+ and answer, live where the server holds one and otherwise dated, plus a fuel
34
+ section that links to the dated fuel examples. Every moment of the home asks its
35
+ three questions again, and 31 of the 32 connect cards are back (one fuel card is
36
+ retired under the fuel-price terms), all re-asked on production.
37
+ - **A road-sign design over every card type**: soft elevation, a question bubble and
38
+ an answer bubble, and a card-and-assistant layout on desktop that stacks on a
39
+ phone. Colours, shields, type and every corner radius are unchanged.
40
+ - **A place page can be opened by its name alone**: `/de/ort/koeln` now leads to
41
+ Köln's page.
42
+
43
+ ### Fixed (server 2.1.19–2.1.25)
44
+
45
+ - **Charging availability no longer falls behind**: feeds that had drifted hours or
46
+ days behind their publisher answer with the newest publication, and a charger
47
+ restated unchanged by a snapshot feed no longer reads "possibly out of date".
48
+ - **Departures name a long-distance train by its number**: "Fernzug" and the
49
+ train's own number, where the board used to print the line ("Fernzug 28"). The
50
+ product (ICE, IC) is not in the national timetable, so it is not invented.
51
+ - **An ambiguous station name offers the largest stations first**, and one train
52
+ filed under two parts of a station is one row.
53
+ - **A road answer names the road classes nobody covers in that Land**: around
54
+ Alsdorf, "no jams reported" no longer reads as an all-clear for North
55
+ Rhine-Westphalia's federal and Land roads.
56
+ - **Fuel prices are fetched only when a person asks**, and one request answers every
57
+ station within 25 km of that person; a repeated question comes back at once, and
58
+ the last known price is shown with its time while a new one is fetched. No fuel
59
+ answer is archived.
60
+ - **An assistant's connector reconnects by itself after a server restart**, instead
61
+ of having to be removed and added again.
62
+ - **The place cards show the live data that was off every page**: when none of the
63
+ three nearest chargers or car parks reports live, the nearest one in the same ring
64
+ that does is shown fourth; a town's own lorry park is no longer hidden by a car
65
+ park far away; and one charger is one row.
66
+ - **More roadworks are on the map**: Sachsen's and Thüringen's works keep the
67
+ publisher's own point.
68
+ - **Faster large answers**: `check_transit_disruption` for a Land or a set of Kreise
69
+ answers in about a second (Berlin 0.7–0.8 s, NRW 0.9–1.1 s, warm), and
70
+ `find_charging_station` near a big city no longer runs out of time (München within
71
+ 10 km had taken 9.7 s).
72
+
73
+ ### Bridge
74
+
75
+ - No code change: the bridge relays the server's catalogue as before.
76
+
8
77
  ## [2.1.22] - 2026-10-16
9
78
 
10
- **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
11
- relays to. The running server reports 2.1.22 while the registry's latest is 2.1.21, 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
- **unchanged** — only the version string and the capture date moved.
79
+ **One fuel request refreshes every station around a person, and the home never
80
+ loses a live block.** The package matches the server's 2.1.22; the tool surface is
81
+ unchanged. A fuel question refreshes every station within 25 km of the asked point
82
+ in one request, a repeated question comes back at once, and the home keeps its last
83
+ good copy of each live block when one is slow.
16
84
 
17
85
  ## [2.1.21] - 2026-10-15
18
86
 
19
- **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
20
- relays to. The running server reports 2.1.21 while the registry's latest is 2.1.20, so
21
- this release moves the package to the server's number and carries whatever had been
22
- waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
23
- reference was re-captured from the running server, and the probe reported the surface
24
- **unchanged** — only the version string moved; the capture date is the same day.
87
+ **Every fuel answer lists the stations held, current prices or not.** The package
88
+ matches the server's 2.1.21; the tool surface is unchanged. Around a place the tools
89
+ and the site list every station we hold, with the last known price and its time
90
+ while a new one is fetched.
25
91
 
26
92
  ## [2.1.20] - 2026-10-15
27
93
 
28
- **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
29
- relays to. The running server reports 2.1.20 while the registry's latest is 2.1.18, so
30
- this release moves the package to the server's number and carries whatever had been
31
- waiting under `[Unreleased]`. Prepared by the `Version sync` workflow: the shipped
32
- reference was re-captured from the running server, and the probe reported the surface
33
- **unchanged** — only the version string moved; the capture date is the same day.
94
+ **An assistant's connector reconnects by itself after a server restart.** The
95
+ package matches the server's 2.1.20; the tool surface is unchanged. A session lost
96
+ in a restart is now answered so that the client opens a new one by itself, instead
97
+ of the connector having to be removed and added again.
34
98
 
35
99
  ## [2.1.18] - 2026-10-15
36
100
 
@@ -2918,6 +2982,7 @@ for it, so the number is free; the bridge will use it when the platform does.
2918
2982
  commits, and a squash makes them unreachable from `main` - which would turn
2919
2983
  the check red on `main` for everybody, for something no contributor did.
2920
2984
 
2985
+ [2.1.25]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.25
2921
2986
  [2.1.22]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.22
2922
2987
  [2.1.21]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.21
2923
2988
  [2.1.20]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.20
package/README.md CHANGED
@@ -40,6 +40,18 @@ on viafrei.de, with a map.
40
40
  > from our data, and AI can make mistakes, so check anything important (a
41
41
  > closure, a departure, a price) against the source each answer names.
42
42
 
43
+ > **New in 2.1.25: viafrei.de asks your assistant first.** The home opens on one
44
+ > live conversation (a question, the tool, today's answer with its time and sources)
45
+ > and a "Connect in one minute" button. Every example is back, with an
46
+ > [examples page](https://viafrei.de/en/examples) listing them all, under a
47
+ > road-sign design that keeps the information of every card. Since 2.1.19 the
48
+ > answers improved too: departures name a long-distance train by its number, an
49
+ > ambiguous station name offers the largest stations first, a road answer says which
50
+ > road classes nobody covers in that Land, charging availability no longer falls
51
+ > behind, `find_charging_station` counts places rather than records, fuel prices
52
+ > are fetched only when a person asks (every station within 25 km in one request),
53
+ > and a connector reconnects by itself after a server restart.
54
+ >
43
55
  > **New in 2.1.18: the website shows the tools' live answers.** The figures on the
44
56
  > [viafrei.de](https://viafrei.de/en) home page now stand beside the question you could ask
45
57
  > your assistant and what ViaFrei's own tools answer to it right now, with the tool's
@@ -128,8 +140,9 @@ whole, not one section of it.
128
140
  ## 💬 Real answers
129
141
 
130
142
  These came back from the production server at `https://mcp.viafrei.de/mcp`. They
131
- are not mock-ups. The first three were asked of **server 2.1.17 on 2026-10-14,
132
- around 22:40 Berlin time**, minutes after it went live. The next three were asked
143
+ are not mock-ups. The first two were asked of **server 2.1.25 on 2026-10-17 at
144
+ 18:38 Berlin time**, an hour after it went live. The next three were asked of
145
+ server 2.1.17 on 2026-10-14, around 22:40 Berlin time, minutes after it went live. The next three were asked
133
146
  of server 2.1.8 on 2026-10-13 around 22:40, three more of server 2.1.5 that
134
147
  afternoon, between about 14:50 and 16:20, and the others of server 2.0.10 that morning around
135
148
  06:41. Those were asked again of server 2.1.17 on 2026-10-14 around 22:43 and
@@ -139,6 +152,40 @@ Each one shows the first lines of what the tool returned, and the source line as
139
152
  it was sent, shortened where marked.
140
153
 
141
154
  <details open>
155
+ <summary><b>🚧 "Is there anything on the roads around Alsdorf?"</b> — <code>check_road_status</code></summary>
156
+
157
+ ```text
158
+ Alsdorf (05334004): no jams reported, 1 closure, 12 restrictions, 0 planned roadworks sites — window until 2026-10-20.
159
+ I do not hold federal and Land roads (Bundes-, Landes-/Staatsstraßen) for North Rhine-Westphalia: for those, this answer is no all-clear.
160
+ • Roadworks (Baustelle) A4: Provider text (German): "Instandsetzung Grenze NL_D - AK Aachen · AK Aachen (aus Richtung Aachener Land) nach A4 — Zeitraum dieser Bauphase: Beginn: 25.08.26 um 09:00 Uhr, Ende: 01.12.26 um 15:00 Uhr, (Ende der Gesamtmaßnahme: 01.12.2…" (2026-08-25)
161
+ • Roadworks (Baustelle) A544: Provider text (German): "A544 | Aachen - Würselen · Autobahnkreuz Aachen -> Aachen (Europaplatz) — Zeitraum dieser Bauphase: Beginn: 17.10.26 um 05:00 Uhr, Ende: 16.10.27 um 05:00 Uhr, (Ende der Gesamtmaßnahme: 16.10.2…" (2026-10-17)
162
+ …
163
+ ```
164
+ The second line is new in 2.1.23: where no source covers a road class in that Land,
165
+ the answer says so instead of letting "no jams" read as an all-clear. The same line
166
+ is on the place's road card on viafrei.de.
167
+ *Edited: the remaining entries and the source line omitted.*
168
+ </details>
169
+
170
+ <details>
171
+ <summary><b>🔌 "Where can I charge around Würselen?"</b> — <code>find_charging_station</code></summary>
172
+
173
+ ```text
174
+ Charging around Würselen (05334036) (within 10 km), nearest first:
175
+ 1. Würselen - Lehnstraße, Lehnstraße 27, 52146 Würselen (Ladenetz) — 0.1 km, Type 2, up to 22.1 kW, 0.50 €/kWh net, status from 2026-10-15 17:37 — possibly out of date (2 charging units)
176
+ 2. Würselen Rathaus, Rathausstraße 2, 52146 Würselen (Ladenetz) — 0.2 km, Type 2, up to 22.1 kW, 0.41 €/kWh net, status from 13:19 — possibly out of date (2 charging units)
177
+ …
178
+ Only a few operators publish live occupancy; "no status data" means unknown, not free.
179
+
180
+ As of 18:38 · Source: Ladepunkte: e-clearing.net (smartlab Innovationsgesellschaft mbH) via Mobilithek, CC0 1.0 (…) · Ladepunkt-Verfügbarkeit: e-clearing.net (smartlab Innovationsgesellschaft mbH) via Mobilithek, CC0 1.0 (…) · …
181
+ ```
182
+ One line per place, each saying how many charging units it holds; since 2.1.23 a
183
+ publisher's many records of one car park are one place. A status too old to vouch
184
+ for is said with its time, never as free.
185
+ *Edited: three of five lines, the site ids and most of the source line omitted.*
186
+ </details>
187
+
188
+ <details>
142
189
  <summary><b>🛣️ "Which full closures are planned on the A7 in the next seven days?"</b> — <code>check_road_status</code></summary>
143
190
 
144
191
  ```text
@@ -643,7 +690,7 @@ Restart the client and ask one of the questions above.
643
690
 
644
691
  <!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
645
692
 
646
- **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.1.22, snapshot of 2026-10-16. Each line is the server's own words; the full parameters are in [API.md](API.md).
693
+ **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.1.25, snapshot of 2026-10-17. Each line is the server's own words; the full parameters are in [API.md](API.md).
647
694
 
648
695
  #### 🚗 On the road
649
696
 
package/SOURCES.md CHANGED
@@ -215,8 +215,8 @@ that every answer carries it.
215
215
  status was measured from answers was a round of 1,000 questions against server
216
216
  1.8.17 on 2026-10-06, before most of the 2.0 sources existed; the
217
217
  [test rounds](https://github.com/mavrovde/viafrei-mcp/wiki/Test-rounds) are published
218
- in the wiki. As of the capture shipped alongside this page (server 2.1.16,
219
- 2026-10-14), it exposes twenty-two tools, twenty of them read-only. A routine
218
+ in the wiki. As of the capture shipped alongside this page (server 2.1.25,
219
+ 2026-10-17), it exposes twenty-two tools, twenty of them read-only. A routine
220
220
  re-check of which sources answer leaves both fuel tools out — **`find_cheapest_fuel`
221
221
  and `find_fuel_station`** — because Tankerkönig limits how often its interface may
222
222
  be asked, and its terms say plainly that bulk retrieval is blocked and the key
@@ -636,6 +636,16 @@ limitation sits on top of it and is stricter; the full statement is
636
636
  Tankerkönig's terms are blunt about bulk use: attempts to pull the data in bulk
637
637
  "werden geblockt (und API-Keys deaktiviert)".
638
638
 
639
+ **How the server asks it (since 2.1.19–2.1.22).** Every request follows a person's
640
+ question: nothing is fetched for a place nobody asked about, and a crawler never
641
+ triggers one. One request a
642
+ minute, the key's limit, through one queue that loses no ask. One request answers
643
+ every station within 25 km of the asked place (a public point, never the person's
644
+ own position), so a second question nearby is
645
+ answered from it at once. While a new price is being fetched, the last known price
646
+ is shown with its time, never as current. No Tankerkönig answer is archived, and no
647
+ log line carries the asked coordinate.
648
+
639
649
  Terms: <https://creativecommons.tankerkoenig.de> · MTS-K guidance for consumer
640
650
  services: <https://www.bundeskartellamt.de>
641
651
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viafrei",
3
- "version": "2.1.22",
3
+ "version": "2.1.25",
4
4
  "description": "German motorway traffic and roadworks, 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",