viafrei 1.6.2 → 1.7.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 CHANGED
@@ -17,7 +17,7 @@ server:** connect any MCP client and call `tools/list`.
17
17
 
18
18
  | | |
19
19
  | --- | --- |
20
- | Server | `viafrei` 1.6.2 |
20
+ | Server | `viafrei` 1.7.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 |
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.7.0] - 2026-10-04
9
+
10
+ **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
11
+ relays to. The running server reports 1.7.0 while the registry's latest is 1.6.2, 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 moved; the capture date is the same day.
16
+
17
+ ### Added
18
+
19
+ - **The repository is now `mavrovde/viafrei-mcp`** (renamed from
20
+ `viafrei-bridge` on 2026-10-04). GitHub redirects the old address. The npm package
21
+ is still `viafrei`, so `npx -y viafrei` is unchanged. The Glama listing keeps its
22
+ old address until Glama re-indexes the repository under the new name.
23
+
24
+ - **The Smithery listing is released by the tag, like npm.** A new `Smithery`
25
+ workflow runs after the tag's `Publish` run succeeds: it refuses unless the live
26
+ server reports the tag's version (Smithery scans the server, so a mismatch would
27
+ record another release's surface), publishes `viafrei/viafrei` with a pinned
28
+ Smithery CLI, and waits until Smithery reports the release `SUCCESS`. A manual
29
+ dispatch re-publishes with the same check. The API key is a secret of the
30
+ `smithery` environment, which only `main` may use.
31
+
32
+ ### Changed
33
+
34
+ - **The documentation, checked against the 1.7.0 catalogue.** The README's "What you can
35
+ ask" gains the questions the 1.7 front page of viafrei.de surfaced, each one a listed
36
+ tool can answer: a motorway jam and the urban motorways (`check_autobahn_traffic`,
37
+ `check_road_status`), a place's address by its name or a coordinate (`find_poi`,
38
+ `describe_location`), and three watches (`watch_situation`: a closure lifted, a region's
39
+ late share at a quarter or more, a DWD warning). What a watch does and does not do is
40
+ written beside them as the catalogue states it: kept in the conversation, shown when
41
+ asked or by a client that supports notifications, no e-mail or SMS, at most 10 per
42
+ conversation for up to 24 hours. The connect section names where each client takes the
43
+ address — VS Code's own `servers` shape among them, which the shared `mcpServers` line
44
+ had wrongly covered — CONTRIBUTING lists every check CI runs instead of five of them,
45
+ and SOURCES names the capture it ships with.
46
+ - **Where to find ViaFrei.** A badge row under the README's title (Smithery, npm,
47
+ Glama) and a short section naming the three listings — the npm package, Smithery's
48
+ hosted connection, the Glama directory entry — with SUPPORT asking which of them a
49
+ report came through.
50
+
8
51
  ## [1.6.2] - 2026-10-04
9
52
 
10
53
  **Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
@@ -1763,16 +1806,17 @@ for it, so the number is free; the bridge will use it when the platform does.
1763
1806
  commits, and a squash makes them unreachable from `main` - which would turn
1764
1807
  the check red on `main` for everybody, for something no contributor did.
1765
1808
 
1766
- [1.6.2]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.6.2
1767
- [1.5.10]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.5.10
1768
- [1.5.7]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.5.7
1769
- [1.5.6]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.5.6
1770
- [1.5.5]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.5.5
1771
- [1.5.4]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.5.4
1772
- [1.4.9]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.4.9
1773
- [1.3.22]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.3.22
1774
- [1.3.16]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.3.16
1775
- [1.3.15]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.3.15
1776
- [1.3.12]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.3.12
1777
- [1.3.10]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v1.3.10
1778
- [0.0.9]: https://github.com/mavrovde/viafrei-bridge/releases/tag/v0.0.9
1809
+ [1.7.0]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.7.0
1810
+ [1.6.2]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.6.2
1811
+ [1.5.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.10
1812
+ [1.5.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.7
1813
+ [1.5.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.6
1814
+ [1.5.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.5
1815
+ [1.5.4]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.5.4
1816
+ [1.4.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.4.9
1817
+ [1.3.22]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.3.22
1818
+ [1.3.16]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.3.16
1819
+ [1.3.15]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.3.15
1820
+ [1.3.12]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.3.12
1821
+ [1.3.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v1.3.10
1822
+ [0.0.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v0.0.9
package/README.md CHANGED
@@ -2,12 +2,15 @@
2
2
 
3
3
  # ViaFrei
4
4
 
5
+ [![smithery badge](https://smithery.ai/badge/viafrei/viafrei)](https://smithery.ai/servers/viafrei/viafrei)
6
+ [![npm](https://img.shields.io/npm/v/viafrei)](https://www.npmjs.com/package/viafrei)
7
+ [![Glama](https://glama.ai/mcp/servers/mavrovde/viafrei-bridge/badge)](https://glama.ai/mcp/servers/mavrovde/viafrei-bridge)
8
+
5
9
  ### Germany's traffic, trains, charging and roads — in your AI assistant.
6
10
 
7
11
  **Ask in plain words. Get the live answer, with its source.**
8
12
 
9
13
  [![website](https://img.shields.io/badge/viafrei.de-live-0b5fff?logo=googlechrome&logoColor=white)](https://viafrei.de/en)
10
- [![npm](https://img.shields.io/npm/v/viafrei?color=cb3837&label=npm&logo=npm)](https://www.npmjs.com/package/viafrei)
11
14
  [![node](https://img.shields.io/node/v/viafrei?logo=node.js&logoColor=white)](https://nodejs.org)
12
15
  [![licence](https://img.shields.io/npm/l/viafrei?color=blue)](LICENSE)
13
16
  [![no API key](https://img.shields.io/badge/API%20key-none-brightgreen)](#-connect-in-one-minute)
@@ -29,10 +32,12 @@ Type 2 charger is (and whether it is free, where the operator publishes that)
29
32
  and whether the lift at your station works — from official
30
33
  German open data, live, with the source named in every answer.
31
34
 
32
- > **New in 1.6:** [viafrei.de](https://viafrei.de/en) is a real site now, in
33
- > **seven languages** — Deutsch, English, Русский, Български, Українська,
34
- > Română, Türkçe — with the live figures on the front page and a one-minute
35
- > guide for every assistant.
35
+ > **New in 1.7:** the front page of [viafrei.de](https://viafrei.de/en) gains
36
+ > three everyday moments — **stuck in traffic, finding places, tell me when** —
37
+ > nine in all, each with questions you can copy and today's live figure beside
38
+ > them, in **seven languages** (Deutsch, English, Русский, Български,
39
+ > Українська, Română, Türkçe). The questions are in the table below. The tools
40
+ > themselves are the same twenty as in 1.6.
36
41
 
37
42
  ---
38
43
 
@@ -46,13 +51,24 @@ comes back in the language you asked in.
46
51
  |---|---|
47
52
  | 🌅 **about to commute** | *Fahren Busse und Bahnen in Bayern gerade pünktlich?* · *When does the next train leave Hamburg Hbf?* |
48
53
  | 🚗 **about to drive** | *Gibt es Stau auf der A8?* · *Are there roadworks on the A7 next week?* · *Is the A1 closed anywhere?* |
54
+ | 🚧 **stuck in traffic** | *How much time is the jam on the A3 between Frankfurt and Würzburg costing right now?* · *Is traffic backed up on the Cologne motorway ring — A1, A3 or A4?* · *Ist der Elbtunnel auf der A7 heute Nacht gesperrt?* |
49
55
  | ⚡ **driving electric** | *Where can I charge with Type 2 near Leipzig?* · *Wo gibt es einen Schnelllader mit 150 kW bei Nürnberg?* |
50
56
  | 🅿️ **driving a lorry** | *Find a rest area with lorry parking on the A9* · *Wo ist der nächste Lkw-Parkplatz an der A7?* |
51
57
  | ♿ **travelling step-free** | *Funktioniert der Aufzug am Bahnhof Köln Messe/Deutz?* |
52
58
  | 🌦️ **watching the weather** | *Gibt es eine Unwetterwarnung für Freiburg?* |
53
- | 📍 **somewhere new** | *What is at 52.5163, 13.3777?* · *Wo ist die nächste Apotheke am Leipziger Hauptbahnhof?* |
59
+ | 📍 **looking for a place** | *What is the address of the Elbphilharmonie in Hamburg?* · *Welche Apotheken gibt es in Fulda?* · *My satnav shows 50.1109, 8.6821 — what address is that?* |
54
60
  | 🇩🇪 **new to German roads** | *Do I need an emission sticker for Stuttgart?* · *Is there a speed limit on the Autobahn?* |
55
- | ⏳ **waiting for news** | *Tell me when the A8 reopens* — the server watches and tells your assistant when it changes |
61
+ | ⏳ **waiting for news** | *Tell me as soon as the closure on the A7 is lifted.* · *Sag mir Bescheid, wenn in Köln ein Viertel oder mehr der Bus- und Bahnfahrten verspätet ist.* · *Warn me when a DWD severe-weather warning comes into force for Cologne.* |
62
+
63
+ **What the answers cover, honestly.** Traffic is the motorways and federal
64
+ roads: in cities that means the urban motorways, not the streets in between.
65
+ Places and addresses come from OpenStreetMap, so what is not mapped there cannot
66
+ be found, and opening hours and ratings are not part of it. A **watch** lives in
67
+ the conversation that opened it: the server keeps every change there, and your
68
+ assistant shows it when you ask, or on its own if your client supports MCP
69
+ notifications. Nothing is sent by e-mail or SMS. Up to 10 watches per
70
+ conversation, each for up to 24 hours (3 by default), and a road is watched as a
71
+ whole, not one section of it.
56
72
 
57
73
  ## 💬 Real answers
58
74
 
@@ -188,21 +204,32 @@ negotiate. Step-by-step guides for each assistant:
188
204
  claude mcp add --transport http viafrei https://mcp.viafrei.de/mcp
189
205
  ```
190
206
 
191
- **Claude, ChatGPT and other apps that take a connector URL** — add a custom connector with this address:
207
+ **Claude (desktop app and claude.ai), ChatGPT and other apps that take a connector URL** —
208
+ add a custom connector with this address (in Claude: Settings → Connectors → *Add custom connector*;
209
+ in ChatGPT the connector settings need developer mode):
192
210
  ```
193
211
  https://mcp.viafrei.de/mcp
194
212
  ```
195
213
 
196
- **Cursor, VS Code, Windsurf and any client with an `mcpServers` file**, over HTTP:
214
+ **Cursor, and any client with an `mcpServers` file that takes a `url`**, over HTTP:
197
215
  ```json
198
216
  { "mcpServers": { "viafrei": { "url": "https://mcp.viafrei.de/mcp" } } }
199
217
  ```
200
218
 
201
- **Clients that speak only stdio**, such as Claude Desktop's config file. That is what this package is for:
219
+ **VS Code** (`.vscode/mcp.json`, or *MCP: Add Server* from the command palette):
220
+ ```json
221
+ { "servers": { "viafrei": { "type": "http", "url": "https://mcp.viafrei.de/mcp" } } }
222
+ ```
223
+
224
+ **Clients that speak only stdio** — for example Claude Desktop's config file
225
+ (`claude_desktop_config.json`, opened from Settings → Developer → *Edit Config*).
226
+ That is what this package is for:
202
227
  ```json
203
228
  { "mcpServers": { "viafrei": { "command": "npx", "args": ["-y", "viafrei"] } } }
204
229
  ```
205
- Node 22 or newer. `npx` fetches the bridge when your client starts it.
230
+ Node 22 or newer. `npx` fetches the bridge when your client starts it. If the
231
+ file already has an `mcpServers` block, add the `"viafrei"` entry inside it
232
+ rather than pasting a second block.
206
233
 
207
234
  **An older client on HTTP+SSE** is answered too, at `https://mcp.viafrei.de/sse`.
208
235
  The transport is deprecated in the specification, so prefer the address above
@@ -213,11 +240,21 @@ claude mcp add --transport sse viafrei https://mcp.viafrei.de/sse
213
240
 
214
241
  Restart the client and ask one of the questions above.
215
242
 
243
+ ### Where to find ViaFrei
244
+
245
+ - **npm — [`viafrei`](https://www.npmjs.com/package/viafrei).** This package:
246
+ the stdio bridge, for the config line above. Its page shows the current
247
+ version and this README.
248
+ - **Smithery — [smithery.ai/servers/viafrei/viafrei](https://smithery.ai/servers/viafrei/viafrei).**
249
+ Connect through Smithery's hosted connection, with no local install.
250
+ - **Glama — [glama.ai/mcp/servers/mavrovde/viafrei-bridge](https://glama.ai/mcp/servers/mavrovde/viafrei-bridge).**
251
+ The directory listing for this repository, with the tool list.
252
+
216
253
  ## 🧰 Everything it can do
217
254
 
218
255
  <!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
219
256
 
220
- **20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.6.2, snapshot of 2026-10-04. Each line is the server's own words; the full parameters are in [API.md](API.md).
257
+ **20 tools, 9 prompts, 10 resources and 2 resource templates** — server 1.7.0, snapshot of 2026-10-04. Each line is the server's own words; the full parameters are in [API.md](API.md).
221
258
 
222
259
  #### 🚗 On the road
223
260
 
@@ -312,11 +349,11 @@ snapshot. Ask any MCP client for `tools/list` to see what is live this minute.
312
349
 
313
350
  Walkthroughs that chain several tools, each naming what comes back:
314
351
 
315
- - 🛣️ [Driving Munich to Berlin](https://github.com/mavrovde/viafrei-bridge/wiki/Use-case-Driving-Munich-to-Berlin): several motorways in one call, roadworks ahead, a fuel or charging stop, and parking at the far end.
316
- - 🚉 [The commute that broke](https://github.com/mavrovde/viafrei-bridge/wiki/Use-case-The-commute-that-broke): departures, regional disruption, and a station lift that is out.
317
- - 🔋 [An EV on a long weekend](https://github.com/mavrovde/viafrei-bridge/wiki/Use-case-An-EV-on-a-long-weekend): charging by connector and power, low-emission-zone rules, and what is around a stop.
318
- - 🚚 [Fleet and logistics briefings](https://github.com/mavrovde/viafrei-bridge/wiki/Use-case-Fleet-and-logistics-briefings): a dispatcher's morning brief, and watches that report a change instead of being polled.
319
- - 🗺️ [Building a local guide agent](https://github.com/mavrovde/viafrei-bridge/wiki/Use-case-Building-a-local-guide-agent): a vague place to coordinates and back, and what OpenStreetMap's licence asks of you.
352
+ - 🛣️ [Driving Munich to Berlin](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-Driving-Munich-to-Berlin): several motorways in one call, roadworks ahead, a fuel or charging stop, and parking at the far end.
353
+ - 🚉 [The commute that broke](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-The-commute-that-broke): departures, regional disruption, and a station lift that is out.
354
+ - 🔋 [An EV on a long weekend](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-An-EV-on-a-long-weekend): charging by connector and power, low-emission-zone rules, and what is around a stop.
355
+ - 🚚 [Fleet and logistics briefings](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-Fleet-and-logistics-briefings): a dispatcher's morning brief, and watches that report a change instead of being polled.
356
+ - 🗺️ [Building a local guide agent](https://github.com/mavrovde/viafrei-mcp/wiki/Use-case-Building-a-local-guide-agent): a vague place to coordinates and back, and what OpenStreetMap's licence asks of you.
320
357
 
321
358
  ## 🛠️ For developers
322
359
 
@@ -359,8 +396,13 @@ curl -s https://mcp.viafrei.de/mcp \
359
396
  reference shelf (driving rules, emission zones, emergency numbers,
360
397
  attribution) your assistant can read directly.
361
398
  - **Watches.** `watch_situation` turns polling into a notification for as long
362
- as the session lives. Three hours by default, and 24 is the longest one can be
363
- asked to run. It reaches no inbox and no phone.
399
+ as the session lives: a road closure appearing or clearing, a stop's departures
400
+ running late, a region's late share reaching a threshold (a quarter by
401
+ default), a DWD warning coming into force, a charge point turning free. Three
402
+ hours by default, 24 at most, and at most 10 per session. What a watch has
403
+ reported is readable at `viafrei://watches` and `viafrei://watch/{id}`, and a
404
+ client that subscribes to that resource is told when it reports something new.
405
+ It reaches no inbox and no phone.
364
406
  - **Machine-readable failures**, in the bridge too: one line on stderr and a
365
407
  distinct exit code per cause (see below).
366
408
 
@@ -481,7 +523,7 @@ See also [NOTICE](NOTICE) and [LICENSE](LICENSE).
481
523
  ViaFrei is live, free, and still growing. Some sources are thinner than they will
482
524
  be, and a tool can be slow or wrong. **A tool that fails is something the server
483
525
  sees. A tool that answers confidently with the wrong thing is not.** Use the
484
- [*the answer was wrong or useless*](https://github.com/mavrovde/viafrei-bridge/issues)
526
+ [*A tool answered badly, or not at all*](https://github.com/mavrovde/viafrei-mcp/issues/new?template=answer.yml)
485
527
  issue template, saying what you asked and what came back. That report is the
486
528
  one thing we cannot get any other way.
487
529
 
@@ -495,11 +537,11 @@ so nobody spends an evening looking for the server code.
495
537
 
496
538
  ## Contributing · Security · Licence
497
539
 
498
- - **Contributing:** yes, please. See [CONTRIBUTING.md](https://github.com/mavrovde/viafrei-bridge/blob/main/CONTRIBUTING.md)
499
- and [CODE_OF_CONDUCT.md](https://github.com/mavrovde/viafrei-bridge/blob/main/CODE_OF_CONDUCT.md).
540
+ - **Contributing:** yes, please. See [CONTRIBUTING.md](https://github.com/mavrovde/viafrei-mcp/blob/main/CONTRIBUTING.md)
541
+ and [CODE_OF_CONDUCT.md](https://github.com/mavrovde/viafrei-mcp/blob/main/CODE_OF_CONDUCT.md).
500
542
  The bridge is small and self-contained, which makes it a good place for a first patch.
501
543
  - **Security:** never open a public issue for a key, a token or anything that
502
- looks like one. [SECURITY.md](https://github.com/mavrovde/viafrei-bridge/blob/main/SECURITY.md)
544
+ looks like one. [SECURITY.md](https://github.com/mavrovde/viafrei-mcp/blob/main/SECURITY.md)
503
545
  has the private reporting path.
504
546
  - **Licence:** [Apache-2.0](LICENSE) for this code. Data obtained through the
505
547
  server keeps its provider's licence; see [NOTICE](NOTICE).
package/SOURCES.md CHANGED
@@ -143,8 +143,9 @@ is deliberately not re-measured, and the count says so rather than absorbing it:
143
143
  status this page cannot stand behind is worse than an honest gap.
144
144
 
145
145
  **The server has grown since that measurement, and this page has not re-run it.**
146
- As of the 2026-10-02 capture shipped alongside this page it exposes twenty tools,
147
- eighteen of them read-only. Between that measurement and the 2026-10-02 capture it
146
+ As of the capture shipped alongside this page (2026-10-04, server 1.7.0)
147
+ it exposes twenty tools, eighteen of them read-only — the same twenty as on
148
+ 2026-10-02. Between that measurement and the 2026-10-02 capture it
148
149
  gained two tools, and both matter here. One is a SECOND fuel tool,
149
150
  `find_fuel_station`, excluded from any spot check for exactly the same reason
150
151
  `find_cheapest_fuel` is, and the reason is a licence condition rather than a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viafrei",
3
- "version": "1.6.2",
3
+ "version": "1.7.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",
@@ -18,18 +18,22 @@
18
18
  "autobahn",
19
19
  "deutsche-bahn",
20
20
  "departures",
21
+ "public-transport",
22
+ "roadworks",
23
+ "road-closures",
21
24
  "parking",
22
25
  "ev-charging",
23
26
  "fuel-prices",
24
27
  "geocoding",
28
+ "points-of-interest",
25
29
  "weather",
26
30
  "open-data"
27
31
  ],
28
32
  "homepage": "https://viafrei.de",
29
- "bugs": "https://github.com/mavrovde/viafrei-bridge/issues",
33
+ "bugs": "https://github.com/mavrovde/viafrei-mcp/issues",
30
34
  "repository": {
31
35
  "type": "git",
32
- "url": "git+https://github.com/mavrovde/viafrei-bridge.git"
36
+ "url": "git+https://github.com/mavrovde/viafrei-mcp.git"
33
37
  },
34
38
  "license": "Apache-2.0",
35
39
  "author": "ViaFrei",