viafrei 2.5.8 → 2.5.20
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 +79 -0
- package/README.md +108 -9
- package/SOURCES.md +64 -18
- 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-11-
|
|
12
|
+
**It is a dated snapshot, taken on 2026-11-07.** 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.
|
|
20
|
+
| Server | `viafrei` 2.5.20 |
|
|
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-11-
|
|
24
|
+
| Captured from | `https://mcp.viafrei.de/mcp` on 2026-11-07 |
|
|
25
25
|
| Surface | 24 tools, 10 resources, 2 resource templates, 9 prompts |
|
|
26
26
|
| Parameter schemas | JSON Schema draft-07 |
|
|
27
27
|
| Capabilities | `tools`, `resources`, `prompts`, `logging` |
|
|
@@ -239,7 +239,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
239
239
|
| parameter | type | required | default | constraints |
|
|
240
240
|
| --- | --- | --- | --- | --- |
|
|
241
241
|
| `conditions` | array of string | no | — | min 1 item(s); max 4 item(s); each item: one of `"open247"`, `"card"`, `"free"`, `"public"` |
|
|
242
|
-
| `connector` | string | no | — | one of `"ccs2"`, `"type2"`, `"chademo"` |
|
|
242
|
+
| `connector` | string | no | — | one of `"ccs2"`, `"type2"`, `"chademo"`, `"mcs"` |
|
|
243
243
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
244
244
|
| `lat` | number | no | — | min -90; max 90 |
|
|
245
245
|
| `limit` | integer | no | `5` | min 1; max 10 |
|
|
@@ -251,8 +251,8 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
251
251
|
| `place` | string | no | — | min length 1; max length 120 |
|
|
252
252
|
| `radius_km` | number | no | `10` | min 1; max 25 |
|
|
253
253
|
|
|
254
|
-
- **`conditions`** — Only sites with ONE point that meets every listed term: "open247" (open around the clock, "rund um die Uhr", "24/7"), "card" (pay by credit or debit card at the charger, "mit Karte zahlen"), "free" (free of charge, "kostenlos"), "public" (open to the public, not customers only). Example: ["open247"].
|
|
255
|
-
- **`connector`** — Plug the
|
|
254
|
+
- **`conditions`** — Only sites with ONE point that meets every listed term: "open247" (open around the clock, "rund um die Uhr", "24/7"), "card" (pay by credit or debit card at the charger, "mit Karte zahlen"), "free" (free of charge, "kostenlos"), "public" (open to the public, not customers only). Example: ["open247"]. The Bundesnetzagentur charging register states these, and "free" also an operator's published ad-hoc tariff of 0 no older than 90 days; a site that states nothing is left out and counted, never assumed. Omit unless the person asked for one.
|
|
255
|
+
- **`connector`** — Plug the vehicle needs: "ccs2" (CCS Combo 2 — the DC fast-charging standard on almost every European EV), "type2" (Typ 2 / Mennekes, the AC socket), "chademo" (older Japanese DC, e.g. Nissan Leaf) or "mcs" (Megawatt Charging System, the plug of electric heavy lorries — only for a lorry or truck). Omit unless the person named their plug or their vehicle — filtering on a guess hides chargers they could have used.
|
|
256
256
|
- **`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.
|
|
257
257
|
- **`lat`** — Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.
|
|
258
258
|
- **`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.
|
|
@@ -812,5 +812,5 @@ single call.
|
|
|
812
812
|
---
|
|
813
813
|
|
|
814
814
|
Generated from `catalogue.json` by `scripts/gen-api-doc.mjs`. The snapshot was
|
|
815
|
-
read from `https://mcp.viafrei.de/mcp` on 2026-11-
|
|
815
|
+
read from `https://mcp.viafrei.de/mcp` on 2026-11-07; no tool was invoked to
|
|
816
816
|
produce it, so no data provider was contacted.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,84 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.5.20] - 2026-11-07
|
|
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.20 while the registry's latest is 2.5.8, 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_charging_station differs between the server and the snapshot
|
|
18
|
+
|
|
19
|
+
**Lorry chargers, free charging from the operator's own tariff, and refusals that
|
|
20
|
+
show the call to make.** The server moved from 2.5.8 to 2.5.20 in twelve patch
|
|
21
|
+
releases. No tool, prompt or resource was added, removed or renamed.
|
|
22
|
+
`find_charging_station` gained one value: `connector` accepts `"mcs"`, and the
|
|
23
|
+
description of `conditions` now says where "free of charge" can also come from. No
|
|
24
|
+
other argument changed.
|
|
25
|
+
|
|
26
|
+
### Added (server 2.5.9 to 2.5.20)
|
|
27
|
+
|
|
28
|
+
- **`connector: "mcs"` in `find_charging_station`**: the Megawatt Charging System,
|
|
29
|
+
the plug of heavy electric lorries, for a lorry or truck only. The plug filters
|
|
30
|
+
are decided point by point, so an answer lists only the plugs a site's points
|
|
31
|
+
actually carry.
|
|
32
|
+
- **"Free of charge" from the operator's tariff.** `conditions: ["free"]` also
|
|
33
|
+
counts a site whose operator publishes an ad-hoc tariff of 0 that is at most 90
|
|
34
|
+
days old, beside the Bundesnetzagentur's register. A site that states nothing is
|
|
35
|
+
left out and counted, never assumed.
|
|
36
|
+
- **Discovery on both hosts**: the server card at
|
|
37
|
+
`mcp.viafrei.de/.well-known/mcp/server-card.json` and `viafrei.de/.well-known/mcp.json`
|
|
38
|
+
is the same document, and `viafrei.de/.well-known/security.txt` (RFC 9116) names
|
|
39
|
+
the contact for security reports.
|
|
40
|
+
- **On viafrei.de**: a page for developers (a quickstart per client, a recorded
|
|
41
|
+
try-it call, every tool with an example question) and one for businesses (what a
|
|
42
|
+
business may do with each class of source); a dashboard layout at 1024 px and
|
|
43
|
+
wider, with the list beside a map whose marks link to the rows; station pages for
|
|
44
|
+
U-Bahn and Stadtbahn stations, found through OpenStreetMap, each listing the tram
|
|
45
|
+
and bus stops around it with live departures; "use my location" at a station, a
|
|
46
|
+
fuel or charging station or a rest area opening that place's page.
|
|
47
|
+
|
|
48
|
+
### Changed (server 2.5.9 to 2.5.20)
|
|
49
|
+
|
|
50
|
+
- **Refusals say what would work.** An input that is missing or cannot be used is
|
|
51
|
+
answered with an example call, and the refusals (invalid input, not found, out of
|
|
52
|
+
coverage) are told apart from server faults by `_meta.errorCode`.
|
|
53
|
+
- **Pages open with their answer on a phone**: a motorway, place or station page
|
|
54
|
+
starts with its traffic light, its count and the first items; credit lines fold
|
|
55
|
+
together with the figures they credit, never apart from them.
|
|
56
|
+
- **Departure boards refresh every minute in place** while the page is open in
|
|
57
|
+
front of you.
|
|
58
|
+
- **Shorter addresses for fuel and charging pages**: the description alone, a short
|
|
59
|
+
key only where two pages share one, and every older address redirected.
|
|
60
|
+
|
|
61
|
+
### Fixed (server 2.5.9 to 2.5.20)
|
|
62
|
+
|
|
63
|
+
- **One misread date no longer stops a city's traffic messages**: a demonstration
|
|
64
|
+
announced for one day was read as a closure ending as it began, and the whole run
|
|
65
|
+
was refused.
|
|
66
|
+
- **Fast motorway messages no longer wait behind the large feeds** of the national
|
|
67
|
+
access point, so they refresh at their own rhythm again.
|
|
68
|
+
- **The home's "most affected stations" block** reads every regional realtime feed,
|
|
69
|
+
counting a departure two feeds both report once.
|
|
70
|
+
- **The city centre of Köln carries its own name once more**; a place page now
|
|
71
|
+
answers inside two seconds while its cards are still loading, and no sitemap part
|
|
72
|
+
times out any longer.
|
|
73
|
+
|
|
74
|
+
### Bridge
|
|
75
|
+
|
|
76
|
+
- **README and SOURCES.md describe server 2.5.20.** The README's "New" box covers
|
|
77
|
+
2.5.9 to 2.5.20, two answers captured from server 2.5.20 on 2026-11-08 were added
|
|
78
|
+
(an MCS charger near München, and a refusal with its example call), the station
|
|
79
|
+
section gained the U-Bahn and Stadtbahn pages, the minute refresh and the dashboard,
|
|
80
|
+
and the developers section names the error codes and the discovery files.
|
|
81
|
+
SOURCES.md was compared again with `viafrei://attribution`: 270 rows, one added
|
|
82
|
+
(which tram stops have an underground OpenStreetMap station, a seventh ODbL
|
|
83
|
+
database, with its own obligation section), and the charging section names the
|
|
84
|
+
operator tariff as a second source of "free of charge" and the `mcs` plug.
|
|
85
|
+
|
|
8
86
|
## [2.5.8] - 2026-11-03
|
|
9
87
|
|
|
10
88
|
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
@@ -4215,6 +4293,7 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
4215
4293
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
4216
4294
|
the check red on `main` for everybody, for something no contributor did.
|
|
4217
4295
|
|
|
4296
|
+
[2.5.20]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.20
|
|
4218
4297
|
[2.5.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.8
|
|
4219
4298
|
[2.5.7]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.7
|
|
4220
4299
|
[2.5.6]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.5.6
|
package/README.md
CHANGED
|
@@ -46,10 +46,49 @@ one search away from the box in the site's header.
|
|
|
46
46
|
> from our data, and AI can make mistakes, so check anything important (a
|
|
47
47
|
> closure, a departure, a price) against the source each answer names.
|
|
48
48
|
|
|
49
|
-
> **New in server 2.5.
|
|
49
|
+
> **New in server 2.5.9 to 2.5.20: lorry chargers, free charging from the
|
|
50
|
+
> operator's own tariff, refusals that show the call to make instead, and on
|
|
51
|
+
> viafrei.de a desktop dashboard, U-Bahn and Stadtbahn station pages and pages for
|
|
52
|
+
> developers and businesses.** No tool was added, renamed or removed; one of the
|
|
53
|
+
> twenty-four, `find_charging_station`, accepts one more plug.
|
|
54
|
+
>
|
|
55
|
+
> - **Chargers for electric lorries.** `find_charging_station` takes `connector: "mcs"`,
|
|
56
|
+
> the Megawatt Charging System that heavy electric lorries charge with
|
|
57
|
+
> ([example](#-real-answers)). The plug and MCS filters are decided point by point,
|
|
58
|
+
> so an answer lists only the plugs a site's points actually carry.
|
|
59
|
+
> - **"Free of charge" from the operator's own price list too.** The `conditions`
|
|
60
|
+
> filter's `free` now also counts a site whose operator publishes an ad-hoc tariff
|
|
61
|
+
> of 0 that is at most 90 days old, beside what the Bundesnetzagentur's register
|
|
62
|
+
> states. A site that states nothing is still left out and counted, never assumed.
|
|
63
|
+
> - **A refusal says what to ask instead.** A call that cannot be answered says why
|
|
64
|
+
> and what would work: a missing or invalid input ends with an example call, a
|
|
65
|
+
> point outside Germany asks for a German place, and `_meta.errorCode` (with
|
|
66
|
+
> `_meta.errorReason` where there is one) says which kind of refusal it is
|
|
67
|
+
> ([example](#-real-answers)).
|
|
68
|
+
> - **Discovery on both hosts.** `viafrei.de/.well-known/mcp.json` and
|
|
69
|
+
> `mcp.viafrei.de/.well-known/mcp/server-card.json` serve the same server card,
|
|
70
|
+
> and `viafrei.de/.well-known/security.txt` (RFC 9116) names the contact.
|
|
71
|
+
> - **On viafrei.de**: a [developers page](https://viafrei.de/en/developers) with a
|
|
72
|
+
> quickstart per client, a recorded try-it call and every tool with an example
|
|
73
|
+
> question, and a [business page](https://viafrei.de/en/business) with a table of
|
|
74
|
+
> what a business may do with each kind of source; at 1024 px and wider a
|
|
75
|
+
> dashboard layout (the items in one column, beside a map whose marks link back to
|
|
76
|
+
> them, and on the home a strip of the most affected motorways and stations);
|
|
77
|
+
> every page opening on a phone with what it is about, a card's credits folded with
|
|
78
|
+
> the figures they credit; station pages for U-Bahn and Stadtbahn stations, found
|
|
79
|
+
> through OpenStreetMap, each naming the nearby tram and bus stops with their live
|
|
80
|
+
> departures; departure boards that refresh every minute in place; "use my location"
|
|
81
|
+
> at a station, a fuel or charging station or a rest area opening that place's page;
|
|
82
|
+
> and shorter addresses for the fuel and charging pages, with every older address
|
|
83
|
+
> redirected.
|
|
84
|
+
> - **Fixed:** a single misread date in a city's traffic message no longer stops that
|
|
85
|
+
> city's whole feed; the motorway messages of the national access point no longer
|
|
86
|
+
> wait behind the large feeds; central Köln is called Köln again; and the home's
|
|
87
|
+
> "most affected stations" block reads every regional realtime feed, not one.
|
|
88
|
+
>
|
|
89
|
+
> **Before that, server 2.5.8: a whole railway station in one answer, one Bundesland's
|
|
50
90
|
> motorways at a glance, and on viafrei.de a page for every Land, every fuel station
|
|
51
|
-
> and every charging site.** One tool was added, `describe_station
|
|
52
|
-
> or removed.
|
|
91
|
+
> and every charging site.** One tool was added then, `describe_station`.
|
|
53
92
|
>
|
|
54
93
|
> - **A whole station in one answer.** The new tool
|
|
55
94
|
> [`describe_station`](API.md#describe_station--describe-a-railway-station) answers
|
|
@@ -76,7 +115,7 @@ one search away from the box in the site's header.
|
|
|
76
115
|
> read; and recent places in the header's place bar that each open their own place,
|
|
77
116
|
> and a station chosen from the search remembered as that station, reopening its page.
|
|
78
117
|
>
|
|
79
|
-
> **
|
|
118
|
+
> **Earlier, server 2.5.4 and 2.5.5:** published speed-camera locations for
|
|
80
119
|
> planning, everyday needs near a place, departures around a place, charging by terms
|
|
81
120
|
> of use, Trier's car parks, and bus and train cards that read like a departure board.
|
|
82
121
|
> One tool was added then, `find_speed_cameras`. Server 2.5.6 and 2.5.7 added no tool.
|
|
@@ -158,7 +197,7 @@ comes back in the language you asked in.
|
|
|
158
197
|
| 🗺️ **planning a trip** | *Ich plane eine Fahrt nach Düsseldorf: Wo stehen dort feste Blitzer?* · *Which speed-camera locations does Karlsruhe publish?* — for planning only: the answer opens with the § 23 Abs. 1c StVO notice, and a driver may not use it while driving |
|
|
159
198
|
| 🚚 **driving a lorry** | *Darf der Lang-Lkw auf die A7?* · *Which height limits are there for lorries in Bremen?* · *Gibt es Lkw-Durchfahrtsverbote bei Bielefeld?* · *Wann ist der nächste Lkw-Fahrverbotstag?* · *Gilt am 31. Oktober in Niedersachsen Lkw-Fahrverbot?* · *Welche Durchfahrtshöhen gibt es am Kölner Dom?* · *Where are the lorry bans in Dresden?* |
|
|
160
199
|
| 🚧 **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?* |
|
|
161
|
-
| ⚡ **driving electric or on hydrogen** | *Where can I charge with Type 2 near Leipzig?* · *Which fast chargers near Leipzig are open around the clock and take a card?* · *Wo gibt es einen Schnelllader mit 150 kW bei Nürnberg?* · *Is there an EnBW charger with 150 kW or more in Stuttgart?* · *Where can I fill up a hydrogen lorry near Hamburg?* |
|
|
200
|
+
| ⚡ **driving electric or on hydrogen** | *Where can I charge with Type 2 near Leipzig?* · *Which fast chargers near Leipzig are open around the clock and take a card?* · *Wo gibt es einen Schnelllader mit 150 kW bei Nürnberg?* · *Is there an EnBW charger with 150 kW or more in Stuttgart?* · *Where can I fill up a hydrogen lorry near Hamburg?* · *Where can my electric lorry charge near Munich?* · *Gibt es in Stuttgart kostenlose Ladesäulen?* |
|
|
162
201
|
| 🅿️ **parking** | *Is the P+R at Fröttmaning usually full in the morning?* · *Wie viele Plätze sind in den Kasseler Parkhäusern frei?* · *Which car parks in Trier have spaces?* · *Which car parks in Konstanz still have spaces?* · *How full are the lorry parks along the A9?* · *Is there a free disabled parking bay near Dortmund's Hansastraße?* · *Find a rest area with lorry parking on the A9* · *Rastplatz mit Dusche an der A7?* · *Where can I park on the street near Hamburg Rathaus?* |
|
|
163
202
|
| ⛽ **filling up** | *Where is diesel cheapest near Kassel?* · *Welche Tankstellen gibt es in Weimar?* |
|
|
164
203
|
| ♿ **travelling step-free** | *Funktioniert der Aufzug am Bahnhof Köln Messe/Deutz?* · *Is Tübingen Hbf step-free?* · *Ist die Bushaltestelle Ludgeriplatz in Münster barrierefrei?* · *Which platforms at Leipzig Hbf are step-free?* |
|
|
@@ -226,8 +265,9 @@ roads and around a place it watches closures and restrictions only, and says so.
|
|
|
226
265
|
## 💬 Real answers
|
|
227
266
|
|
|
228
267
|
These came back from the production server at `https://mcp.viafrei.de/mcp`. They
|
|
229
|
-
are not mock-ups. The first two were asked of **server 2.5.
|
|
230
|
-
Berlin time
|
|
268
|
+
are not mock-ups. The first two were asked of **server 2.5.20 on 2026-11-08 at 11:34
|
|
269
|
+
and 11:35 Berlin time**. The next two were asked of server 2.5.8 on 2026-11-04 at
|
|
270
|
+
01:13 Berlin time, in the night after it went live. The next five were asked of server
|
|
231
271
|
2.5.5 on 2026-11-03 at 03:20 Berlin time, a few hours after that release reached
|
|
232
272
|
production. The next three were asked of server 2.5.2 on 2026-11-02 between 03:56
|
|
233
273
|
and 04:10 Berlin time, in the night before 2.5.3 went live. The next was asked of
|
|
@@ -256,6 +296,39 @@ Each one shows the first lines of what the tool returned, and the source line as
|
|
|
256
296
|
it was sent, shortened where marked.
|
|
257
297
|
|
|
258
298
|
<details open>
|
|
299
|
+
<summary><b>🚛 "Where can my electric lorry charge near Munich?"</b> — <code>find_charging_station</code> with <code>place: "München"</code>, <code>connector: "mcs"</code>, <code>radius_km: 25</code>, <code>limit: 3</code>, <code>language: "en"</code></summary>
|
|
300
|
+
|
|
301
|
+
```text
|
|
302
|
+
Charging around München (within 25 km, MCS), nearest first, sites wholly out of order last:
|
|
303
|
+
1. MAN, Dr.-Ernst-Zimmermann-Allee 5, 85757 München/Karlsfeld, 85757 Karlsfeld (München) — 11.5 km, MCS, up to 500 kW, 0.79 €/kWh, out of order (as of 11:21)
|
|
304
|
+
Every listed site reports all its matching points out of order.
|
|
305
|
+
Site id for watch_situation (kind "charger"): 1 = 2720
|
|
306
|
+
|
|
307
|
+
Source: Ladepunkte: Ampeco Ltd. (EDRI) via Mobilithek, CC0 1.0 (…) · Ladepunkt-Verfügbarkeit: Ampeco Ltd. (EDRI) via Mobilithek, Open Data (freie Nutzung) (…) · Verwaltungseinheiten: © BKG (2026) dl-de/by-2-0, Datenquellen: https://sgx.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_gn250.pdf (Daten verändert) (…) · As of 11:21
|
|
308
|
+
```
|
|
309
|
+
New in 2.5.13: `connector: "mcs"`, the Megawatt Charging System. Within 25 km of
|
|
310
|
+
Munich one site had an MCS point, and its operator's live feed reported it out of
|
|
311
|
+
order at that moment, which the answer says rather than hiding the site; the site id
|
|
312
|
+
lets `watch_situation` report when it turns free. Asked the same of Hamburg and Kassel,
|
|
313
|
+
the server answered that none of the 2838 and 643 sites within 25 km has one, and
|
|
314
|
+
suggested widening the radius or dropping the filter.
|
|
315
|
+
*Not edited, except the URIs.*
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
<details>
|
|
319
|
+
<summary><b>❓ "Find me a fast charger."</b> (no place named) — <code>find_charging_station</code> with <code>min_power_kw: 150</code>, <code>language: "en"</code></summary>
|
|
320
|
+
|
|
321
|
+
```text
|
|
322
|
+
No place given. Ask the person where: a town, a postcode or their position. Then pass the town (or postcode and town, "36037 Fulda") as place, or their position as lat+lon — for example {"place": "Fulda"} or {"lat": 50.55, "lon": 9.68}.
|
|
323
|
+
```
|
|
324
|
+
New in 2.5.13: a refusal ends with a call that would work. The result is marked
|
|
325
|
+
`isError`, and `_meta` says `"errorCode": "invalid_input"` and
|
|
326
|
+
`"errorReason": "place_missing"`, so a client can tell a question it must ask the
|
|
327
|
+
person from a fault of the server.
|
|
328
|
+
*Not edited.*
|
|
329
|
+
</details>
|
|
330
|
+
|
|
331
|
+
<details>
|
|
259
332
|
<summary><b>🚉 "Tell me about Leipzig Hbf."</b> — <code>describe_station</code> with <code>station: "Leipzig Hbf"</code>, <code>departures: 3</code>, <code>language: "en"</code></summary>
|
|
260
333
|
|
|
261
334
|
```text
|
|
@@ -1878,6 +1951,19 @@ The station map marks each lift at its own position, every map says how fresh it
|
|
|
1878
1951
|
and the traffic light and the map refresh in place every two minutes; a map that is
|
|
1879
1952
|
not ready in time is shown as its text instead, so the page never waits for it.
|
|
1880
1953
|
|
|
1954
|
+
Since 2.5.10 a station's board updates itself once a minute, but only while you can
|
|
1955
|
+
see the tab. Since 2.5.14 **U-Bahn and Stadtbahn stations have pages too**: a tram
|
|
1956
|
+
stop of the German stop register gets one when OpenStreetMap maps an underground
|
|
1957
|
+
station within 300 m of it, and such a page carries the OpenStreetMap line and the
|
|
1958
|
+
share-alike offer described in [SOURCES.md](SOURCES.md); its content (name, lines,
|
|
1959
|
+
departures, lifts) comes from the stop register, the timetable and the operators.
|
|
1960
|
+
Every station page also names the nearby tram and bus stops, each with its own live
|
|
1961
|
+
departures. "Use my location" at a station, a fuel or charging station or a rest area
|
|
1962
|
+
opens that place's own page; the position goes to the server inside the request, not in
|
|
1963
|
+
the address, and is not written to any log. Since 2.5.17, at 1024 px and wider, station, place and motorway pages
|
|
1964
|
+
are a dashboard: the items in one column and a map beside them that stays in view,
|
|
1965
|
+
each item linked to its mark.
|
|
1966
|
+
|
|
1881
1967
|
**Every Bundesland has a page** since 2.5.8, in every language, with an index at
|
|
1882
1968
|
**[viafrei.de/en/states](https://viafrei.de/en/states)**: Hessen is
|
|
1883
1969
|
[viafrei.de/en/state/hessen](https://viafrei.de/en/state/hessen). It shows the Land's
|
|
@@ -1888,6 +1974,10 @@ facts, among them its area from the Statistisches Bundesamt, and its largest tow
|
|
|
1888
1974
|
`/en/fuel/…` and `/en/charging/…`, linked from the fuel and charging cards and from
|
|
1889
1975
|
the answers of `find_fuel_station`, `find_cheapest_fuel` and `find_charging_station`;
|
|
1890
1976
|
the Land pages and each kind of station page are listed in sitemaps of their own.
|
|
1977
|
+
Since 2.5.19 such a page's address is its description alone
|
|
1978
|
+
(`/de/charging/<operator>-<town>-<street>`), with a short key added only when two
|
|
1979
|
+
pages share a description, and every older address answers with a permanent
|
|
1980
|
+
redirect to the current one.
|
|
1891
1981
|
|
|
1892
1982
|
**Every motorway exit has a page of its own** since 2.4.1, under its motorway: the A3's
|
|
1893
1983
|
junction Breitscheid is
|
|
@@ -2040,7 +2130,7 @@ Restart the client and ask one of the questions above.
|
|
|
2040
2130
|
|
|
2041
2131
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
2042
2132
|
|
|
2043
|
-
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.5.
|
|
2133
|
+
**24 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.5.20, snapshot of 2026-11-07. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
2044
2134
|
|
|
2045
2135
|
#### 🚗 On the road
|
|
2046
2136
|
|
|
@@ -2207,7 +2297,16 @@ curl -s https://mcp.viafrei.de/mcp \
|
|
|
2207
2297
|
client that subscribes to that resource is told when it reports something new.
|
|
2208
2298
|
It reaches no inbox and no phone.
|
|
2209
2299
|
- **Machine-readable failures**, in the bridge too: one line on stderr and a
|
|
2210
|
-
distinct exit code per cause (see below).
|
|
2300
|
+
distinct exit code per cause (see below). On the server, a refusal carries
|
|
2301
|
+
`isError` and `_meta.errorCode` (`invalid_input`, `not_found`, `out_of_coverage`
|
|
2302
|
+
and the rest of a closed list), and an input it cannot use is answered with an
|
|
2303
|
+
example call that would work.
|
|
2304
|
+
- **Discoverable.** The server card is served at
|
|
2305
|
+
`https://mcp.viafrei.de/.well-known/mcp/server-card.json` and, the same document,
|
|
2306
|
+
at `https://viafrei.de/.well-known/mcp.json`; `https://viafrei.de/.well-known/security.txt`
|
|
2307
|
+
names the contact for security reports. The
|
|
2308
|
+
[developers page](https://viafrei.de/en/developers) has a quickstart per client and
|
|
2309
|
+
every tool with an example question.
|
|
2211
2310
|
|
|
2212
2311
|
### Bridge configuration
|
|
2213
2312
|
|
package/SOURCES.md
CHANGED
|
@@ -15,13 +15,21 @@ 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.5.
|
|
19
|
-
of server 2.5.
|
|
20
|
-
feed no tool: the streets, drawn on the site's maps,
|
|
21
|
-
on the Land pages
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
with that resource as served by server 2.5.20 on 2026-11-08**: 270 sources, the 269
|
|
19
|
+
of server 2.5.8 and one added in server 2.5.14. 256 of the 270 are held (three of
|
|
20
|
+
those feed no tool: the streets, drawn on the site's maps, the area of each Land,
|
|
21
|
+
shown on the Land pages, and the match of tram stops to underground stations, which
|
|
22
|
+
decides which stops have a station page), 9 are planned (licence read, nothing
|
|
23
|
+
ingested yet) and five are discontinued. The new row is that match: which tram stops
|
|
24
|
+
of the German stop register lie within 300 m of an **underground station mapped in
|
|
25
|
+
OpenStreetMap**, a separate ODbL database of ours
|
|
26
|
+
([below](#and-the-underground-stations-on-viafreides-station-pages)). One more
|
|
27
|
+
change between 2.5.8 and 2.5.20 is not a new row: a charging site counts as **free of
|
|
28
|
+
charge** also when its operator publishes an ad-hoc tariff of 0 that is at most 90
|
|
29
|
+
days old
|
|
30
|
+
([the charging section](#charging-data--cc-by-40-cc0-10-and-dl-deby-2-0)). The
|
|
31
|
+
area of each Bundesland from the Statistisches Bundesamt, the row added in 2.5.8, is
|
|
32
|
+
shown on the Land pages of viafrei.de and in no tool's answer
|
|
25
33
|
([below](#destatis--the-area-of-each-land--dl-deby-2-0)). Two lines changed in
|
|
26
34
|
server 2.5.7: MobiData BW's parking rows for **Heidelberg and Konstanz** are now
|
|
27
35
|
credited under CC BY 4.0, the licence both cities now state for their own data
|
|
@@ -298,6 +306,31 @@ arrangement of the same database; the export holds all of it.
|
|
|
298
306
|
This binds you only if you take the streets off our maps into a database of your
|
|
299
307
|
own; reading a map carries no obligation beyond the credit on it.
|
|
300
308
|
|
|
309
|
+
### And the underground stations on viafrei.de's station pages
|
|
310
|
+
|
|
311
|
+
Since server 2.5.14 viafrei.de has a station page for a **U-Bahn or Stadtbahn
|
|
312
|
+
station** that is a tram stop in the German stop register (zHV): the stop gets a
|
|
313
|
+
page when OpenStreetMap maps an underground station within 300 m of it, a U-Bahn
|
|
314
|
+
station or a light-rail stop below ground. Which stop, which OpenStreetMap station,
|
|
315
|
+
its kind and how far it lies is kept in a **seventh ODbL database** of ours, built
|
|
316
|
+
from the OpenStreetMap Germany extracts and never joined to our other OpenStreetMap
|
|
317
|
+
databases or to any other source. **No MCP tool answers from it.** The page's
|
|
318
|
+
content (the station's name, its lines, its departures, its lifts) comes from the
|
|
319
|
+
stop register, the timetable and the operators, never from OpenStreetMap; what
|
|
320
|
+
OpenStreetMap decides is only that the page exists.
|
|
321
|
+
|
|
322
|
+
A page that exists only because of the match, and every list on the site that names
|
|
323
|
+
such a station, carries the line, linked to the licence:
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
Als U-Bahn- oder Stadtbahnstation erkannt mit Daten von OpenStreetMap: © OpenStreetMap-Mitwirkende, ODbL 1.0
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
and the same § 4.6 offer as for the streets: the complete contents of that database
|
|
330
|
+
as CSV, with our alterations, under ODbL 1.0, free of charge on request to the
|
|
331
|
+
contact address in the Impressum on viafrei.de. Reading a station page carries no
|
|
332
|
+
obligation beyond the credit on it.
|
|
333
|
+
|
|
301
334
|
---
|
|
302
335
|
|
|
303
336
|
## The catalogue
|
|
@@ -335,8 +368,8 @@ The last time each source's
|
|
|
335
368
|
status was measured from answers was a round of 1,000 questions against server
|
|
336
369
|
1.8.17 on 2026-10-06, before most of the 2.0 sources existed; the
|
|
337
370
|
[test rounds](https://github.com/mavrovde/viafrei-mcp/wiki/Test-rounds) are published
|
|
338
|
-
in the wiki. As of the capture shipped alongside this page (server 2.5.
|
|
339
|
-
2026-11-
|
|
371
|
+
in the wiki. As of the capture shipped alongside this page (server 2.5.20,
|
|
372
|
+
2026-11-07), it exposes twenty-four tools, twenty-two of them read-only. A routine
|
|
340
373
|
re-check of which sources answer leaves both fuel tools out — **`find_cheapest_fuel`
|
|
341
374
|
and `find_fuel_station`** — because Tankerkönig limits how often its interface may
|
|
342
375
|
be asked, and its terms say plainly that bulk retrieval is blocked and the key
|
|
@@ -621,6 +654,8 @@ feed, live, in the resource `viafrei://coverage`.
|
|
|
621
654
|
| `osm` | OSM-Standortdaten: © OpenStreetMap-Mitwirkende, ODbL 1.0 | **ODbL 1.0** | held |
|
|
622
655
|
| **Streets on the maps** — feeds no tool; site: the streets drawn under the marks of the place, station and motorway maps ([below](#and-the-streets-on-viafreides-maps)) | | | |
|
|
623
656
|
| `osm_streets` | Straßen: © OpenStreetMap-Mitwirkende, ODbL 1.0 | **ODbL 1.0** | held |
|
|
657
|
+
| **Underground stations** — feeds no tool; site: which tram stops have a station page as a U-Bahn or Stadtbahn station, and the lists that name such a station ([above](#and-the-underground-stations-on-viafreides-station-pages)) | | | |
|
|
658
|
+
| `osm_underground_stations` | Als U-Bahn- oder Stadtbahnstation erkannt mit Daten von OpenStreetMap: © OpenStreetMap-Mitwirkende, ODbL 1.0 | **ODbL 1.0** | held |
|
|
624
659
|
| **Low-emission zones** — feeds `get_driving_rules` (with a place or a coordinate) and `describe_location`; site: the low-emission-zone line in the rules block of the place pages | | | |
|
|
625
660
|
| `berlin_umweltzone` | Umweltzone: Land Berlin, Senatsverwaltung für Mobilität, Verkehr, Klimaschutz und Umwelt, Datenlizenz Deutschland – Zero – Version 2.0 | dl-de/zero-2-0 | held |
|
|
626
661
|
| `aachen_umweltzone` | Umweltzone: Stadt Aachen (2026), Datenlizenz Deutschland – Namensnennung – Version 2.0, bearbeitet | dl-de/by-2-0 | held |
|
|
@@ -1093,12 +1128,17 @@ Eco-Movement's availability feeds are CC BY 4.0.
|
|
|
1093
1128
|
- **Bundesnetzagentur** asks for a specific name: *"Als Namensnennung für Daten
|
|
1094
1129
|
dieser Internetseite ist Bundesnetzagentur.de zu verwenden"*, and the line uses
|
|
1095
1130
|
exactly that.
|
|
1096
|
-
Since server 2.5.4 the register is also the
|
|
1131
|
+
Since server 2.5.4 the register is also the source of the **terms of use**
|
|
1097
1132
|
that `find_charging_station`'s `conditions` and the charging card filter on (open
|
|
1098
1133
|
around the clock, card payment at the charger, free of charge, open to the
|
|
1099
|
-
public)
|
|
1100
|
-
|
|
1101
|
-
|
|
1134
|
+
public). Since server 2.5.9 one term has a second source: a site counts as
|
|
1135
|
+
**free of charge** also when its operator's own feed publishes an ad-hoc tariff
|
|
1136
|
+
of 0 that is at most 90 days old. A site that states none of these, in the
|
|
1137
|
+
register or in such a tariff, is left out of a filtered answer and counted,
|
|
1138
|
+
never assumed to qualify. Since server 2.5.13 the plug filter, `mcs` (the
|
|
1139
|
+
Megawatt Charging System of electric lorries) included, is decided point by
|
|
1140
|
+
point, so an answer lists only the plugs a site's points actually carry, whichever feed lists
|
|
1141
|
+
them.
|
|
1102
1142
|
- **"Open Data (freie Nutzung)"** is the access point's label on some operators'
|
|
1103
1143
|
feeds (EDRI's and ENERANDO's availability, Grid & Co.'s and Road's both feeds,
|
|
1104
1144
|
Monta's master file, and since server 2.3.23 ELU Mobility's both feeds), with no
|
|
@@ -1181,7 +1221,7 @@ privacy rights (§ 2(b)(1)); neither are its photo links.
|
|
|
1181
1221
|
OSM-Standortdaten: © OpenStreetMap-Mitwirkende, ODbL 1.0
|
|
1182
1222
|
```
|
|
1183
1223
|
|
|
1184
|
-
**Which answers carry it**, in the platform's own words as of server 2.1.8 (
|
|
1224
|
+
**Which answers carry it**, in the platform's own words as of server 2.1.8 (since then the list has grown: since server 2.5.14 it also names an OpenStreetMap underground station named in an answer, see below):
|
|
1185
1225
|
*"Only results that contain a row of one of these two OSM tables carry this line —
|
|
1186
1226
|
an input that resolved through them, a landmark offered beside a town of the same
|
|
1187
1227
|
name, an OpenStreetMap car park listed in an answer, an OpenStreetMap motorway
|
|
@@ -1226,6 +1266,12 @@ stays what it was: a filter, never shown. The one OpenStreetMap layer a map draw
|
|
|
1226
1266
|
since server 2.4.7, is the streets, from a separate database of their own
|
|
1227
1267
|
([above](#and-the-streets-on-viafreides-maps)).
|
|
1228
1268
|
|
|
1269
|
+
Since server 2.5.14 `find_poi` can also name **U-Bahn stations and underground light-rail stops** from
|
|
1270
|
+
the same points of interest, each as OpenStreetMap maps it and with no departures,
|
|
1271
|
+
lifts or operator taken from the node; such an answer carries the same line. The
|
|
1272
|
+
station pages that exist because of an underground station are a separate database
|
|
1273
|
+
([above](#and-the-underground-stations-on-viafreides-station-pages)).
|
|
1274
|
+
|
|
1229
1275
|
Our ODbL § 4.6 offer is [above](#and-one-that-applies-if-you-get-an-openstreetmap-derived-result-back).
|
|
1230
1276
|
|
|
1231
1277
|
Licence: <https://opendatacommons.org/licenses/odbl/1-0/> ·
|
|
@@ -1765,10 +1811,10 @@ traffic messages, planned until 2.5.1, are held as a backup since 2.5.2.
|
|
|
1765
1811
|
(ladenetz.de and ladebusiness), whose publisher ended them on 2026-10-19; since
|
|
1766
1812
|
server 2.5.6 the sites only they carried no longer answer (see the charging section).
|
|
1767
1813
|
|
|
1768
|
-
**Held back.** Nothing at server 2.5.
|
|
1814
|
+
**Held back.** Nothing at server 2.5.20. ivm's two lorry feeds, held back at 2.2.6,
|
|
1769
1815
|
answer since 2.2.7 under the credit their terms prescribe.
|
|
1770
1816
|
|
|
1771
|
-
**No data yet.** None at server 2.5.
|
|
1817
|
+
**No data yet.** None at server 2.5.20. Berlin's park-and-ride sites, the one such
|
|
1772
1818
|
row at 2.2.14, answer now.
|
|
1773
1819
|
|
|
1774
1820
|
**Not built:**
|
|
@@ -1832,11 +1878,11 @@ row at 2.2.14, answer now.
|
|
|
1832
1878
|
register at `viafrei://attribution` is generated from the same place. A line
|
|
1833
1879
|
that existed only in documentation would be a line nobody emits.
|
|
1834
1880
|
- The catalogue above was **generated** from that register and **compared** line
|
|
1835
|
-
by line with it as served by server 2.5.
|
|
1881
|
+
by line with it as served by server 2.5.20 on 2026-11-08, not typed: every id it
|
|
1836
1882
|
lists is here, once, with its line and licence as served. Two lines are printed
|
|
1837
1883
|
shorter than served, and marked (…): ivm's lines carry their dataset's offer
|
|
1838
1884
|
link inside the line, and this page carries no deep links into the catalogues we
|
|
1839
|
-
fetch through. No row was added at 2.3.12 or 2.3.18; the one added in 2.5.8, the six added in 2.5.4, the three added between
|
|
1885
|
+
fetch through. No row was added at 2.3.12 or 2.3.18; the one added in 2.5.14, the one added in 2.5.8, the six added in 2.5.4, the three added between
|
|
1840
1886
|
2.4.4 and 2.4.9, the eight added in 2.4.2 and 2.4.3, the fourteen added at 2.3.23
|
|
1841
1887
|
and the 25 added at 2.2.14 were taken from the same resource.
|
|
1842
1888
|
- Every row in our internal register records the licence, the operative sentence,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.20",
|
|
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",
|