viafrei 2.1.5 → 2.1.9
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 -5
- package/CHANGELOG.md +36 -0
- package/README.md +83 -6
- package/SOURCES.md +6 -1
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -17,7 +17,7 @@ server:** connect any MCP client and call `tools/list`.
|
|
|
17
17
|
|
|
18
18
|
| | |
|
|
19
19
|
| --- | --- |
|
|
20
|
-
| Server | `viafrei` 2.1.
|
|
20
|
+
| Server | `viafrei` 2.1.9 |
|
|
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 |
|
|
@@ -298,26 +298,28 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
298
298
|
|
|
299
299
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
300
300
|
|
|
301
|
-
> Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel —
|
|
301
|
+
> Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel — with address, category and coordinate. Use when the person names a THING rather than a town: "the adesso office in Dortmund", "the nearest Aldi", "a hotel in Weimar". The coordinate passes to any other tool as lat/lon. Do NOT use for a town, district or station (every tool's `place` resolves those), nor for fuel, charging or parking (own tools). Give "in" (a town) when you can: far faster than nationwide. 25 per page, 50 via cursor; radius <= 50 km. OpenStreetMap under ODbL 1.0; show the attribution line.
|
|
302
302
|
|
|
303
303
|
| parameter | type | required | default | constraints |
|
|
304
304
|
| --- | --- | --- | --- | --- |
|
|
305
305
|
| `name` | string | **yes** | — | min length 2; max length 120 |
|
|
306
306
|
| `category` | string | no | — | one of `"office"`, `"amenity"`, `"shop"`, `"tourism"`, `"healthcare"`, `"leisure"`, `"industrial"`, `"historic"`, `"natural"`, `"building"` |
|
|
307
|
+
| `cursor` | string | no | — | max length 256 |
|
|
307
308
|
| `in` | string | no | — | max length 120 |
|
|
308
309
|
| `language` | string | no | `"de"` | one of `"de"`, `"en"` |
|
|
309
310
|
| `lat` | number | no | — | min -90; max 90 |
|
|
310
|
-
| `limit` | integer | no | `
|
|
311
|
+
| `limit` | integer | no | `10` | min 1; max 25 |
|
|
311
312
|
| `lon` | number | no | — | min -180; max 180 |
|
|
312
313
|
| `near` | string | no | — | max length 120 |
|
|
313
314
|
| `radius_km` | number | no | `10` | min 1; max 50 |
|
|
314
315
|
|
|
315
316
|
- **`name`** — The name of the thing to find — a company, shop, clinic, hotel, office or landmark. Part of the name is enough: "adesso" finds "adesso SE". A chain name works too, because brands are matched as well as names. A kind word alone, German or English ("Apotheke", "pharmacy", "trade fair"), lists that kind nearest first. When the person names a company AND a type ("the Bosch office"), put the company here and the type in category. Never for fuel, charging or parking, even near a named company or landmark ("a charger by the Allianz Arena"): those have their own tools, asked with the place.
|
|
316
317
|
- **`category`** — Narrow to one OpenStreetMap family: "office" (companies, agencies), "shop", "amenity" (fuel, pharmacy, school, restaurant, town hall), "healthcare" (hospitals, clinics, doctors, pharmacies), "tourism" (hotels, attractions), "leisure", "industrial" (factories, plants), "historic" (castles, monuments, city gates), "natural" (mountain peaks) or "building". Set it whenever the person names the type ("Bosch office" → office, "Hotel Adler" → tourism); omit it when they name no type.
|
|
318
|
+
- **`cursor`** — Pagination cursor from a previous result's _meta.nextCursor. Omit for the first page.
|
|
317
319
|
- **`in`** — A town to search in — "Dortmund", "Fulda". Strongly preferred: it is both far faster and far less ambiguous than a nationwide search. Use this OR near/lat+lon, not both.
|
|
318
320
|
- **`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.
|
|
319
321
|
- **`lat`** — Latitude of the point to search around, when the caller already holds a coordinate.
|
|
320
|
-
- **`limit`** — How many to return, best match first (1–
|
|
322
|
+
- **`limit`** — How many to return per page, best match first (1–25, default 10). The answer says when more matched; fetch them with cursor, up to 50 in all.
|
|
321
323
|
- **`lon`** — Longitude of the point to search around.
|
|
322
324
|
- **`near`** — A place to search around, when the question is "the nearest X" rather than "X in Y". Use with radius_km.
|
|
323
325
|
- **`radius_km`** — Search radius in kilometres around near/lat+lon (1–50, default 10). Ignored when "in" is used.
|
|
@@ -326,7 +328,7 @@ The server's own instructions to a connecting client, verbatim:
|
|
|
326
328
|
|
|
327
329
|
**Read-only** — it changes nothing. Answers from data this service already holds (closed world). Idempotent: true. Destructive: false.
|
|
328
330
|
|
|
329
|
-
> Looks up a street address
|
|
331
|
+
> Looks up a street address: its coordinate, and the named OpenStreetMap objects at it (company, shop, office) or that none are. Use when the person gives a STREET AND NUMBER — "Bahnhofstraße 12, Fulda" — for the point, or for who or what is there. The coordinate passes to any other tool as lat/lon. Do NOT use for a town/district/station name alone (find_place) or a company/shop/landmark by name (find_poi) — needs a street and a number. At most 5 points; a door mapped twice is folded, points far apart say how far; several towns are a question. OpenStreetMap ODbL 1.0; show the attribution line.
|
|
330
332
|
|
|
331
333
|
| parameter | type | required | default | constraints |
|
|
332
334
|
| --- | --- | --- | --- | --- |
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,40 @@ a Changelog and the versions follow Semantic Versioning.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.1.9] - 2026-10-13
|
|
9
|
+
|
|
10
|
+
**Mirrors the server.** The bridge is versioned to match the ViaFrei MCP server it
|
|
11
|
+
relays to. The running server reports 2.1.9 while the registry's latest is 2.1.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
|
+
**unchanged** — only the version string moved; the capture date is the same day.
|
|
16
|
+
|
|
17
|
+
## [2.1.8] - 2026-10-13
|
|
18
|
+
|
|
19
|
+
**Company offices, what stands at an address, and fewer false jams.** The bridge
|
|
20
|
+
itself is unchanged; this release follows the server from 2.1.5 to 2.1.8.
|
|
21
|
+
|
|
22
|
+
### Changed (server 2.1.6 – 2.1.8)
|
|
23
|
+
|
|
24
|
+
- **`find_poi` finds company offices.** A name spelled a little differently
|
|
25
|
+
still finds the company; a question that is not about driving gets no filling
|
|
26
|
+
stations or car parks; `limit` now defaults to 10 and goes up to 25 a page
|
|
27
|
+
(it was 5, at most 10), the answer carries a `total` and a cursor for the next
|
|
28
|
+
page, up to 50 in all, and says "more than 50" when a search stopped at its reach instead of a
|
|
29
|
+
count that is not complete. It leads to `find_address` for the address itself.
|
|
30
|
+
- **`find_address` lists what is mapped at an address** — the companies, shops
|
|
31
|
+
and buildings OpenStreetMap places there — and says when the address's points
|
|
32
|
+
are several buildings rather than one door mapped twice.
|
|
33
|
+
- **A lane narrowing is no longer a jam.** A police traffic message counts as a
|
|
34
|
+
jam only while it still describes queuing traffic, by the same four rules
|
|
35
|
+
everywhere; a months-long lane closure for a building site is answered as
|
|
36
|
+
roadworks, and the home page and the place cards count the same jams.
|
|
37
|
+
- **On viafrei.de:** live free spaces on the parking card wherever the operator
|
|
38
|
+
publishes them, OpenStreetMap's named car parks beside them, one road site
|
|
39
|
+
shown once with where it is, a road-weather station at a motorway junction
|
|
40
|
+
named in the page's language, and the status page is no longer public.
|
|
41
|
+
|
|
8
42
|
## [2.1.5] - 2026-10-13
|
|
9
43
|
|
|
10
44
|
**Hydrogen stations, more city roads, Kassel's car parks and 23 more charge-point operators.**
|
|
@@ -2603,6 +2637,8 @@ for it, so the number is free; the bridge will use it when the platform does.
|
|
|
2603
2637
|
commits, and a squash makes them unreachable from `main` - which would turn
|
|
2604
2638
|
the check red on `main` for everybody, for something no contributor did.
|
|
2605
2639
|
|
|
2640
|
+
[2.1.9]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.9
|
|
2641
|
+
[2.1.8]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.8
|
|
2606
2642
|
[2.1.5]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.5
|
|
2607
2643
|
[2.1.1]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.1.1
|
|
2608
2644
|
[2.0.10]: https://github.com/mavrovde/viafrei-mcp/releases/tag/v2.0.10
|
package/README.md
CHANGED
|
@@ -38,6 +38,16 @@ in every answer.
|
|
|
38
38
|
> from our data, and AI can make mistakes, so check anything important (a
|
|
39
39
|
> closure, a departure, a price) against the source each answer names.
|
|
40
40
|
|
|
41
|
+
> **New in 2.1.8:** **company offices and what stands at an address.** `find_poi`
|
|
42
|
+
> now finds a company's offices by name, even when the name is spelled a little
|
|
43
|
+
> differently, keeps motoring results out of a question that is not about
|
|
44
|
+
> driving, and says "more than 50" when a search stopped at its reach instead of
|
|
45
|
+
> giving a count that is not complete. `find_address` lists the companies,
|
|
46
|
+
> shops and buildings OpenStreetMap maps at an address. **A lane narrowing is no
|
|
47
|
+
> longer called a jam:** a police message counts as a jam only when it still
|
|
48
|
+
> describes queuing traffic, so a months-long lane closure for a building site
|
|
49
|
+
> is answered as roadworks.
|
|
50
|
+
>
|
|
41
51
|
> **New in 2.1:** **hydrogen stations.** A new tool, `find_hydrogen_station`, lists
|
|
42
52
|
> H2 Mobility's stations near a place, nearest first, with their pumps (700 bar for
|
|
43
53
|
> cars, 350 bar for lorries and buses) and opening hours where published. The
|
|
@@ -98,12 +108,79 @@ whole, not one section of it.
|
|
|
98
108
|
## 💬 Real answers
|
|
99
109
|
|
|
100
110
|
These came back from the production server at `https://mcp.viafrei.de/mcp`. They
|
|
101
|
-
are not mock-ups. The first three were asked of **server 2.1.
|
|
102
|
-
around
|
|
103
|
-
|
|
111
|
+
are not mock-ups. The first three were asked of **server 2.1.8 on 2026-10-13,
|
|
112
|
+
around 22:40 Berlin time**, the next three of server 2.1.5 the same afternoon,
|
|
113
|
+
around 16:20, and the others of server 2.0.10 that morning, around 06:41; they
|
|
114
|
+
answer in the same shape at 2.1.8. Each one shows the first lines of
|
|
104
115
|
what the tool returned, and the source line as it was sent, shortened where marked.
|
|
105
116
|
|
|
106
117
|
<details open>
|
|
118
|
+
<summary><b>🏢 "Where are SAP's offices in Walldorf?"</b> — <code>find_poi</code></summary>
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
"SAP" in Walldorf:
|
|
122
|
+
1. SAP SE — company, Hasso-Plattner-Ring 7, 69190 Walldorf, Baden-Württemberg, 49.29442, 8.63995
|
|
123
|
+
2. SAP WDF01 — commercial building, Dietmar-Hopp-Allee 16, 69190 Walldorf, Baden-Württemberg, 49.29368, 8.64166
|
|
124
|
+
3. SAP WDF02 — office building, Dietmar-Hopp-Allee 14, 69190 Walldorf, Baden-Württemberg, 49.29461, 8.64274
|
|
125
|
+
4. SAP WDF03 — office building, Robert-Bosch-Straße 34, 69190 Walldorf, Baden-Württemberg, 49.29296, 8.64373
|
|
126
|
+
5. SAP WDF04 — office building, Dietmar-Hopp-Allee 15a, 69190 Walldorf, Baden-Württemberg, 49.29421, 8.64443
|
|
127
|
+
…
|
|
128
|
+
|
|
129
|
+
23 matches, 1–10 shown — the next with cursor="10".
|
|
130
|
+
|
|
131
|
+
OpenStreetMap data as of 2026-10-06
|
|
132
|
+
|
|
133
|
+
As of 22:44 · Source: OSM-Standortdaten: © OpenStreetMap-Mitwirkende, ODbL 1.0 (…)
|
|
134
|
+
```
|
|
135
|
+
A company's buildings, each with its address and point, from OpenStreetMap,
|
|
136
|
+
which is also why the answer carries the ODbL line.
|
|
137
|
+
The answer says how many matched and how to fetch the next page.
|
|
138
|
+
*Edited: five of ten entries and the source URIs cut to `…`.*
|
|
139
|
+
</details>
|
|
140
|
+
|
|
141
|
+
<details>
|
|
142
|
+
<summary><b>📫 "What is at Hasso-Plattner-Ring 7 in Walldorf?"</b> — <code>find_address</code></summary>
|
|
143
|
+
|
|
144
|
+
```text
|
|
145
|
+
"Hasso-Plattner-Ring 7, Walldorf" — 2 mapped objects at this address:
|
|
146
|
+
1. Hasso-Plattner-Ring 7, 69190 Walldorf, Baden-Württemberg — 49.29448, 8.63670
|
|
147
|
+
(2 OpenStreetMap objects of this address, up to 145 m apart, shown as one point: outline, usually the building (OSM way; point = its centre))
|
|
148
|
+
2. Hasso-Plattner-Ring 7, 69190 Walldorf, Baden-Württemberg — 49.29438, 8.63978 — outline, usually the building (OSM way; point = its centre) — 224 m from point 1
|
|
149
|
+
The 2 points lie up to 224 m apart — further than 150 m, so not one door mapped twice; probably several buildings under this house number.
|
|
150
|
+
|
|
151
|
+
Mapped at this address in OpenStreetMap:
|
|
152
|
+
- SAP WDF21 — office building
|
|
153
|
+
- SAP WDF19 — office building
|
|
154
|
+
- SAP SE — company
|
|
155
|
+
|
|
156
|
+
As of 22:44 · Source: OSM-Standortdaten: © OpenStreetMap-Mitwirkende, ODbL 1.0 (…)
|
|
157
|
+
```
|
|
158
|
+
The address, the buildings mapped under it (and how far apart they are, so
|
|
159
|
+
"two buildings" is not mistaken for "one door mapped twice"), and the companies
|
|
160
|
+
and buildings OpenStreetMap places there.
|
|
161
|
+
*Edited: the note on another Walldorf, the data date and the source URIs cut.*
|
|
162
|
+
</details>
|
|
163
|
+
|
|
164
|
+
<details>
|
|
165
|
+
<summary><b>🚦 "Is there a jam in Berlin right now?"</b> — <code>check_road_status</code></summary>
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
Berlin (11000000): 1 jam report, 247 closures, 267 restrictions, 10 planned roadworks sites — window until 2026-10-16.
|
|
169
|
+
• Slow traffic (Stockender Verkehr): Provider text (German): "A100 Stadtring Berlin, Wilmersdorf Richtung Neukölln, zwischen Gradestraße und Tunnel Ortsteil Britz, 0,8 km stockender Verkehr" (since 12:35; 6.6 km away)
|
|
170
|
+
• Roadworks (Baustelle): Provider text (German): "Karl-Liebknecht-Straße (Mitte) — Richtung Brandenburger Tor in Höhe Spandauer Straße Baustellenfläche für eine Hochbaustelle, Fahrbahn auf einen verschwenkten…" (2026-03-26–2027-09-30)
|
|
171
|
+
• Roadworks (Baustelle): Provider text (German): "Gertraudenstraße (Mitte) — in beiden Richtungen zwischen Spittelmarkt und Fischerinsel Brückenprüfung, Fahrbahn auf zwei Fahrstreifen verengt, Gewichtsbeschrän…" (2023-04-27–2028-03-31)
|
|
172
|
+
• Closure (Sperrung): Provider text (German): "Rosenthaler Straße (Mitte) — in beiden Richtungen zwischen Hackescher Markt und Sophienstraße Gleisbauarbeiten, Vollsperrung für Kfz-Verkehr" (2026-09-18–2026-10-20)
|
|
173
|
+
…
|
|
174
|
+
Sources that answered: Autobahn GmbH, BASt (roadworks), VIZ.NRW / NMS, Senatsverwaltung Berlin (traffic messages).
|
|
175
|
+
|
|
176
|
+
As of 22:34 · Source: Verkehrsdaten: Autobahn GmbH des Bundes (…) · … · Verkehrsmeldungen Berlin: Senatsverwaltung für Mobilität, Verkehr, Klimaschutz und Umwelt Berlin via Mobilithek, Datenlizenz Deutschland – Namensnennung – Version 2.0 (www.govdata.de/dl-de/by-2-0), Daten verändert (…) · …
|
|
177
|
+
```
|
|
178
|
+
One jam, not dozens: a lane narrowed for a building site is roadworks, however
|
|
179
|
+
the police message is filed, and the one queue on the A100 is the jam.
|
|
180
|
+
*Edited: six of ten entries, the radius notes, the other sources of the source line and its URIs omitted.*
|
|
181
|
+
</details>
|
|
182
|
+
|
|
183
|
+
<details>
|
|
107
184
|
<summary><b>💧 "Where can I fill up a hydrogen lorry near Hamburg?"</b> — <code>find_hydrogen_station</code></summary>
|
|
108
185
|
|
|
109
186
|
```text
|
|
@@ -393,7 +470,7 @@ Restart the client and ask one of the questions above.
|
|
|
393
470
|
|
|
394
471
|
<!-- catalogue:begin — generated by scripts/gen-readme-catalogue.mjs from catalogue.json; do not edit by hand -->
|
|
395
472
|
|
|
396
|
-
**22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.1.
|
|
473
|
+
**22 tools, 9 prompts, 10 resources and 2 resource templates** — server 2.1.9, snapshot of 2026-10-13. Each line is the server's own words; the full parameters are in [API.md](API.md).
|
|
397
474
|
|
|
398
475
|
#### 🚗 On the road
|
|
399
476
|
|
|
@@ -427,8 +504,8 @@ Restart the client and ask one of the questions above.
|
|
|
427
504
|
| tool | what it answers |
|
|
428
505
|
|---|---|
|
|
429
506
|
| [`find_place`](API.md#find_place--look-up-a-place) — Look up a place | Looks up a place name and returns every place that matches, each with its kind, official key (AGS/RS), population, English name and coordinate. |
|
|
430
|
-
| [`find_poi`](API.md#find_poi--find-a-named-place) — Find a named place | Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel —
|
|
431
|
-
| [`find_address`](API.md#find_address--look-up-a-street-address) — Look up a street address | Looks up a street address
|
|
507
|
+
| [`find_poi`](API.md#find_poi--find-a-named-place) — Find a named place | Finds a business or landmark by name or kind — company, shop, clinic, hotel, hostel — with address, category and coordinate. |
|
|
508
|
+
| [`find_address`](API.md#find_address--look-up-a-street-address) — Look up a street address | Looks up a street address: its coordinate, and the named OpenStreetMap objects at it (company, shop, office) or that none are. |
|
|
432
509
|
| [`describe_location`](API.md#describe_location--describe-a-coordinate) — Describe a coordinate | Turns a coordinate into words: the nearest address, settlement and motorway junction with their distances, and the Gemeinde, Kreis and Land the point lies in. |
|
|
433
510
|
| [`find_nearby`](API.md#find_nearby--what-is-nearby) — What is nearby | Overview of what is around a place or coordinate: nearby fuel stations, EV charging, parking, the nearest railway station and motorway junction, each with its distance. |
|
|
434
511
|
|
package/SOURCES.md
CHANGED
|
@@ -773,7 +773,7 @@ privacy rights (§ 2(b)(1)); neither are its photo links.
|
|
|
773
773
|
OSM-Standortdaten: © OpenStreetMap-Mitwirkende, ODbL 1.0
|
|
774
774
|
```
|
|
775
775
|
|
|
776
|
-
**Which answers carry it**, in the platform's own words as of server 2.1.5:
|
|
776
|
+
**Which answers carry it**, in the platform's own words as of server 2.1.8 (unchanged since 2.1.5):
|
|
777
777
|
*"Only results that contain a row of one of these two OSM tables carry this line —
|
|
778
778
|
an input that resolved through them, a landmark offered beside a town of the same
|
|
779
779
|
name, an OpenStreetMap car park listed in an answer, an OpenStreetMap motorway
|
|
@@ -797,6 +797,11 @@ for. On viafrei.de the place bar's name for a chosen point ("Köln Hbf, Köln")
|
|
|
797
797
|
derived on our server from the same tables, and the map links on the site's cards
|
|
798
798
|
point to openstreetmap.org — a link, not data.
|
|
799
799
|
|
|
800
|
+
Since server 2.1.7 the same points of interest also answer **company offices**
|
|
801
|
+
in `find_poi` and **what is mapped at an address** in `find_address`, and the
|
|
802
|
+
site's parking card lists up to five named OpenStreetMap car parks beside the
|
|
803
|
+
car parks whose operators publish free spaces, under the same ODbL line.
|
|
804
|
+
|
|
800
805
|
Our ODbL § 4.6 offer is [above](#and-one-that-applies-if-you-get-an-openstreetmap-derived-result-back).
|
|
801
806
|
|
|
802
807
|
Licence: <https://opendatacommons.org/licenses/odbl/1-0/> ·
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viafrei",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
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",
|