ViaFrei Transport data, spoken Connect
Ready in one minute

Connect ViaFrei to your assistant

One address, no account, no key. Add ViaFrei once as a connector – then just ask.

How to ask

Five questions, the way your assistant answers them today:

Wann fährt der nächste Zug ab Köln Hbf?

get_train_departures

P+R near Köln Hbf

find_parking

Where can I charge my EV near Stuttgart?

find_charging_station

Ist die A3 Richtung Frankfurt gerade frei?

check_autobahn_traffic

Gibt es gerade eine Unwetterwarnung für Dresden?

check_weather_warnings

The address

https://mcp.viafrei.de/mcp

Streamable HTTP. Free while we build it up, no account; requests are rate-limited so there is enough for everyone.

Older clients without Streamable HTTP use the SSE address: https://mcp.viafrei.de/sse

Step by step

Draft – these steps have not been checked in every client yet.

claude.ai (web)

Settings → Connectors → “Add custom connector” → paste the address above → save.

Claude Desktop

Settings → Connectors → “Add custom connector” → paste the address.

Claude Code

Run once in a terminal:

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

Settings → Connectors (developer mode) → new connector → enter the address as an MCP server over HTTP.

Cursor, VS Code, Windsurf

Add to the MCP configuration (mcp.json):

{
  "mcpServers": {
    "viafrei": {
      "url": "https://mcp.viafrei.de/mcp"
    }
  }
}
Any other MCP client

Any client that speaks Streamable HTTP connects to the address above – no headers, no key.

stdio-only clients

The bridge from the public npm package starts a local stdio server that forwards to the address above:

npx -y viafrei

npmjs.com/package/viafrei

What ViaFrei does not answer

So you don't look for what isn't there (in the server's own words):

  • No door-to-door routing or journey planning — ViaFrei answers about places, roads and feeds, never 'how do I get there'.
  • No city-street traffic: the live traffic we hold is the federal motorway network (Autobahn GmbH) and, where a feed carries them, federal roads.
  • No fares, tickets or booking of any kind.
  • No per-line public-transport realtime — ViaFrei never answers 'is the S1 on time' for a named line, trip or stop.
  • No weather forecast — official DWD warnings only, and only while they are in force.
  • No parking tariffs, and no promise that a space is free unless the operator publishes occupancy (see the parking section).

Where the data comes from

Every answer names its source. These are all the sources ViaFrei answers from today, with the credit line their licence requires (in German, as written):

Hinweis zu den Kraftstoffpreisdaten (MTS-K): Diese Daten dürfen ausschließlich zum Zweck der Verbraucherinformation verwendet werden; daher ist insbesondere eine Verwendung der Daten zur Information der Mineralölwirtschaft und/oder ihrer IT-Dienstleister nicht erlaubt.

Privacy in three sentences

You need no account with us, and we keep no questions under your name. These pages measure only if you agree; nothing is loaded from third parties before that. Server logs are kept briefly in a rotating buffer – everything else is in the privacy notice (German).