- Explore MCP Servers
- autobahn_mcp
Autobahn Mcp
What is Autobahn Mcp
autobahn_mcp is a simple Model Context Protocol (MCP) server that provides access to real-time German Autobahn traffic data through the official Autobahn API.
Use cases
Use cases include integrating with MCP-compatible clients for traffic management, providing real-time updates for mobile navigation apps, and supporting electric vehicle route planning with charging station information.
How to use
To use autobahn_mcp, install it using ‘uv sync’, then run the server with ‘python autobahn_server.py’ or ‘uv run autobahn_server.py’. You can access various tools to get data about autobahns, traffic warnings, road closures, and charging stations.
Key features
Key features include listing all available German highways, providing real-time traffic warnings and delays, current road closures, electric vehicle charging stations along routes, and a complete overview of traffic status for any autobahn.
Where to use
autobahn_mcp can be used in transportation applications, navigation systems, and any software that requires real-time traffic data for German highways.
Overview
What is Autobahn Mcp
autobahn_mcp is a simple Model Context Protocol (MCP) server that provides access to real-time German Autobahn traffic data through the official Autobahn API.
Use cases
Use cases include integrating with MCP-compatible clients for traffic management, providing real-time updates for mobile navigation apps, and supporting electric vehicle route planning with charging station information.
How to use
To use autobahn_mcp, install it using ‘uv sync’, then run the server with ‘python autobahn_server.py’ or ‘uv run autobahn_server.py’. You can access various tools to get data about autobahns, traffic warnings, road closures, and charging stations.
Key features
Key features include listing all available German highways, providing real-time traffic warnings and delays, current road closures, electric vehicle charging stations along routes, and a complete overview of traffic status for any autobahn.
Where to use
autobahn_mcp can be used in transportation applications, navigation systems, and any software that requires real-time traffic data for German highways.
Content
Autobahn MCP Server
A simple Model Context Protocol (MCP) server that provides access to German Autobahn traffic data using the official Autobahn API.
Features
- List Autobahns: Get all available German highways
- Traffic Warnings: Real-time traffic warnings and delays
- Road Closures: Current road closures and construction sites
- Charging Stations: Electric vehicle charging stations along routes
- Overview: Complete traffic status for any autobahn
Installation
Using uv
(recommended):
uv sync
Usage
Running the Server
python autobahn_server.py
Or using uv:
uv run autobahn_server.py
Available Tools
list_autobahns()
- Get all available autobahn identifiersget_traffic_warnings(autobahn)
- Traffic warnings for specific autobahnget_road_closures(autobahn)
- Road closures for specific autobahnget_charging_stations(autobahn)
- EV charging stations along autobahnget_autobahn_overview(autobahn)
- Complete overview of autobahn status
Example Usage
# List all autobahns
autobahns = await list_autobahns()
# Returns: ["A1", "A2", "A3", ...]
# Get traffic warnings for A1
warnings = await get_traffic_warnings("A1")
# Returns structured data with current traffic conditions
# Get complete overview
overview = await get_autobahn_overview("A7")
# Returns warnings, closures, and charging stations
Integration with MCP Clients
This server works with any MCP-compatible client such as:
- Claude Desktop
- Cursor IDE
- Other MCP-enabled applications
Configure your MCP client to connect to this server using the standard MCP configuration format.
{
"mcpServers": {
"Autobahn Server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"path/to/autobahn_mcp/main.py"
]
}
}
}
Data Source
Data is provided by the German Federal Ministry for Digital and Transport via the official Autobahn API at verkehr.autobahn.de
.
License
MIT License