Skip to main content
Glama
io.github.mohammad-abbasi-sh/autobahn-mcp

io.github.mohammad-abbasi-sh/autobahn-mcp

autobahn-mcp πŸ›£οΈ

mcp-name: io.github.mohammad-abbasi-sh/autobahn-mcp

Unofficial read-only MCP server for verkehr.autobahn.de β€” German Autobahn data from the official verkehr.autobahn.de API: roadworks, closures, warnings, truck/car parking and EV charging stations per motorway. No key, no login.

Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with verkehr.autobahn.de.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "autobahn": {
      "command": "uvx",
      "args": ["autobahn-mcp==0.1.0"]
    }
  }
}

Or run locally: python -m autobahn_mcp.server (needs mcp<2, httpx).

Related MCP server: aria-mcp-trafik-dk

Tools

Tool

Description

autobahn_roadworks

Roadworks on a motorway β€” road (e.g. "A1"), limit 1..50

autobahn_closures

Closures on a motorway β€” road (e.g. "A1"), limit 1..50

autobahn_warnings

Warnings on a motorway β€” road (e.g. "A100"), limit 1..50

autobahn_parking

Truck/car parking on a motorway β€” road (e.g. "A1"), limit 1..50

autobahn_ev_charging

EV charging stations on a motorway β€” road (e.g. "A1"), limit 1..50

autobahn_health

Reachability probe (ok / blocked / error) β€” one polite request

Notes

  • All data comes from the official verkehr.autobahn.de API (free, no key).

  • The API's reststop, traffic and webcam services return empty arrays on every probed motorway right now (A1/A3/A7/A9/A100, verified 2026-11-10), so they are not exposed as tools; parking_lorry covers parking areas instead.

  • Roadworks and closures can be numerous (A1 currently lists 261 roadworks) β€” use limit to cap the output.

Tests: 19/19 green (13 offline + 6 live, 2026-11-10).

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -q

License

MIT


Built by Mohammad Abbasi β€” Almanibama Β· mabbasi.ir

Available Tools

6 tools
autobahn_closuresB

Closures on one German motorway. road: e.g. "A1" or "A100". limit: 1..50 (default 10).

Inputs: road, limit. Returns: result

autobahn_ev_chargingB

EV charging stations on one German motorway. road: e.g. "A1" or "A7". limit: 1..50 (default 10).

Inputs: road, limit. Returns: result

autobahn_healthA

Check whether verkehr.autobahn.de is reachable right now.

Returns status ok (HTTP 200), blocked (HTTP 403/429 β€” bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.

Inputs: no named parameters. Returns: result

autobahn_parkingB

Truck/car parking areas on one German motorway, with capacities. road: e.g. "A1" or "A7". limit: 1..50 (default 10).

Inputs: road, limit. Returns: result

autobahn_roadworksB

Roadworks on one German motorway. road: e.g. "A1" or "A100". limit: 1..50 (default 10).

Inputs: road, limit. Returns: result

autobahn_warningsC

Warnings on one German motorway. road: e.g. "A100" or "A1". limit: 1..50 (default 10).

Inputs: road, limit. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool maps to a single distinct data category on the Autobahn API: roadworks, closures, warnings, parking, EV charging, and a standalone health probe. There is no plausible way to confuse one with another, and the health tool is clearly separated as a non-listing diagnostic.

    Naming Consistency5/5

    All six tools follow an identical pattern: the `autobahn_` prefix plus a snake_case domain noun (roadworks, closures, warnings, parking, ev_charging, health). The convention is uniform and predictable, and the shared parameter signature (road, limit) reinforces it.

    Tool Count5/5

    Six tools is a tight, well-scoped set for a single-source road data server, with each tool earning its place as a separate endpoint. No redundant or speculative tools inflate the surface.

    Completeness4/5

    The surface covers the main Autobahn dataset categories (roadworks, closures, warnings, parking, EV charging) plus a connectivity check, which is solid lifecycle-free read coverage. Minor gaps remain: no tool to list valid road identifiers/reference data, and no webcam or general traffic-flow/charging-detail endpoint.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP server providing AI agents with access to German government open data. 12 tools across 6 categories: Autobahn traffic, DWD weather, NINA disaster warnings, SMARD energy market, Bundestag parliamentary data, and pollen forecasts. All APIs are free, no keys required.
      16
      21 PyPI
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides access to real-time Danish road traffic events, roadworks, and queues via public data from Vejdirektoratet, enabling AI assistants to check road conditions without any API keys.
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying Norwegian traffic messages (roadworks, closures, detours) from Statens vegvesen, filtered by route and time window. Supports both current and future travel times, with tools for route-based and general searches.
      3
      MIT