ViaFrei Trafikdata, i almindelige ord Forbind med din AI

Beta Tjek hos kilden Hvad det betyder

Direkte for Vælg et sted — Skift sted Hele Tyskland

Vælg et sted · Til ladestandere, tankstationer og varsler lige der, hvor du er – din nøjagtige placering bliver på din enhed.

Et sted, en adresse eller et punkt fra listen bliver dit sted på alle sider; en motorvej, en station eller en side åbnes. Enter søger på hele sitet.

Dit sted bliver hos dig.

ViaFrei opretter ingen konto og ingen profil og gemmer ikke dit sted. Din browser husker kun et sted på denne enhed, når du vælger det i stedlinjen – et sted eller en adresse, „Brug min placering“ eller „Hele Tyskland“ – sammen med dine senest valgte steder; så længe denne side bruger et husket sted, står det under stedlinjen, og „Glem stedet“ sletter det med det samme. Siden spørger kun om din placering, når du vælger „Brug min placering“; har du allerede givet varig tilladelse i din browser, læser siden den uden at spørge og gemmer intet. Din placering afrundes på din enhed til et område på ca. 500 m, og vores server udleder gade- eller stednavnet ud fra dette område; den holder navnet højst en time i arbejdshukommelsen pr. område, uden forbindelse til dig, og gemmer det ikke. Kun lige efter dette klik, og kun hvis din browser angiver din placering med en nøjagtighed på højst 150 m, sender siden den præcise position én gang til vores server for at kontrollere, om du står ved en station, en tankstation, en ladestation eller en rasteplads ved motorvejen; der bliver den hverken gemt eller logget. På samme måde holder den navnet på en station, et sted eller en adresse, du har valgt her, højst en time i arbejdshukommelsen. Din IP-adresse bruges kun i arbejdshukommelsen til den omtrentlige placering og gemmes ikke til det formål. Det gælder på hver side med stedlinjen, også på stationsoversigten. På stationsoversigten bruges det sted, der findes på denne måde, kun til at vise de nærmeste stationer og stoppesteder. Mere i privatlivspolitikken

Forbind din AI på ét minutForbind med din AI

ViaFrei for udviklere

En MCP-server over Streamable HTTP, åbne data fra Tyskland, hvert svar med sin kilde. Her står, hvad den kan i dag – læst fra serveren selv, ikke afskrevet.

https://mcp.viafrei.de/mcp

Forbundet på et minut

Vælg jeres klient, indsæt dette og stil det første spørgsmål.

Hvor det skal stå: Terminal

claude mcp add --transport http viafrei https://mcp.viafrei.de/mcp

Hvor det skal stå: .cursor/mcp.json

{
  "mcpServers": {
    "viafrei": {
      "url": "https://mcp.viafrei.de/mcp"
    }
  }
}

Hvor det skal stå: .vscode/mcp.json

{
  "servers": {
    "viafrei": {
      "type": "http",
      "url": "https://mcp.viafrei.de/mcp"
    }
  }
}

Hvor det skal stå: ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "viafrei": {
      "serverUrl": "https://mcp.viafrei.de/mcp"
    }
  }
}

Hvor det skal stå: ~/.codex/config.toml

[mcp_servers.viafrei]
url = "https://mcp.viafrei.de/mcp"

Hvor det skal stå: stdio

{
  "mcpServers": {
    "viafrei": {
      "command": "npx",
      "args": [
        "-y",
        "viafrei"
      ]
    }
  }
}

Hvor det skal stå: curl

E=https://mcp.viafrei.de/mcp
SID=$(curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -D - -o /dev/null \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}' \
  | awk -F': ' 'tolower($1)=="mcp-session-id"{print $2}' | tr -d '\r')
curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H "Mcp-Session-Id: $SID" \
  -d '{"jsonrpc":"2.0","method":"notifications/initialized"}'
curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H "Mcp-Session-Id: $SID" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

Prøv det

Et rigtigt kald til det offentlige endepunkt: sessionen, derefter værktøjet. Nedenunder svaret, som vores server gav på netop dette kald for få minutter siden.

Forespørgsel

E=https://mcp.viafrei.de/mcp
SID=$(curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -D - -o /dev/null \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}' \
  | awk -F': ' 'tolower($1)=="mcp-session-id"{print $2}' | tr -d '\r')
curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H "Mcp-Session-Id: $SID" \
  -d '{"jsonrpc":"2.0","method":"notifications/initialized"}'
curl -sS -X POST "$E" -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H "Mcp-Session-Id: $SID" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_charging_station","arguments":{"place":"Leipzig","min_power_kw":150,"language":"de"}}}'

Svar

{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Laden um Leipzig (Umkreis 10 km, ≥ 150 kW), nächste zuerst, Standorte ganz außer Betrieb zuletzt:\n1. Leplaystraße 9, 04103 Leipzig (JOLT Energy) — 0,4 km, CCS2, bis 300 kW, 0,79 €/kWh, frei, Status von 21.11. 22:31 — möglicherweise veraltet\n2. Friedrich-Ebert-Str. 51, 04109 Leipzig (Stadtwerke Leipzig GmbH) — 1,1 km, CCS2, bis 170 kW, keine Statusdaten, laut Ladesäulenregister\n3. Gerichtsweg 12, 04103 Leipzig (JOLT Energy) — 1,1 km, CCS2, bis 300 kW, 0,79 €/kWh, außer Betrieb, Status von 13.11. 07:06 — möglicherweise veraltet, 1 ohne Status\n4. Hauptmannstr. 6, 04109 Leipzig (Stadtwerke Leipzig GmbH) — 1,3 km, CCS2, bis 150 kW, keine Statusdaten, laut Ladesäulenregister\n5. Allego - REWE Leipzig Zentrum-Südost, Tarostr. 2, 04103 Leipzig (Allego) — 1,5 km, CCS2, bis 300 kW, 0,76 €/kWh, 1 frei, 3 belegt, Status von 22.11. 17:44 (vor 20 h 24 min) — möglicherweise veraltet\nStandort-ID für watch_situation (kind \"charger\"): 1 = JOLT Energy-2aa5a762-4e08-496b-b985-1954665ca487; 3 = JOLT Energy-885889db-2fcb-48db-855b-d7421cdcbdae; 5 = Allego-DELOC003582\nNur wenige Betreiber veröffentlichen Live-Belegung; \"keine Statusdaten\" heißt unbekannt, nicht frei.\nPreis pro kWh: nur für 3 von 5 veröffentlicht; für die übrigen liegt uns kein Preis vor.\nStand des Ladesäulenregisters: 01.09.2026 — von den Betreibern an die Bundesnetzagentur gemeldete Ladepunkte, ohne Live-Belegung und ohne Gewähr für Richtigkeit und Vollständigkeit.\n\nQuelle: Ladepunkte: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/954064102947180544; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladepunkt-Verfügbarkeit: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/955166494396665856; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladesäulenregister: Bundesnetzagentur.de, CC BY 4.0, bearbeitet (https://www.bundesnetzagentur.de/DE/Fachthemen/ElektrizitaetundGas/E-Mobilitaet/Ladesaeulenkarte/start.htm; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Verwaltungseinheiten: © BKG (2026) dl-de/by-2-0, Datenquellen: https://sgx.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_gn250.pdf (Daten verändert) (https://gdz.bkg.bund.de/index.php/default/open-data/geographische-namen-1-250-000-gn250.html; Lizenz: dl-de/by-2-0, https://www.govdata.de/dl-de/by-2-0) · Stand 14:08"
      }
    ],
    "structuredContent": {
      "place": "Leipzig",
      "radiusKm": 10,
      "sitesInRadius": 643,
      "sitesExamined": 20,
      "onlyAvailable": false,
      "droppedNoStatus": 0,
      "droppedNotFree": 0,
      "droppedStale": 0,
      "registerReleasedOn": "2026-09-01",
      "registerCaveat": "Stand des Ladesäulenregisters: 01.09.2026 — von den Betreibern an die Bundesnetzagentur gemeldete Ladepunkte, ohne Live-Belegung und ohne Gewähr für Richtigkeit und Vollständigkeit.",
      "sites": [
        {
          "siteId": "JOLT Energy-2aa5a762-4e08-496b-b985-1954665ca487",
          "siteIds": [
            "JOLT Energy-2aa5a762-4e08-496b-b985-1954665ca487"
          ],
          "sourceFeed": "mobilithek_afir_ecomovement",
          "source": "mobilithek_afir_ecomovement",
          "name": "JOLT LEJ00440",
          "operator": "JOLT Energy",
          "pageUrl": "https://viafrei.de/de/charging/jolt-energy-leipzig-leplaystrasse-9",
          "address": {
            "street": "Leplaystraße 9",
            "houseNumber": null,
            "postcode": "04103",
            "city": "Leipzig"
          },
          "lat": 51.334453,
          "lon": 12.378556,
          "distanceKm": 0.4,
          "distanceM": 429,
          "connectors": [
            "CCS2"
          ],
          "maxPowerKw": 300,
          "powerClass": "hpc",
          "pricePerKwh": 0.785,
          "currency": "EUR",
          "priceIncludesVat": true,
          "availability": {
            "available": 0,
            "occupied": 0,
            "outOfOrder": 0,
            "unknown": 0,
            "stale": 2,
            "total": 2
          },
          "statusAsOf": null,
          "staleStatusAsOf": "2026-11-21T21:31:56.000Z",
          "staleStatusBacklogReceivedAt": null,
          "points": [
            {
              "pointKey": "DE*JEG*ELEJ004401",
              "siteId": "JOLT Energy-2aa5a762-4e08-496b-b985-1954665ca487",
              "evseId": "DE*JEG*ELEJ004401",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-19T13:01:57.183+00:00",
              "statusAsOf": "2026-11-19T13:01:47.000Z",
              "statedAt": "2026-11-19T13:01:47.000Z"
            },
            {
              "pointKey": "DE*JEG*ELEJ004402",
              "siteId": "JOLT Energy-2aa5a762-4e08-496b-b985-1954665ca487",
              "evseId": "DE*JEG*ELEJ004402",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-21T21:33:03.965+00:00",
              "statusAsOf": "2026-11-21T21:31:56.000Z",
              "statedAt": "2026-11-21T21:31:56.000Z"
            }
          ]
        },
        {
          "siteId": "51.338641,12.362287:38ac3c12ea29",
          "siteIds": [
            "51.338641,12.362287:38ac3c12ea29"
          ],
          "sourceFeed": "bnetza_lsr",
          "source": "bnetza_lsr",
          "name": null,
          "operator": "Stadtwerke Leipzig GmbH",
          "pageUrl": "https://viafrei.de/de/charging/stadtwerke-leipzig-gmbh-leipzig-friedrich-ebert-str-ttbt",
          "address": {
            "street": "Friedrich-Ebert-Str.",
            "houseNumber": "51",
            "postcode": "04109",
            "city": "Leipzig"
          },
          "lat": 51.338641,
          "lon": 12.362287,
          "distanceKm": 1.1,
          "distanceM": 1091,
          "connectors": [
            "CCS2"
          ],
          "maxPowerKw": 170,
          "powerClass": "hpc",
          "availability": {
            "available": 0,
            "occupied": 0,
            "outOfOrder": 0,
            "unknown": 2,
            "stale": 0,
            "total": 2
          },
          "statusAsOf": null,
          "staleStatusAsOf": null,
          "staleStatusBacklogReceivedAt": null,
          "points": [
            {
              "pointKey": "1120570:1",
              "siteId": "51.338641,12.362287:38ac3c12ea29",
              "evseId": "DE*961*E0341*1317",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 170,
              "state": "unknown",
              "statusFeed": null,
              "observedAt": null,
              "statusAsOf": null,
              "statedAt": null
            },
            {
              "pointKey": "1120570:2",
              "siteId": "51.338641,12.362287:38ac3c12ea29",
              "evseId": "DE*961*E0341*1317*2",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 170,
              "state": "unknown",
              "statusFeed": null,
              "observedAt": null,
              "statusAsOf": null,
              "statedAt": null
            }
          ]
        },
        {
          "siteId": "JOLT Energy-885889db-2fcb-48db-855b-d7421cdcbdae",
          "siteIds": [
            "JOLT Energy-885889db-2fcb-48db-855b-d7421cdcbdae"
          ],
          "sourceFeed": "mobilithek_afir_ecomovement",
          "source": "mobilithek_afir_ecomovement",
          "name": "LEJ00380",
          "operator": "JOLT Energy",
          "pageUrl": "https://viafrei.de/de/charging/jolt-energy-leipzig-gerichtsweg-12",
          "address": {
            "street": "Gerichtsweg 12",
            "houseNumber": null,
            "postcode": "04103",
            "city": "Leipzig"
          },
          "lat": 51.33773,
          "lon": 12.39415,
          "distanceKm": 1.1,
          "distanceM": 1132,
          "connectors": [
            "CCS2"
          ],
          "maxPowerKw": 300,
          "powerClass": "hpc",
          "pricePerKwh": 0.785,
          "currency": "EUR",
          "priceIncludesVat": true,
          "availability": {
            "available": 0,
            "occupied": 0,
            "outOfOrder": 0,
            "unknown": 1,
            "stale": 1,
            "total": 2
          },
          "statusAsOf": null,
          "staleStatusAsOf": "2026-11-13T06:06:25.000Z",
          "staleStatusBacklogReceivedAt": null,
          "points": [
            {
              "pointKey": "DE*JEG*ELEJ003801",
              "siteId": "JOLT Energy-885889db-2fcb-48db-855b-d7421cdcbdae",
              "evseId": "DE*JEG*ELEJ003801",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "unknown",
              "statusFeed": null,
              "observedAt": null,
              "statusAsOf": null,
              "statedAt": null
            },
            {
              "pointKey": "DE*JEG*ELEJ003802",
              "siteId": "JOLT Energy-885889db-2fcb-48db-855b-d7421cdcbdae",
              "evseId": "DE*JEG*ELEJ003802",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-13T06:06:44.538+00:00",
              "statusAsOf": "2026-11-13T06:06:25.000Z",
              "statedAt": "2026-11-13T06:06:25.000Z"
            }
          ]
        },
        {
          "siteId": "51.335872,12.360048:38ac3c12ea29",
          "siteIds": [
            "51.335872,12.360048:38ac3c12ea29"
          ],
          "sourceFeed": "bnetza_lsr",
          "source": "bnetza_lsr",
          "name": null,
          "operator": "Stadtwerke Leipzig GmbH",
          "pageUrl": "https://viafrei.de/de/charging/stadtwerke-leipzig-gmbh-leipzig-hauptmannstr",
          "address": {
            "street": "Hauptmannstr.",
            "houseNumber": "6",
            "postcode": "04109",
            "city": "Leipzig"
          },
          "lat": 51.335872,
          "lon": 12.360048,
          "distanceKm": 1.3,
          "distanceM": 1275,
          "connectors": [
            "CCS2"
          ],
          "maxPowerKw": 150,
          "powerClass": "hpc",
          "availability": {
            "available": 0,
            "occupied": 0,
            "outOfOrder": 0,
            "unknown": 2,
            "stale": 0,
            "total": 2
          },
          "statusAsOf": null,
          "staleStatusAsOf": null,
          "staleStatusBacklogReceivedAt": null,
          "points": [
            {
              "pointKey": "1143840:1",
              "siteId": "51.335872,12.360048:38ac3c12ea29",
              "evseId": "DE*961*E0341*1427",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 150,
              "state": "unknown",
              "statusFeed": null,
              "observedAt": null,
              "statusAsOf": null,
              "statedAt": null
            },
            {
              "pointKey": "1143840:2",
              "siteId": "51.335872,12.360048:38ac3c12ea29",
              "evseId": "DE*961*E0341*1427*2",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 150,
              "state": "unknown",
              "statusFeed": null,
              "observedAt": null,
              "statusAsOf": null,
              "statedAt": null
            }
          ]
        },
        {
          "siteId": "Allego-DELOC003582",
          "siteIds": [
            "Allego-DELOC003582"
          ],
          "sourceFeed": "mobilithek_afir_ecomovement",
          "source": "mobilithek_afir_ecomovement",
          "name": "Allego - REWE Leipzig Zentrum-Südost",
          "operator": "Allego",
          "pageUrl": "https://viafrei.de/de/charging/allego-leipzig-tarostr-2",
          "address": {
            "street": "Tarostr. 2",
            "houseNumber": null,
            "postcode": "04103",
            "city": "Leipzig"
          },
          "lat": 51.326037,
          "lon": 12.387084,
          "distanceKm": 1.5,
          "distanceM": 1505,
          "connectors": [
            "CCS2"
          ],
          "maxPowerKw": 300,
          "powerClass": "hpc",
          "pricePerKwh": 0.762,
          "currency": "EUR",
          "priceIncludesVat": true,
          "availability": {
            "available": 0,
            "occupied": 0,
            "outOfOrder": 0,
            "unknown": 0,
            "stale": 4,
            "total": 4
          },
          "statusAsOf": null,
          "staleStatusAsOf": "2026-11-22T16:44:12.000Z",
          "staleStatusBacklogReceivedAt": null,
          "points": [
            {
              "pointKey": "DEALLEGO0036551",
              "siteId": "Allego-DELOC003582",
              "evseId": "DEALLEGO0036551",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-22T10:48:05.165+00:00",
              "statusAsOf": "2026-11-22T10:47:04.000Z",
              "statedAt": "2026-11-22T10:47:04.000Z"
            },
            {
              "pointKey": "DEALLEGO0036552",
              "siteId": "Allego-DELOC003582",
              "evseId": "DEALLEGO0036552",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-22T17:13:13.391+00:00",
              "statusAsOf": "2026-11-22T16:44:12.000Z",
              "statedAt": "2026-11-22T16:44:12.000Z"
            },
            {
              "pointKey": "DEALLEGO0036561",
              "siteId": "Allego-DELOC003582",
              "evseId": "DEALLEGO0036561",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-22T14:07:25.744+00:00",
              "statusAsOf": "2026-11-22T14:06:01.000Z",
              "statedAt": "2026-11-22T14:06:01.000Z"
            },
            {
              "pointKey": "DEALLEGO0036562",
              "siteId": "Allego-DELOC003582",
              "evseId": "DEALLEGO0036562",
              "connectors": [
                "CCS2"
              ],
              "maxPowerKw": 300,
              "state": "stale",
              "statusFeed": "mobilithek_afir_ecomovement_dyn",
              "observedAt": "2026-11-21T07:43:47.917+00:00",
              "statusAsOf": "2026-11-21T07:43:30.000Z",
              "statedAt": "2026-11-21T07:43:30.000Z"
            }
          ]
        }
      ],
      "asOf": "2026-11-23T13:08:20.170Z",
      "attribution": "Ladepunkte: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/954064102947180544; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladepunkt-Verfügbarkeit: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/955166494396665856; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladesäulenregister: Bundesnetzagentur.de, CC BY 4.0, bearbeitet (https://www.bundesnetzagentur.de/DE/Fachthemen/ElektrizitaetundGas/E-Mobilitaet/Ladesaeulenkarte/start.htm; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Verwaltungseinheiten: © BKG (2026) dl-de/by-2-0, Datenquellen: https://sgx.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_gn250.pdf (Daten verändert) (https://gdz.bkg.bund.de/index.php/default/open-data/geographische-namen-1-250-000-gn250.html; Lizenz: dl-de/by-2-0, https://www.govdata.de/dl-de/by-2-0)",
      "license": "CC BY 4.0, dl-de/by-2-0"
    },
    "_meta": {
      "attribution": "Ladepunkte: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/954064102947180544; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladepunkt-Verfügbarkeit: Eco-Movement via Mobilithek, CC BY 4.0, bearbeitet (https://mobilithek.info/offers/955166494396665856; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Ladesäulenregister: Bundesnetzagentur.de, CC BY 4.0, bearbeitet (https://www.bundesnetzagentur.de/DE/Fachthemen/ElektrizitaetundGas/E-Mobilitaet/Ladesaeulenkarte/start.htm; Lizenz: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/) · Verwaltungseinheiten: © BKG (2026) dl-de/by-2-0, Datenquellen: https://sgx.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_gn250.pdf (Daten verändert) (https://gdz.bkg.bund.de/index.php/default/open-data/geographische-namen-1-250-000-gn250.html; Lizenz: dl-de/by-2-0, https://www.govdata.de/dl-de/by-2-0)",
      "license": "CC BY 4.0, dl-de/by-2-0",
      "licenses": {
        "mobilithek_afir_ecomovement": "CC BY 4.0",
        "mobilithek_afir_ecomovement_dyn": "CC BY 4.0",
        "bnetza_lsr": "CC BY 4.0",
        "bkg_gvisys": "dl-de/by-2-0"
      },
      "asOf": "2026-11-23T13:08:20.170Z",
      "asOfLocal": "2026-11-23T14:08+01:00",
      "sources": [
        "mobilithek_afir_ecomovement",
        "mobilithek_afir_ecomovement_dyn",
        "bnetza_lsr",
        "bkg_gvisys"
      ]
    }
  }
}

Værktøjer

24 værktøjer, som serveren melder dem:

Motorvej og vej

check_autobahn_traffic

Trafik på motorvejen

Argumenter: roads land place lat lon radius_km

Spørg sådan:

Er der kø på A9 mellem München og Nürnberg lige nu?

Live-svar fra ViaFrei Værktøj: check_autobahn_traffic

Meldte køer på A8: 2. Spærringer: 3, vejarbejde: 63.

Die Daten der Glättemeldeanlagen stellen ungeprüfte Punktmessungen dar und spiegeln nicht die Verhältnisse auf einem Straßenabschnitt wider. Es besteht kein Anspruch auf regelmäßige und vollständige Datenlieferungen. Amtliche Meldungen des Verkehrswarndienstes der Landesmeldestelle Baden-Württemberg, veröffentlicht auf Grundlage der Rahmenrichtlinie für den Verkehrswarndienst (RVWD); Nutzungsbedingung ist die RVWD. Der Meldungstext wird ungekürzt und nur aktuell wiedergegeben. Geplante Arbeitsstellen kürzerer Dauer werden kurzfristig geplant und oft geändert; sie ersetzen weder eine Genehmigung für Großraum- und Schwertransporte noch die Wegkontrolle vor Fahrtantritt.

Din AI-assistent giver kun dette svar, når ViaFrei er forbundet. Sådan forbinder du ViaFrei

MCP-endepunkt (Streamable HTTP): https://mcp.viafrei.de/mcp

Trin for trin til: Claude, ChatGPT, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Le Chat

Fuld vejledning til alle klienter

Inputskema
{
  "type": "object",
  "properties": {
    "roads": {
      "description": "Autobahn numbers, e.g. [\"A9\"] or [\"A8\", \"A99\", \"A9\"] (1–5 per call). Name every motorway on the route so the whole drive is briefed in one call — \"A9\", \"A 9\" and \"a9\" are the same road. Results are grouped per road, in the order you list them. Give roads or land, not both.",
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[Aa] ?\\d{1,3}$"
      }
    },
    "land": {
      "description": "Optional, instead of roads: one Bundesland, and the answer is the motorways of the whole Land as its page shows them — counts, the longest jams, each motorway with something in force. Use it instead of roads and place when the question names a Land (\"Stau in Bayern?\", \"Autobahnen in NRW\"). For Berlin, Hamburg and Bremen only when the question names the Land; a city's traffic is check_road_status. Not with roads, place, lat/lon or radius_km.",
      "type": "string",
      "enum": [
        "schleswig-holstein",
        "hamburg",
        "niedersachsen",
        "bremen",
        "nordrhein-westfalen",
        "hessen",
        "rheinland-pfalz",
        "baden-wuerttemberg",
        "bayern",
        "saarland",
        "berlin",
        "brandenburg",
        "mecklenburg-vorpommern",
        "sachsen",
        "sachsen-anhalt",
        "thueringen"
      ]
    },
    "place": {
      "description": "Optional: the town, junction or address the person is at or asks about (\"A1 bei Köln\", \"A3 near Frankfurt\"). Then each road's events within radius_km come first, nearest first, and the headline counts them with the road-wide total beside it. Omit it for the whole road. Given with lat+lon, lat+lon is searched around and the place is its label, unless the two lie further apart than radius_km.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "radius_km": {
      "default": 25,
      "description": "Radius around place or lat+lon in km (1–100, default 25). Ignored without a place.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "kinds": {
      "default": [
        "warning",
        "closure",
        "roadworks"
      ],
      "description": "Which event kinds to return: warning = live traffic (jams, slow traffic, hazards), closure = full closures, roadworks = construction sites. Set it when the SUBJECT of the question is one of those categories by name: \"Baustellen auf der A8?\" is [\"roadworks\"], \"welche Sperrungen sind in diesem Moment gemeldet?\" is [\"closure\"]. Omit it when the question is how the road IS — Stau, frei, a delay, \"wie sieht es aus\", \"everything\"; the German \"Stau?\" is the idiom for the whole picture, and a filter nobody asked for hides the closure on the same stretch. Whether a closure question is this tool's at all is decided by two things, and the noun (Sperrung, Vollsperrung, closure) is neither. FIRST THE CLOCK: only a question about this minute (jetzt, gerade, in diesem Moment, right now, at this very minute) can be this tool's — with no time word at all, or for a later window (tonight, heute Abend, am Wochenende, the coming days), it is check_road_status. SECOND, WHAT IS ASKED, which the clock cannot see: what is REPORTED or in force on a named motorway is this tool (\"which closures are in force on the A100 at this very minute?\"), while whether the road is OPEN or passable is check_road_status AT ANY CLOCK — \"ist die A8 offen\", \"ist die A3 in diesem Moment gesperrt?\", \"komme ich da durch?\" — and so is a closure asked around a town instead of on a motorway number. Baustellen with a date or the word geplant are find_roadworks_ahead. Default: all three.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "warning",
          "roadworks",
          "closure"
        ]
      }
    },
    "limit": {
      "default": 10,
      "description": "Maximum events to return across all roads (1–50, default 10). Each road's most important item comes first, in the order you listed the roads, so every road with something in force is on the first page when limit is at least the number of roads; after that jams, then closures, other reports, then roadworks, the roads taking turns within each. Only what is in force now is listed — closures announced for later are counted apart in the headline.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "cursor": {
      "description": "Pagination cursor from a previous result's _meta.nextCursor. Omit for the first page.",
      "type": "string",
      "maxLength": 256
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_parking

Parkering i nærheden

Argumenter: place lat lon road kind radius_km

Spørg sådan:

Er der en ledig plads i et parkeringshus ved Kølns hovedbanegård?

Live-svar fra ViaFrei Værktøj: find_parking

Parkhaus Bahnhofstraße: 161 af 320 pladser ledige, 0,2 km væk.

Disse poster stammer fra vores database, der er afledt af OpenStreetMap. En fuldstændig, maskinlæsbar kopi (CSV) under ODbL 1.0 sender vi gratis på forespørgsel – kontaktoplysninger i kolofonen.

Din AI-assistent giver kun dette svar, når ViaFrei er forbundet. Sådan forbinder du ViaFrei

MCP-endepunkt (Streamable HTTP): https://mcp.viafrei.de/mcp

Trin for trin til: Claude, ChatGPT, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Le Chat

Fuld vejledning til alle klienter

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "road": {
      "description": "A single motorway number to list parking along, e.g. \"A3\" (\"A 3\" and \"a3\" are the same road). Use this when the person named a road and no town — \"Rastplatz auf der A7\". Give road OR place OR lat+lon, never two of them: a road is a 900 km line and a place is a point, so the two answer different questions. When the question names BOTH — \"Parkhaus in Köln an der A3\" — use the place: a person parks at a point, and the radius already covers the motorway beside it. A road list is in name order and cannot follow a direction of travel: for \"A4 Richtung Görlitz\" ask with place for the destination or the next town on the way instead, which answers nearest first.",
      "type": "string",
      "maxLength": 16
    },
    "kind": {
      "default": "any",
      "description": "Which kind of parking: \"car_park\" = public car park (Parkhaus/Parkplatz), \"park_and_ride\" = P+R beside a station, \"truck\" = lorry parking, \"any\" = all of them. Default \"any\". \"disabled_badge\" = on-street bays reserved for a disabled parking permit (Behindertenparkplatz, Schwerbehindertenparkplatz), where a municipality publishes them, with a sensor's free/occupied where one is fitted — pass it only when such a bay was asked for; it is never part of \"any\" and takes place or lat+lon, not road. Rest areas are NOT a kind we can filter: no source we hold classifies them, so for \"Rastanlage\"/\"Raststätte\"/\"rest area\" leave kind out (\"truck\" when lorry spaces were asked for); \"rest_area\" is still accepted and answered as \"any\", with a sentence saying why. Pass a kind only when the person named one — a lorry driver asking for a break wants \"truck\", someone leaving the car for the train wants \"park_and_ride\". A camper, a caravan or a coach is none of these: leave the argument out rather than filtering a tourist into lorry bays.",
      "type": "string",
      "enum": [
        "any",
        "rest_area",
        "car_park",
        "park_and_ride",
        "truck",
        "disabled_badge"
      ]
    },
    "radius_km": {
      "default": 10,
      "description": "Search radius around place or lat+lon in kilometres (1–25, default 10). Ignored when you pass road, which covers the whole motorway. Start small in a city and widen if the answer is empty.",
      "type": "number",
      "minimum": 1,
      "maximum": 25
    },
    "only_with_free_spaces": {
      "default": false,
      "description": "Set true only when the person asks whether spaces are free right now. It keeps just the facilities whose operator publishes live occupancy AND currently reports a space, and the result says how many were dropped for publishing nothing — most German parking publishes no occupancy at all, so true usually narrows the answer to very little. Default false.",
      "type": "boolean"
    },
    "facilities": {
      "description": "Keep only sites whose own publisher states ALL of these amenities: \"toilet\", \"shower\", \"restaurant\", \"snack\", \"cafe\", \"shop\", \"fuel\", \"charging\", \"drinking_water\", \"picnic\", \"playground\", \"wifi\", \"security\", \"accessible_toilet\". Pass it only when the person asks for one — \"Rastplatz mit Dusche an der A7\" → road \"A7\", facilities [\"shower\"]; \"car park with a toilet near Köln Hbf\" → facilities [\"toilet\"]. Many publishers state no amenities, so the filter can narrow the answer to little; an amenity nobody stated is unknown, not absent, and the answer says how many sites state any. A toilet, restaurant or charger merely NEAR a site (listed beside it, from OpenStreetMap or the charging register) never satisfies the filter. Leave it out otherwise: every listed site already carries its amenity line.",
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "toilet",
          "accessible_toilet",
          "shower",
          "restaurant",
          "snack",
          "cafe",
          "shop",
          "fuel",
          "charging",
          "drinking_water",
          "picnic",
          "playground",
          "wifi",
          "security"
        ]
      }
    },
    "limit": {
      "default": 5,
      "description": "How many facilities to return, nearest first (1–10, default 5).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

check_road_status

Vejforhold og spærringer

Argumenter: road place lat lon horizon_days limit

Spørg sådan:

Er der spærringer på vejene omkring Dresden?

Inputskema
{
  "type": "object",
  "properties": {
    "road": {
      "description": "One road: a German motorway, e.g. \"A8\"; a Bundesstraße in Schleswig-Holstein, Niedersachsen, Nordrhein-Westfalen, Hessen, Baden-Württemberg, Bayern, Berlin, Mecklenburg-Vorpommern, Sachsen or Thüringen, e.g. \"B27\"; or a Landes- or Staatsstraße in Niedersachsen, Nordrhein-Westfalen, Hessen, Baden-Württemberg, Mecklenburg-Vorpommern, Sachsen or Thüringen, e.g. \"L1025\" or \"S296\". \"A8\", \"A 8\" and \"a8\" are the same road. Use this whenever the person named a road — it is the only input that reaches the planned-works data, which is filed by road and section and carries no coordinates. When the person also says WHERE — a town or a Bundesland (\"die B2 bei Potsdam\", \"L1025 in Niedersachsen\") — pass that as place too: only sources for that Land answer, and a Land no source covers is named. L and S numbers repeat in every Land, so give the Land with them. Otherwise give exactly one of road, place, or lat+lon.",
      "type": "string",
      "pattern": "^(?:[ABab] ?\\d{1,3}|[LlSs] ?\\d{1,4})$"
    },
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "horizon_days": {
      "default": 3,
      "description": "Days ahead from now (0 = right now only, max 14, default 3). Only what was asked; count the days from today to the last day meant, both included: 0 for right now / jetzt / gerade; 1 for today, tonight, heute Abend; 2 for tomorrow; a weekday (\"am Freitag\") the days through it; \"this weekend\" the days through Sunday (Monday 7, Friday 3, Sunday 1); \"next week\" through next Sunday. A bare \"is the A8 open?\" asks for no window: omit it, never 0. Live closures, and by place the jams reported now, are always included.",
      "type": "integer",
      "minimum": 0,
      "maximum": 14
    },
    "limit": {
      "default": 10,
      "description": "Maximum entries to return (1–11, default 10). By road, closures come first, then restrictions in force, then planned works; by place, nearest first.",
      "type": "integer",
      "minimum": 1,
      "maximum": 11
    },
    "vehicle": {
      "description": "Set ONLY when the person asks for a lorry (Lkw, truck, HGV) or a long lorry (Lang-Lkw, EuroCombi, Gigaliner): then the answer is where that vehicle may go, instead of closures. \"long_lorry\" with a road (\"darf der Lang-Lkw auf die A7?\") answers whether the road is in the long-lorry positive network; with a place, the network roads near it. \"lorry\" or \"long_lorry\" with a place (\"Durchfahrtshöhe in Haan\", \"Lkw-Vorrangroute in Frankfurt\", \"Gewichtsgrenze in Bremen\") answers the height, weight, width and lorry-ban signs near it, and the lorry priority routes, where a publisher holds them (NRW, Frankfurt RheinMain, Bremen). Omit for cars and for closures.",
      "type": "string",
      "enum": [
        "lorry",
        "long_lorry"
      ]
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_roadworks_ahead

Planlagte vejarbejder

Argumenter: road place from to limit

Spørg sådan:

Hvilke vejarbejder er planlagt på A3 i næste uge?

Inputskema
{
  "type": "object",
  "properties": {
    "road": {
      "description": "The road to look at, one per call: an Autobahn, e.g. \"A7\" or \"A100\"; a Bundesstraße in Niedersachsen, Nordrhein-Westfalen, Hessen, Baden-Württemberg, Bayern, Mecklenburg-Vorpommern, Sachsen or Thüringen, e.g. \"B6\"; a Landesstraße in Niedersachsen, Nordrhein-Westfalen, Hessen, Baden-Württemberg, Mecklenburg-Vorpommern or Thüringen, e.g. \"L1025\"; or a Staatsstraße in Sachsen, e.g. \"S296\" — \"A7\", \"A 7\" and \"a7\" are the same road. B and L roads in other Länder and Kreisstraßen are not covered. Ask again for a second road. Give road OR place.",
      "type": "string",
      "pattern": "^(?:[AaBb] ?\\d{1,3}|[LlSs] ?\\d{1,4})$"
    },
    "place": {
      "description": "A place — a district, street or address, e.g. \"Hamburg-Altona\", \"Berlin-Mitte\", \"Kiel\" — for the city and Land roadworks held by point within 3 km of it. Where no such source covers the place, the answer says so. Give road OR place.",
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "from": {
      "description": "First day of the window, as YYYY-MM-DD in German local time. Omit for today. Resolve relative wording (\"next Friday\", \"in den Sommerferien\", \"nächsten Monat\") into real dates yourself, counted from today's date; this argument never takes words, and it never takes a fixed example date — the window a person means moves with the calendar.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "to": {
      "description": "Last day of the window, inclusive, as YYYY-MM-DD. Omit for 7 days after `from`, which is the right window for \"am I going to hit roadworks on this drive\". The window may span at most 92 days. For \"how long will this last\" / \"wie lange dauert die Baustelle noch\", leave both dates out: the default 7 days already returns the site's planned end date. Only widen — 28 days is the sensible step — when the person asked about a period that long.",
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "limit": {
      "default": 10,
      "description": "Maximum sites to return (1–20, default 10), ordered by planned start. Every returned site is in the structured result; the readable text prints the first 10 and says how many more of them are in the structured half. The answer always names how many sites the window holds in total, so a small limit never hides the size of the problem.",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

watch_situation

Hold øje med en ændring

Argumenter: kind* key* request hours until condition

Spørg sådan:

Sig til, når A7 ved Hamburg er fri igen.

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "road",
        "station",
        "region",
        "place",
        "weather",
        "charger"
      ],
      "description": "What kind of thing to watch. `road` = one motorway or federal road (key: \"A8\", \"B27\") — reports a closure or restriction appearing or clearing, and on a motorway a jam (condition events) appearing or clearing; `station` = one public-transport stop (key: its name, \"Köln Hbf\", or its DHID) — reports departures running late past the threshold; `region` = a city, district or Land (key: its name, \"Hamburg\", or its AGS key, \"14612\") — reports the share of late trips crossing the threshold; `place` = a town or address (key: \"Fulda\") — reports road restrictions appearing within the radius, not a jam; `weather` = one DWD warn cell (key: a place name, \"Kiel\", or the cell id) — reports an official warning coming into force; `charger` = one charging site (key: a place, \"Würzburg\", or the site id) — reports a point turning free."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The thing to watch, in the person's own words — a name is enough and no read tool is needed first; the server resolves it and the answer names the key it resolved to. `road`: a road number (\"A8\", \"B27\"). `place`: a town or address (\"Fulda\"). `weather`: a place name (\"Kiel\"), resolved to the DWD warn cell it lies in — or a warn cell id (\"801002000\"); a Land or Kreis is an area and takes no single cell. `station`: a stop or station name (\"Köln Hbf\", \"München, Marienplatz\"), resolved to its DHID the way get_departures resolves a stop — or a DHID (\"de:14612:28\"); an EVA number from get_train_departures (\"8000207\") is not a DHID and is refused. `charger`: a place (\"Würzburg\"), resolved to the nearest charging site that reports live occupancy — or a site id from find_charging_station. `region`: a city, district or Land (\"Hamburg\", \"Landkreis Fulda\"), resolved to its AGS key the way check_transit_disruption resolves its region — or an AGS key (\"14612\"). A name that fits several places or stops gets a which-one list and opens no watch; call again with the chosen line."
    },
    "request": {
      "description": "The person's request in their own words (\"sag mir Bescheid, wenn sich auf der A7 ein Stau bildet\"). Pass it on every call: a jam asked for on a motorway is watched (the Autobahn GmbH's and the police's jam reports); on another road, and for a `place` watch, closures and restrictions only, never a jam or slow traffic, and the answer says so.",
      "type": "string",
      "maxLength": 200
    },
    "hours": {
      "description": "How long to watch, in hours (default 3, maximum 24). Prefer this over `until`: it needs no knowledge of the current time. Give one of `hours` or `until`, never both.",
      "type": "number",
      "minimum": 0.25,
      "maximum": 24
    },
    "until": {
      "description": "An explicit end instant as ISO-8601 with an offset (\"2026-09-20T18:40:00+02:00\"), at most 24 hours ahead. Use only when the person named a time; otherwise use `hours`. Give one of `hours` or `until`, never both.",
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "condition": {
      "description": "Optional threshold; the keys of each kind, with an example: road {\"event\": \"reopen\"} (only the reopening), {\"events\": [\"jams\"]} (jams on a motorway); station {\"delay_min\": 20}; region {\"late_share\": 0.3, \"delay_min\": 5, \"min_trips\": 20}; place {\"radius_km\": 10}; weather {\"min_level\": 3}; charger {\"point_id\": \"2\"} (one charge point). Any other key, or a key of another kind, is refused by name; leave it out for the default. The answer repeats the condition it applies.",
      "type": "object",
      "properties": {
        "delay_min": {
          "description": "station: minutes of delay that count as a disruption (default 10).",
          "type": "integer",
          "minimum": 1,
          "maximum": 600
        },
        "late_share": {
          "description": "region: share of observed trips running late that trips the watch (default 0.25).",
          "type": "number",
          "minimum": 0.01,
          "maximum": 1
        },
        "min_trips": {
          "description": "region: below this many observed trips the share is noise (default 10).",
          "type": "integer",
          "minimum": 1,
          "maximum": 10000
        },
        "radius_km": {
          "description": "place: how far around the place to look (default 25).",
          "type": "number",
          "minimum": 0.1,
          "maximum": 200
        },
        "min_level": {
          "description": "weather: lowest DWD warning level worth reporting (default 2).",
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        "event": {
          "description": "road: 'reopen' reports only a restriction (or jam) clearing; 'any' reports both (default).",
          "type": "string",
          "enum": [
            "reopen",
            "any"
          ]
        },
        "events": {
          "description": "road: what to report — 'restrictions' (closures, roadworks, restrictions; the default) and/or 'jams' (a jam the Autobahn GmbH or the police report on the motorway, motorways only). A jam watch: [\"jams\"]; both: [\"restrictions\", \"jams\"].",
          "minItems": 1,
          "maxItems": 4,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "restrictions",
              "jams"
            ]
          }
        },
        "point_id": {
          "description": "charger: one charge point of the site instead of any of them.",
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "kind",
    "key"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

stop_watch

Stop en overvågning

Argumenter: watch_id uri kind key

Spørg sådan:

Hold op med at overvåge A7.

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "watch_id": {
      "description": "The numeric id of the watch to stop, as `watch_situation` returned it (the 12 in viafrei://watch/12).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "uri": {
      "description": "The watch's resource uri, e.g. \"viafrei://watch/12\". Give either this or `watch_id`, not both.",
      "type": "string",
      "maxLength": 64
    },
    "kind": {
      "description": "Instead of an id: the kind of watch the person means, as watch_situation took it (\"road\", \"station\", \"region\", \"place\", \"weather\", \"charger\"). \"Turn off the charging alert\" is kind \"charger\" alone.",
      "type": "string",
      "enum": [
        "road",
        "station",
        "region",
        "place",
        "weather",
        "charger"
      ]
    },
    "key": {
      "description": "Instead of an id: the watched subject in the person's words, as it was given to watch_situation — a road or place (\"A8\", \"Bamberg\"), and with `kind` a place for a weather or charger watch or a stop name for a station watch (\"Kiel\", \"Köln Hbf\"), which is resolved the way watch_situation resolved it. The id the watch carries works too. For a station, region, weather or charger watch a key that matches none of them falls back to `kind` alone. Matched against this session's open watches, case and spaces ignored. One match is stopped; several are listed and none is stopped.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Tog

get_train_departures

Togafgange

Argumenter: station eva_no when duration_min limit categories

Spørg sådan:

Hvornår kører de næste tog fra Hannovers hovedbanegård?

Inputskema
{
  "type": "object",
  "properties": {
    "station": {
      "description": "The railway station, as the person says it: \"Hamburg Hbf\", \"Köln Hbf\", \"Munich Central\", \"Frankfurt (Main) Hbf\". Pass their words — English names and \"central station\" are understood. If the name fits several stations (a bare \"Hauptbahnhof\"), call anyway: the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "eva_no": {
      "description": "The station's EVA number (6–8 digits, e.g. 8002549 for Hamburg Hbf), when a previous result gave you one. It skips the name lookup and is exact — use it to answer a follow-up about a station this tool has already named.",
      "type": "string",
      "pattern": "^\\d{6,8}$"
    },
    "when": {
      "description": "Start of the window as an ISO-8601 instant with an offset (\"2026-09-20T18:30:00+02:00\"). Leave it out for \"now\", which is what almost every question means. Times in the answer are Europe/Berlin whatever you pass.",
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "duration_min": {
      "default": 60,
      "description": "How far ahead to look, in minutes (5–120, default 60). Use a small window for \"what leaves now\" and a larger one for \"this evening\". Above 120 is refused: a departure board is not a timetable search.",
      "type": "integer",
      "minimum": 5,
      "maximum": 120
    },
    "limit": {
      "default": 10,
      "description": "How many departures to return, earliest first (1–15, default 10). More than 15 is refused — that is a board a person can read, not a dataset.",
      "type": "integer",
      "minimum": 1,
      "maximum": 15
    },
    "categories": {
      "description": "Keep only these train types, when the person named one: \"ICE\", \"IC\" (also EC, ECE, Railjet, Nightjet), \"RE\" (also IRE), \"RB\" or \"S\" (S-Bahn). \"next ICE to …\" is [\"ICE\"], \"Fernzug\" is [\"ICE\", \"IC\"], \"Regionalzug\" is [\"RE\", \"RB\"]. The board then lists only those, so pair it with a longer duration_min. Omit it for \"which trains leave\". A replacement bus is never a train type.",
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ICE",
          "IC",
          "RE",
          "RB",
          "S"
        ]
      }
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

check_station_facilities

Elevatorer og rulletrapper på stationen

Argumenter: station eva_no facility limit

Spørg sådan:

Virker elevatorerne på Frankfurts hovedbanegård?

Inputskema
{
  "type": "object",
  "properties": {
    "station": {
      "description": "The railway station — or Köln Stadtbahn stop — as the person says it: \"Köln Hbf\", \"Hamburg Hbf\", \"Munich Central\", \"Neumarkt Köln\". Pass their words — English names and \"central station\" are understood. If the name fits several stations the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "eva_no": {
      "description": "The station's EVA number (6–8 digits, e.g. 8000207 for Köln Hbf), when a previous result — a departure board, for instance — already gave you one. It skips the name lookup and is exact.",
      "type": "string",
      "pattern": "^\\d{6,8}$"
    },
    "facility": {
      "default": "any",
      "description": "Which equipment to report: \"elevator\" for lifts only, \"escalator\" for escalators only, \"any\" for both (default). Pass a value only when the person named the equipment itself (\"Aufzug\", \"Rolltreppe\", \"lift\", \"escalator\"): a question about a wheelchair, a pram, heavy luggage or step-free access keeps the default — an escalator carries a suitcase too, and a filter there hides half of what the traveller needs. Filtering does not change how a broken one is reported, only which ones are listed.",
      "type": "string",
      "enum": [
        "any",
        "elevator",
        "escalator"
      ]
    },
    "limit": {
      "default": 20,
      "description": "How many facilities to list (1–50, default 20). Out-of-service equipment is listed first and the counts in the summary always cover ALL of them, so a shorter list never hides a broken lift.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

describe_station

Overblik over en banegård

Argumenter: station eva_no departures

Spørg sådan:

Hvordan er Nürnbergs hovedbanegård: spor, elevatorer, afgange?

Inputskema
{
  "type": "object",
  "properties": {
    "station": {
      "description": "The railway station, as the person says it: \"Köln Hbf\", \"Leipzig Hauptbahnhof\", \"Munich Central\". If the name fits several stations, call anyway: the result lists them and asks which. Give either station OR eva_no, never both.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "eva_no": {
      "description": "The station's EVA number (6–8 digits, e.g. 8000207 for Köln Hbf), when a previous result gave you one: exact, no name lookup.",
      "type": "string",
      "pattern": "^\\d{6,8}$"
    },
    "departures": {
      "default": 10,
      "description": "How many of the next departures to include (0–10, default 10, as many as the station page shows at least). 0 leaves the board out — for \"tell me about the station\" without trains.",
      "type": "integer",
      "minimum": 0,
      "maximum": 10
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Kollektiv trafik

find_sharing

Delecykler i nærheden

Argumenter: place lat lon radius_km limit only_available

Spørg sådan:

Er der en delecykel ved Hamburg Dammtor?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "radius_km": {
      "default": 1,
      "description": "Search radius around place or lat+lon in kilometres (0.1–5, default 1). Example: 1",
      "type": "number",
      "minimum": 0.1,
      "maximum": 5
    },
    "limit": {
      "default": 8,
      "description": "How many stations to list, nearest first (1–20, default 8). Free-floating bikes are summarised, not listed one by one.",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "only_available": {
      "default": true,
      "description": "true (default): list only stations with at least one bike to rent right now. false: also list empty stations, e.g. to find a free dock to return a bike.",
      "type": "boolean"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

check_transit_disruption

Forstyrrelser i en regions kollektive trafik

Argumenter: region lat lon line window_min

Spørg sådan:

Hvor punktligt kører busser og tog i Bayern lige nu?

Live-svar fra ViaFrei Værktøj: check_transit_disruption

Nordrhein-Westfalen: 20 % af afgangene i de seneste 60 minutter er forsinket (2.849 af 13.969).

Diese Angaben stehen unter CC BY-SA (Share-alike), so lizenziert sie die Quelle; unsere Bearbeitung geben wir unter CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/) weiter: wer sie weitergibt oder daraus etwas Neues ableitet, muss das Ergebnis unter derselben Lizenz und mit dieser Quellenangabe weitergeben.

Din AI-assistent giver kun dette svar, når ViaFrei er forbundet. Sådan forbinder du ViaFrei

MCP-endepunkt (Streamable HTTP): https://mcp.viafrei.de/mcp

Trin for trin til: Claude, ChatGPT, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Le Chat

Fuld vejledning til alle klienter

Inputskema
{
  "type": "object",
  "properties": {
    "region": {
      "description": "The German region to report on, as free text: a Bundesland (\"Bayern\", \"Bavaria\", \"Nordrhein-Westfalen\"), a city (\"Hamburg\", \"Köln\"), a Kreis (\"Landkreis Fulda\") or one of the conurbations Ruhrgebiet, Rhein-Ruhr and Rhein-Main. A town inside a Kreis is reported as that Kreis and the answer says so, because the data is filed at Kreis level. Not a stop, not a street, not an address. Give either region OR lat+lon, never both.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use region.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use region.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "line": {
      "description": "A line name as on the vehicle, e.g. \"RB33\", \"S1\", \"RE 1\", \"U6\". Give it when the question names a line; with no region the answer covers the Kreise the line runs through, or names the regions where lines of that name run. With region, it is that region's line of the name.",
      "type": "string",
      "minLength": 1,
      "maxLength": 16
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "window_min": {
      "default": 60,
      "description": "How many minutes back to look, 5–120 (default 60). The trend compares this window with the equally long one before it, so 60 means \"the last hour against the hour before\". Use a short window for \"right now\" and a long one for \"has it been bad all morning\".",
      "type": "integer",
      "minimum": 5,
      "maximum": 120
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

get_departures

Afgange efter køreplan (bus, sporvogn, tog)

Argumenter: stop stop_id place lat lon when

Spørg sådan:

Hvornår kører den næste sporvogn fra Leipzig Augustusplatz?

Inputskema
{
  "type": "object",
  "properties": {
    "stop": {
      "description": "The stop, as the person says it: \"Fulda, Bahnhof\", \"München, Marienplatz\", \"Köln, Hbf\", \"Hamburg, Rathausmarkt\" (town first). Include the town when the person did — half the names in Germany exist in twenty towns, and a bare \"Bahnhof\" or \"Hauptbahnhof\" comes back as a list of candidates to choose from, so call it and let the result ask. Pass their words; do not guess an id. Give either stop OR the stop id, never both.",
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "stop_id": {
      "description": "The stop's timetable id, exactly as a previous result of this tool gave it (\"de:06631:1234\"). It skips the name lookup and is exact — use it for a follow-up about a stop this tool has already named, and for one the person picked out of a candidate list.",
      "type": "string",
      "minLength": 3,
      "maxLength": 64
    },
    "place": {
      "description": "A place to list the nearest stops around, when the person names no one stop: a town, district or address (\"Bahnhofstraße 12, Fulda\", \"Köln-Ehrenfeld\"). Lists the nearest stops within 5 km with their next departures, as viafrei.de's place page does. Give exactly one of stop, stop_id, place or lat+lon.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 50.551 — with lon, the nearest stops around a point the caller already holds. Use place for a named place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 9.676. Use with lat.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "when": {
      "description": "Start of the window as an ISO-8601 instant with an offset (\"2026-10-02T07:30:00+02:00\"). Leave it out for \"now\". Convert the person's words yourself — \"morgen früh\", \"tonight\" — and pass the instant; the answer is always rendered in Europe/Berlin.",
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "duration_min": {
      "default": 60,
      "description": "How far past that moment to look, in minutes (5–1440, default 60). Small for \"what goes now\", a few hours for an evening. To look further ahead (the timetable reaches at least 48 h), move `when` instead of widening this: a window of a whole day returns at most 15 rows and would answer about the wrong half of it.",
      "type": "integer",
      "minimum": 5,
      "maximum": 1440
    },
    "modes": {
      "description": "Keep only these kinds of service: \"bus\", \"tram\", \"subway\" (U-Bahn), \"rail\" (every train, including S-Bahn and regional) or \"ferry\". Omit it unless the person named a kind — \"nur Busse\", \"welche Tram\". Several are allowed, which is what \"die Busse und Bahnen vor dem Hbf\" means. An S-Bahn is \"rail\": the feed does not always distinguish it, and the line name (\"S 6\") says which it is.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "rail",
          "subway",
          "tram",
          "bus",
          "ferry"
        ]
      }
    },
    "limit": {
      "default": 10,
      "description": "How many departures to return, earliest first (1–15, default 10). The result always says how many more were in the window.",
      "type": "integer",
      "minimum": 1,
      "maximum": 15
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Opladning og brændstof

find_cheapest_fuel

Billigste brændstof i nærheden

Argumenter: place lat lon fuel radius_km limit

Spørg sådan:

Hvor er diesel billigst ved Kassel lige nu?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "fuel": {
      "default": "e10",
      "description": "Fuel grade: \"e5\" (Super E5), \"e10\" (Super E10, the standard German petrol) or \"diesel\" — LPG/Autogas and CNG are not held by any source here: say so, never substitute a petrol grade. Default \"e10\". Pass the grade the person named — a diesel driver is not helped by a petrol price.",
      "type": "string",
      "enum": [
        "e5",
        "e10",
        "diesel"
      ]
    },
    "radius_km": {
      "default": 5,
      "description": "Search radius around the place in kilometres (1–25, default 5). The provider's terms cap it at 25 km — a larger circle is a dataset request, not a consumer question.",
      "type": "number",
      "minimum": 1,
      "maximum": 25
    },
    "limit": {
      "default": 5,
      "description": "How many stations to return, cheapest first (1–10, default 5). The provider's terms cap it at 10.",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_fuel_station

Find en tankstation

Argumenter: place lat lon fuel radius_km brand

Spørg sådan:

Hvilken tankstation har åbent ved Würzburgs hovedbanegård?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "fuel": {
      "description": "Only stations with a current price for this grade: \"e5\" (Super E5), \"e10\" (Super E10) or \"diesel\" — LPG/Autogas and CNG are not held by any source here, so say so rather than call for them. Omit to get every station near the place whatever it sells — the answer then lists all the grades it holds a price for. Required when sort is \"price\", because a price ordering needs a grade.",
      "type": "string",
      "enum": [
        "e5",
        "e10",
        "diesel"
      ]
    },
    "radius_km": {
      "default": 5,
      "description": "Search radius around the place in kilometres (1–25, default 5). 25 km is the provider's own ceiling — a larger circle is a dataset request, not a consumer question.",
      "type": "number",
      "minimum": 1,
      "maximum": 25
    },
    "brand": {
      "description": "Only stations of this brand, matched case-insensitively anywhere in the brand field: \"ARAL\", \"Shell\", \"TotalEnergies\", \"JET\". Use it when the person named a chain (\"die ARAL an der B1\"). Free stations often carry no brand at all and are then not matched by any brand.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "name": {
      "description": "Part of the station's own name or brand, case-insensitive: \"Autohof\", \"Raststätte Fulda\". Use it when the person named a specific forecourt rather than a chain. Combine with place to keep the search local.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "open_now": {
      "default": false,
      "description": "When true, only stations the published opening hours say are open at this moment. Default false. A station whose hours we have never read is NOT returned by this filter and is counted in the answer instead — the result never guesses that an unknown station is open.",
      "type": "boolean"
    },
    "open_at": {
      "description": "Only stations open at that time in Germany (Europe/Berlin): \"23:30\" means the next time the clock shows 23:30, and \"2026-09-30 06:15\" a specific local date and time. Use it for \"is it still open tonight\". Do not pass it together with open_now — they ask the same question about two different clocks.",
      "type": "string",
      "pattern": "^(?:\\d{1,2}:\\d{2}|\\d{4}-\\d{2}-\\d{2}[T ]\\d{1,2}:\\d{2})$"
    },
    "whole_day": {
      "default": false,
      "description": "When true, only stations the provider flags as open around the clock (24/7). Default false. Use it when asked whether a station never closes (\"durchgehend geöffnet\", \"around the clock\") and for a night drive; it is a stricter filter than open_now, which is satisfied by a station that closes at 22:00.",
      "type": "boolean"
    },
    "sort": {
      "default": "distance",
      "description": "Order of the answer: \"distance\" (nearest first, the default — use it for \"closest diesel to Hamburg Hbf\"), \"price\" (cheapest first, needs fuel), or \"name\" (alphabetical, for a person scanning a list of a brand's forecourts).",
      "type": "string",
      "enum": [
        "distance",
        "price",
        "name"
      ]
    },
    "limit": {
      "default": 5,
      "description": "How many stations to return (1–10, default 5).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_charging_station

Opladning i nærheden

Argumenter: place lat lon radius_km connector min_power_kw

Spørg sådan:

Hvor kan jeg lynlade med 150 kW i Leipzig?

Live-svar fra ViaFrei Værktøj: find_charging_station

JOLT Energy, Leplaystraße 9, Leipzig: op til 300 kW, 0,4 km væk. Operatøren melder ingen aktuel belægning lige nu.

Din AI-assistent giver kun dette svar, når ViaFrei er forbundet. Sådan forbinder du ViaFrei

MCP-endepunkt (Streamable HTTP): https://mcp.viafrei.de/mcp

Trin for trin til: Claude, ChatGPT, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Le Chat

Fuld vejledning til alle klienter

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "radius_km": {
      "default": 10,
      "description": "Search radius around the place in kilometres (1–25, default 10). A charging stop is worth a detour, so this is wider than the fuel radius — but 25 km is the cap, and a larger circle is a dataset request rather than a driver's question.",
      "type": "number",
      "minimum": 1,
      "maximum": 25
    },
    "connector": {
      "description": "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.",
      "type": "string",
      "enum": [
        "ccs2",
        "type2",
        "chademo",
        "mcs"
      ]
    },
    "min_power_kw": {
      "description": "Only charging points of at least this many kW (1–1000). Use when the person names a number or asks for fast charging: 50 = DC fast (a bare \"fast\"/\"schnell\"/\"Schnelllader\"), 150 = HPC (\"HPC\", \"ultra\", \"ultraschnell\"), 300 = the fastest posts in Germany. Omit for \"where can I charge\" — 11 kW overnight is a valid answer to that question.",
      "type": "number",
      "minimum": 1,
      "maximum": 1000
    },
    "max_power_kw": {
      "description": "Only charging points of at most this many kW (1–1000). Use for a normal AC post (\"normale AC-Säule\", \"Wallbox\": 22) or, with min_power_kw, a band (50 and 149 = DC fast but not HPC). Never below min_power_kw. Omit unless the person set an upper limit.",
      "type": "number",
      "minimum": 1,
      "maximum": 1000
    },
    "operator": {
      "description": "Only sites of this charge-point operator brand, as the person names it: \"IONITY\", \"EnBW\", \"Tesla\", \"Aral pulse\". Spellings of one brand match together (\"EnBW mobility+ AG\", \"ENBW\"); sites whose source names no operator are left out. Omit unless the person named an operator — a question about WHO operates the chargers sets none.",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "conditions": {
      "description": "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.",
      "minItems": 1,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "open247",
          "card",
          "free",
          "public"
        ]
      }
    },
    "only_available": {
      "default": false,
      "description": "When true, return only sites with at least one point reported FREE right now. Default false. Use it when the person asks what is free at this moment. Note that only some operators publish live status: the result always says how many nearby sites were dropped because their status is unknown, so the filter never silently hides a charger that may well be free.",
      "type": "boolean"
    },
    "limit": {
      "default": 5,
      "description": "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.",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_hydrogen_station

Brintstationer i nærheden

Argumenter: place lat lon radius_km vehicle limit

Spørg sådan:

Hvor er den nærmeste brintstation ved Stuttgart?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "radius_km": {
      "default": 50,
      "description": "Search radius around place or lat+lon in kilometres (1–150, default 50). Hydrogen stations are few, so the default is wide; when none is inside, the answer still names the nearest one beyond. Example: 50",
      "type": "number",
      "minimum": 1,
      "maximum": 150
    },
    "vehicle": {
      "description": "Which pump the vehicle needs: \"car\" (Pkw — 700 bar, e.g. Toyota Mirai, Hyundai Nexo; a few sites also offer 350 bar for cars) or \"truck\" (Lkw or bus — 350 bar). Omit unless the person said what they drive.",
      "type": "string",
      "enum": [
        "car",
        "truck"
      ]
    },
    "limit": {
      "default": 5,
      "description": "How many stations to list, nearest first (1–10, default 5).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Steder og adresser

find_place

Slå et sted op

Argumenter: query* kind near lat lon radius_km

Spørg sådan:

Hvor ligger Garmisch-Partenkirchen præcis?

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "The place name to look up, as the person said it — \"Neustadt\", \"Munich\", \"Kreis Fulda\", \"Köln Hbf\". English names and spellings without umlauts both work."
    },
    "kind": {
      "description": "Narrow to one kind: \"city\", \"district\" (Kreis), \"admin\" (Land or Regierungsbezirk), \"station\", \"stop\", \"motorway\" or \"junction\". Omit unless the person was specific.",
      "type": "string",
      "enum": [
        "city",
        "district",
        "admin",
        "station",
        "stop",
        "motorway",
        "junction"
      ]
    },
    "near": {
      "description": "A second place to measure from, used to tell same-named candidates apart: \"Neustadt\" near \"Hamburg\" is one of twenty Neustadts. Every result then carries its distance from this point.",
      "type": "string",
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude to measure from, instead of `near`.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude to measure from, instead of `near`.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "radius_km": {
      "description": "When near/lat+lon is given, keep only candidates within this many kilometres (1–200). Omit to rank by distance without dropping any.",
      "type": "number",
      "minimum": 1,
      "maximum": 200
    },
    "limit": {
      "default": 5,
      "description": "How many candidates to return, best match first (1–10, default 5).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_poi

Find et navngivet sted

Argumenter: name* in near lat lon category

Spørg sådan:

Er der et apotek ved Erfurts hovedbanegård?

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "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."
    },
    "in": {
      "description": "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.",
      "type": "string",
      "maxLength": 120
    },
    "near": {
      "description": "A place to search around, when the question is \"the nearest X\" rather than \"X in Y\". Use with radius_km.",
      "type": "string",
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude of the point to search around, when the caller already holds a coordinate.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude of the point to search around.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "category": {
      "description": "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.",
      "type": "string",
      "enum": [
        "office",
        "amenity",
        "shop",
        "tourism",
        "healthcare",
        "leisure",
        "industrial",
        "historic",
        "natural",
        "building"
      ]
    },
    "radius_km": {
      "default": 10,
      "description": "Search radius in kilometres around near/lat+lon (1–50, default 10). Ignored when \"in\" is used.",
      "type": "number",
      "minimum": 1,
      "maximum": 50
    },
    "limit": {
      "default": 10,
      "description": "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.",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    },
    "cursor": {
      "description": "Pagination cursor from a previous result's _meta.nextCursor. Omit for the first page.",
      "type": "string",
      "maxLength": 256
    }
  },
  "required": [
    "name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_address

Slå en adresse op

Argumenter: query* limit

Spørg sådan:

Hvor er Unter den Linden 77 i Berlin?

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 3,
      "maxLength": 160,
      "description": "A street address, as a person writes one: street and house number, plus a town or postcode — \"Bahnhofstraße 12, 36037 Fulda\" or \"Bahnhofstraße 12, Fulda\". Both orders work. A street and number with neither a town nor a postcode cannot be placed (the same street name exists in about two thousand German towns) and is refused."
    },
    "limit": {
      "default": 3,
      "description": "How many results to return (1–5, default 3) — more than one means the same address carries more than one OpenStreetMap object.",
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

describe_location

Beskriv en koordinat

Argumenter: lat* lon*

Spørg sådan:

Hvad er der ved 50,94, 6,96?

Inputskema
{
  "type": "object",
  "properties": {
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude of the point to describe (WGS84)."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude of the point to describe (WGS84)."
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

find_nearby

Hvad er i nærheden

Argumenter: place lat lon radius_km categories

Spørg sådan:

Hvad er der nær Münsters hovedbanegård: opladning, parkering, stoppesteder?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "radius_km": {
      "default": 5,
      "description": "Search radius around place or lat+lon in kilometres (1–15, default 5). This tool answers \"what is around me\", not \"search a wide area\" — for that, use the specific tool with its own wider radius.",
      "type": "number",
      "minimum": 1,
      "maximum": 15
    },
    "categories": {
      "description": "Which categories to include: \"fuel\", \"charging\", \"parking\", \"station\" (railway station), \"junction\" (motorway junction) — omit for these five. Everyday places from OpenStreetMap only when named: \"groceries\", \"health\" (pharmacy, doctor, hospital), \"money\" (cash machine, bank, post office), \"food\", \"lodging\", \"garage\" (car repair, tyres, car wash), \"police\" (police stations), \"toilets\" (public toilets) (\"safety\", the former name for both, still answers as both); each uses its own radius (1–2 km, widened up to 5 km where fewer than three are near), not radius_km.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "fuel",
          "charging",
          "parking",
          "station",
          "junction",
          "groceries",
          "health",
          "money",
          "food",
          "lodging",
          "garage",
          "police",
          "toilets",
          "safety"
        ]
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Regler og vejr

find_speed_cameras

Fartkameraer til planlægning

Argumenter: place lat lon radius_km limit

Spørg sådan:

Hvor står der faste fartkameraer på min vej gennem Bielefeld?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "radius_km": {
      "default": 5,
      "description": "The area around place or lat+lon, in kilometres (1–25, default 5). An area, not an order: the list is never sorted by distance. Example: 5",
      "type": "number",
      "minimum": 1,
      "maximum": 25
    },
    "limit": {
      "default": 20,
      "description": "How many locations to list in each block, the official lists and OpenStreetMap's (1–50, default 20); the answer says how many more the area holds.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

get_driving_rules

Færdselsregler i Tyskland

Argumenter: topic city place lat lon

Spørg sådan:

Hvornår gælder søndagskørselsforbuddet for lastbiler?

Inputskema
{
  "type": "object",
  "properties": {
    "topic": {
      "description": "Which rule to answer. \"lez\" = low-emission zone and Feinstaubplakette, \"speed\" = speed limits including the Autobahn advisory 130, \"winter\" = winter-tyre duty, \"alcohol\" = alcohol and drugs, \"toll\" = car and lorry toll, \"truck_ban\" = Sunday and holiday lorry ban, \"equipment\" = what the law requires in the car, \"emergency\" = 112/110, rescue lane, breakdown, crash, \"ev\" = electric car (E-Kennzeichen, charging payment, plugs). Omit for a one-line overview of all nine; with place or lat+lon, omitted means \"lez\".",
      "type": "string",
      "enum": [
        "lez",
        "speed",
        "winter",
        "alcohol",
        "toll",
        "truck_ban",
        "equipment",
        "emergency",
        "ev"
      ]
    },
    "city": {
      "description": "City the question is about, e.g. \"Stuttgart\", \"München\", \"Munich\". Narrows \"lez\" to that city's zone and adds the per-city caveat for \"ev\". Other topics are nationwide. Omit when the question is not about one city.",
      "type": "string",
      "minLength": 2,
      "maxLength": 60
    },
    "place": {
      "description": "A street address, district, station or other point (\"Alexanderplatz, Berlin\", \"Kölner Dom\") to check against the published low-emission-zone boundaries: inside, outside with the distance, or unknown. Given with lat+lon, lat+lon is checked and the place is its label, unless the two lie further apart than 10 km plus the town's extent.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude (WGS 84) of the point to check against the zone boundaries. Use with lon; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude (WGS 84) of the point to check against the zone boundaries. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

check_weather_warnings

Officielle vejrvarsler

Argumenter: place lat lon min_level

Spørg sådan:

Er der et vejrvarsel for Hamburg i dag?

Inputskema
{
  "type": "object",
  "properties": {
    "place": {
      "description": "Where to look, as free text: a city (\"München\", \"Munich\"), a district or Kreis (\"Kreis Fulda\"), a Bundesland, a station or stop (\"Hamburg Hbf\"), a motorway junction (\"AK Neufahrn\"), or a street address with a house number (\"Bahnhofstraße 12, 36037 Fulda\"). A motorway number alone (\"A7\") resolves to the road, which has no single point — name a town or junction on it instead. Use this instead of coordinates whenever the person named a place. An address needs its town or postcode — a street and a number alone exist in many towns. A place or lat+lon is required (unless the tool names another way in, such as a road): when the person named neither, ask them for a town, a postcode or their position before calling. Given both, the answer is about lat+lon with the place as its label, and is refused only when the two lie further apart than the search reaches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "lat": {
      "description": "Latitude in WGS 84, e.g. 48.137. Use with lon when the caller already holds coordinates; otherwise use place.",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "description": "Longitude in WGS 84, e.g. 11.576. Use with lat; otherwise use place.",
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "language": {
      "default": "de",
      "description": "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.",
      "type": "string",
      "enum": [
        "de",
        "en"
      ]
    },
    "min_level": {
      "default": 0,
      "description": "Lowest official DWD level to report, 0–4 (default 0, i.e. everything). The DWD's own names: 1 = Wetterwarnung, 2 = Markante Wetterwarnung, 3 = Unwetterwarnung, 4 = Warnung vor extremem Unwetter; 0 = Vorabinformation Unwetter, an advance notice that is not yet a Warnstufe. Raise it ONLY when the question names a level or a Warnstufe in so many words (\"ab Stufe 3\", \"level 3 or higher\", \"nur Stufe 4\"). Unwetter, Unwetterwarnung, severe and storm are the ordinary way to ask about bad weather, not a filter: leave it at 0 there — a level the caller filtered away is a warning the person is never told about.",
      "type": "integer",
      "minimum": 0,
      "maximum": 4
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Prompter · 9

plan_departure

Giver et overblik lige før en køretur: vejrvarsler i begge ender, åbne motorveje og aktuelle køer, til sidst én sætning: kør eller vent.

compare_travel_options

Vejer en tur i bil op mod den samme tur med tog: spærringer og kø på den ene side, afgange og rettidighed på den anden.

prepare_car_trip

Samler, hvad man skal have med og vide i Tyskland og for en bestemt by: miljømærkat, hastighedsgrænser, vinterdæk, promillegrænse, vejafgift, påbudt udstyr.

plan_fuel_stop

Finder, hvor man tanker eller lader undervejs: de billigste tankstationer for én brændstoftype eller ladepunkter med det rette stik og den rette effekt, og rastepladsen ved siden af.

plan_commute

Planlægger én tur med bus eller tog samme dag: de næste afgange med forsinkelser, spor og aflysninger, og om regionen kører normalt.

plan_arrival_parking

Finder, hvor bilen kan stå ved turens slutning: et parkeringshus i byen, en P+R i udkanten med videre afgange eller en rasteplads, hvis man er for tidligt på den.

find_a_place

Omsætter et bart navn til et sted, et navngivet sted eller en adresse og prøver dem én efter én.

plan_local_errand

Svarer på „hvad er der her i nærheden?“ for ét sted: nærmeste tankstation, ladestander, parkering, station og motorvejstilslutning på ét blik.

explain_this_coordinate

Gør bare koordinater til en sætning, rejsende forstår: nærmeste adresse, by, kreds og motorvejstilslutning, hver med afstand.

Ressourcer · 10

  • viafrei://attribution
  • viafrei://coverage
  • viafrei://rules/driving-in-germany
  • viafrei://rules/low-emission-zones
  • viafrei://emergency
  • viafrei://rules/electric-driving
  • viafrei://status/feeds
  • viafrei://watches
  • viafrei://gazetteer
  • viafrei://addresses

Nyt i kontrakten

Nuværende version

Version 2.6.42 · udgivet den 22. november 2026

Kontrakten, hvert værktøj overholder

  • Et værktøj gør én ting og er navngivet efter den (verbum_substantiv).
  • Hvert svar bærer sin kildelinje ordret; hvor en licens kræver en formålsnote, står den der også.
  • Tider er Europe/Berlin; der gemmes i UTC.
  • Test kalder aldrig en rigtig udbyder; hvert bidrag gennemgås uafhængigt.
  • For mange forespørgsler afvises med JSON-RPC-fejl -32000; vent og send igen.
  • En udløbet session afvises med fejl -32001; start en ny med initialize.

Status

Et statusoverblik over datakilderne fås på forespørgsel.

Kode og bidrag

Serveren er en hostet tjeneste, og dens kildekode er ikke offentlig. Broen er offentlig – og dér er al hjælp velkommen.

npm

Til klienter, der kun taler stdio: viafrei

npx -y viafrei

Navnerummet @viafrei er reserveret til senere SDK-pakker.

Fortegnelser

ViaFrei er opført her: