viafrei 2.5.0 → 2.5.1

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-29.** Generating this file makes
12
+ **It is a dated snapshot, taken on 2026-10-30.** 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.5.0 |
20
+ | Server | `viafrei` 2.5.1 |
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-29 |
24
+ | Captured from | `https://mcp.viafrei.de/mcp` on 2026-10-30 |
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` |
@@ -762,5 +762,5 @@ single call.
762
762
  ---
763
763
 
764
764
  Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
765
- read from `https://mcp.viafrei.de/mcp` on 2026-10-29; no tool was invoked to
765
+ read from `https://mcp.viafrei.de/mcp` on 2026-10-30; no tool was invoked to
766
766
  produce it, so no data provider was contacted.
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.5.1] - 2026-10-30
9
+
10
+ **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
11
+ relays to. The running server reports 2.5.1 while the registry's latest is 2.5.0, 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.
16
+
8
17
  ## [2.5.0] - 2026-10-29
9
18
 
10
19
  **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
@@ -15,8 +24,33 @@ reference was re-captured from the running server, and the probe reported the su
15
24
  **unchanged** — only the version string moved; the capture date is the same day.
16
25
 
17
26
  The server moved from 2.4.4 to 2.4.9 while this package mirrored each version with no
18
- description. What those releases brought is described here. No tool, prompt or
19
- resource was added, removed or renamed, and no argument or description changed.
27
+ description. What those releases and server 2.5.0 brought is described here. No tool,
28
+ prompt or resource was added, removed or renamed, and no argument or description
29
+ changed.
30
+
31
+ ### Fixed (server 2.5.0)
32
+
33
+ Server 2.5.0 fixes bugs only; no tool, prompt or resource was added, removed or
34
+ renamed.
35
+
36
+ - **A platform written with its section range and no space is read as its track**:
37
+ Hamburg Hbf's "7A-D" is a track in `get_train_departures` ("platform 7A-D" in
38
+ English, "Gleis 7A-D" in German) and on the station board, where such a row used to
39
+ fall through as plain text.
40
+ - **A departure no longer takes the destination or the delay of another departure
41
+ of the same line**, and a town's station stays apart from a district of it.
42
+ - **Translated motorway and place maps speak their own language**: a map mark's name
43
+ is the row's own name, never a German label, and the position on a motorway page's
44
+ "around you" map can be tapped.
45
+ - **The header of a translated page keeps a place's name untranslated**, and the
46
+ connect pages in Russian, Ukrainian, Bulgarian and Serbian no longer leave the word
47
+ "ID" in English.
48
+ - **Pages without a script keep their page styles.**
49
+ - **The place echo names the server's place from the first render.**
50
+ - **The OpenStreetMap streets note in `viafrei://attribution` no longer says the maps
51
+ draw motorways.**
52
+ - **Ledger texts never keep an address**: errors and notes are masked before they are
53
+ cut.
20
54
 
21
55
  ### Added (server 2.4.4-2.4.9)
22
56
 
@@ -72,6 +106,10 @@ resource was added, removed or renamed, and no argument or description changed.
72
106
 
73
107
  ### Bridge
74
108
 
109
+ - **README and SOURCES.md describe server 2.5.0** (#166): a "New in the 2.5 line" box,
110
+ one answer captured from server 2.5.0 on 2026-10-29 (Hamburg Hbf, the RE1's "7A-D"
111
+ read as a track), and SOURCES.md compared again with `viafrei://attribution`: the
112
+ same 262 rows as at 2.4.9, the streets note reworded. No code change.
75
113
  - **README and SOURCES.md describe server 2.4.9.** The README's "New" box covers
76
114
  the server releases 2.4.4 to 2.4.9 (live departures from DELFI's fourteen regional
77
115
  SIRI ET feeds and VBN's Connect, the traffic strategies of Bayern and Lower Saxony,
@@ -3826,6 +3864,7 @@ for it, so the number is free; the bridge will use it when the platform does.
3826
3864
  commits, and a squash makes them unreachable from `main` - which would turn
3827
3865
  the check red on `main` for everybody, for something no contributor did.
3828
3866
 
3867
+ [2.5.1]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.1
3829
3868
  [2.5.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.0
3830
3869
  [2.4.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.4.9
3831
3870
  [2.4.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.4.8
package/README.md CHANGED
@@ -44,7 +44,24 @@ on viafrei.de, with a map and a traffic light.
44
44
  > from our data, and AI can make mistakes, so check anything important (a
45
45
  > closure, a departure, a price) against the source each answer names.
46
46
 
47
- > **New since server 2.4.3 (server 2.4.4 to 2.4.9): live times for buses, trams and
47
+ > **New in the 2.5 line (server 2.5.0): bug fixes only.** No tool, prompt or
48
+ > resource was added, removed or renamed.
49
+ >
50
+ > - **A sectioned track is that track.** Hamburg Hbf's "7A-D" is Gleis 7 in
51
+ > `get_train_departures` (`"place": "track"`) and on the station board, where it
52
+ > used to fall through as plain text ([example](#-real-answers)).
53
+ > - **A departure keeps its own destination and delay.** It no longer takes another
54
+ > departure's destination or delay, and a town's station stays apart from a
55
+ > district of it.
56
+ > - **Translated maps speak their own language**: a mark's name is the row's own
57
+ > name, never a German label, and the position on a motorway page's "around you"
58
+ > map can be tapped.
59
+ > - **The header of a translated page keeps a place's name untranslated**, and the
60
+ > connect pages in Russian, Ukrainian, Bulgarian and Serbian no longer leave the
61
+ > word "ID" in English.
62
+ > - **Pages without a script keep their styles.**
63
+ >
64
+ > **Before that, since server 2.4.3 (server 2.4.4 to 2.4.9): live times for buses, trams and
48
65
  > the U-Bahn in fourteen more regions, a traffic light and a street map for every
49
66
  > place, a site search that finds a shop or a house number, and station pages that
50
67
  > load in place.**
@@ -180,8 +197,9 @@ roads and around a place it watches closures and restrictions only, and says so.
180
197
  ## 💬 Real answers
181
198
 
182
199
  These came back from the production server at `https://mcp.viafrei.de/mcp`. They
183
- are not mock-ups. The first was asked of **server 2.4.9 on 2026-10-29 at 06:55
184
- Berlin time**. The next five were asked of server
200
+ are not mock-ups. The first was asked of **server 2.5.0 on 2026-10-29 at 17:48
201
+ Berlin time**, the day it went live. The next was asked of server 2.4.9 that
202
+ morning at 06:55. The next five were asked of server
185
203
  2.4.3 on 2026-10-27 between 16:00 and 16:02 Berlin time, the day it went live, and
186
204
  were asked again of server 2.4.9 on 2026-10-29 at 06:54: they answer in the same
187
205
  shape, and their figures belong to the moment they were first captured. An "As of"
@@ -204,6 +222,30 @@ Each one shows the first lines of what the tool returned, and the source line as
204
222
  it was sent, shortened where marked.
205
223
 
206
224
  <details open>
225
+ <summary><b>🚆 "When does the next train leave Hamburg Hbf?"</b> — <code>get_train_departures</code> with <code>station: "Hamburg Hbf"</code>, <code>language: "en"</code></summary>
226
+
227
+ ```text
228
+ {"line":"ICE 200","destination":"Hamburg-Altona","plannedAt":"…T16:22:00Z","delayMin":30,"platform":"13","place":"track"}
229
+ {"line":"S3","destination":"Hamburg-Neugraben","plannedAt":"…T16:46:00Z","delayMin":4,"platform":"3","place":"track"}
230
+ {"line":"ICE 1275","destination":"Berlin Gesundbrunnen","plannedAt":"…T16:51:00Z","delayMin":0,"platform":"8","place":"track"}
231
+ {"line":"RE1","destination":"Büchen","plannedAt":"…T16:55:00Z","delayMin":0,"platform":"7A-D","place":"track"}
232
+ "capped": {"shown":10,"more":13}, "interchange": U1, U2, U3, U4 and the buses, with their own departures
233
+ …
234
+ Source: Fahrplandaten: Deutsche Bahn AG, DB API Marketplace, CC BY 4.0, bearbeitet (…) · Bahnhofsdaten: Deutsche Bahn AG, DB API Marketplace, CC BY 4.0, bearbeitet (…) · … · Echtzeitdaten: DELFI e.V. via Mobilithek, CC BY-SA, bearbeitet (…)
235
+ The DELFI GTFS-RT realtime entries are licensed CC BY-SA (share-alike) by their source; we release our adaptation under CC BY-SA 4.0 (…): anyone who passes them on, or builds something on them, must release the result under the same licence and with this attribution.
236
+ ```
237
+ New in 2.5.0: the RE1's platform "7A-D" — track 7, sections A to D, written without
238
+ a space — is read as a track (`"place": "track"`), so the English answer says "platform
239
+ 7A-D" and the German one "Gleis 7A-D". Before 2.5.0 such a row fell through as
240
+ plain text. Times are UTC in the structured result: the ICE 200, planned at 17:22
241
+ Berlin, was expected at 17:52, 30 minutes late. The U-Bahn departures of the
242
+ interchange come in a list of their own, and because the realtime is DELFI's, the
243
+ answer carries the share-alike sentence.
244
+ *Edited: four of the ten departures shown, one line each, the station's other
245
+ fields and the full attribution omitted.*
246
+ </details>
247
+
248
+ <details>
207
249
  <summary><b>🚊 "Wann fährt die nächste Stadtbahn ab Hannover Kröpcke?"</b> — <code>get_departures</code> with <code>stop: "Hannover Kröpcke"</code>, <code>limit: 8</code>, <code>language: "en"</code></summary>
208
250
 
209
251
  ```text
@@ -1611,7 +1653,7 @@ Restart the client and ask one of the questions above.
1611
1653
 
1612
1654
  <!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
1613
1655
 
1614
- **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.5.0, snapshot of 2026-10-29. Each line is the server's own words; the full parameters are in [API.md](API.md).
1656
+ **22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.5.1, snapshot of 2026-10-30. Each line is the server's own words; the full parameters are in [API.md](API.md).
1615
1657
 
1616
1658
  #### 🚗 On the road
1617
1659
 
package/SOURCES.md CHANGED
@@ -15,8 +15,10 @@ The authoritative, always-current register is the resource
15
15
  **`viafrei://attribution`** on the server itself. Any MCP client can read it. If
16
16
  this page and that resource ever disagree, the resource is right and this page is
17
17
  stale: tell us and we will fix it. **Every row of the catalogue below was compared
18
- with that resource as served by server 2.4.9 on 2026-10-29**: 262 sources, three
19
- more than at server 2.4.3. 247 of them are held (one of those, the streets, feeds
18
+ with that resource as served by server 2.5.0 on 2026-10-29**: 262 sources, the same
19
+ rows as at server 2.4.9 (only the streets note changed,
20
+ [below](#and-the-streets-on-viafreides-maps)), three more than at server 2.4.3.
21
+ 247 of the 262 are held (one of those, the streets, feeds
20
22
  only the site's maps), 10 are planned
21
23
  (licence read, nothing ingested yet) and five are discontinued. The three new rows
22
24
  are the Autobahn GmbH's **strategic routes for Bayern** and **Lower Saxony's traffic
@@ -267,8 +269,11 @@ database you use publicly, you owe your recipients the same.
267
269
 
268
270
  Since server 2.4.7 the place maps, the station maps and the motorway maps of
269
271
  viafrei.de draw **OpenStreetMap's streets** as thin lines under their own marks:
270
- trunk, primary, secondary, tertiary and residential roads, and never an
271
- OpenStreetMap motorway, because a motorway's line on our maps is BASt's. The lines
272
+ trunk, primary, secondary, tertiary and residential roads on a place map, fewer
273
+ classes on a wider frame and the trunk roads alone on a motorway's own map, and never
274
+ an OpenStreetMap motorway, because a motorway's line on our maps is BASt's (the
275
+ BASt Location Code List). The database still holds the motorway ways the extracts
276
+ carry, and the export below holds them in full with the rest. The lines
272
277
  come from a sixth ODbL database of ours, built from the OpenStreetMap Germany
273
278
  extracts and never joined to our other OpenStreetMap databases or to any other
274
279
  source. **No MCP tool answers from it**, and no mark is placed on, filtered by or
@@ -326,7 +331,7 @@ The last time each source's
326
331
  status was measured from answers was a round of 1,000 questions against server
327
332
  1.8.17 on 2026-10-06, before most of the 2.0 sources existed; the
328
333
  [test rounds](https://github.com/mavrovde/viafrei-mcp/wiki/Test-rounds) are published
329
- in the wiki. As of the capture shipped alongside this page (server 2.4.9,
334
+ in the wiki. As of the capture shipped alongside this page (server 2.5.0,
330
335
  2026-10-29), it exposes twenty-two tools, twenty of them read-only. A routine
331
336
  re-check of which sources answer leaves both fuel tools out — **`find_cheapest_fuel`
332
337
  and `find_fuel_station`** — because Tankerkönig limits how often its interface may
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viafrei",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
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",