ANWB Traffic and Routes

v0.3.1
io.github.BartWaardenburg/anwb-mcp Checked 1 day ago Published 6 days ago

ANWB traffic information, route planning, and location search for the Netherlands

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_locations Search ANWB Locations

Search for locations, addresses, streets, cities, and points of interest in the Netherlands and surrounding countries. Returns matching locations with coordinates, useful for route planning. Use this to find coordinates for the calculate_route tool.

ParameterTypeDescription
query *stringFree-text search query (e.g. city name, address, POI name).
areastringGeographic area to search in. ALL includes the Netherlands and surrounding countries, NLD limits to the Netherlands only.
indexSetsarrayIndex sets to search: PAD (addresses), Str (streets), Geo (geographic areas), Addr (address ranges), POI (points of interest). Default is all.
limitintegerMaximum number of results to return (1-20).

calculate_route Calculate Route

Calculate a route between two or more locations using ANWB route planning. Supports car, caravan, bike, and pedestrian modes. Provide locations as latitude,longitude pairs separated by colons (e.g. '52.37,4.89:51.44,5.47'). Returns distance, duration, turn-by-turn directions, toll information (car/caravan only), and optional alternative routes. Use find_locations first to get coordinates for place names.

ParameterTypeDescription
locations *stringWaypoints as lat,lon pairs separated by colons. Minimum 2 points. Example: '52.373166,4.89066:51.441643,5.469722' (Amsterdam to Eindhoven).
avoidarrayRoad types to avoid. Options: tollRoads, motorways, ferries, unpavedRoads. Applies to car/caravan modes primarily.
includeAlternativesbooleanInclude alternative routes in the response.
routeTypestringRoute optimization: fastest (default) or shortest distance. Note: 'shortest' only works for bike and pedestrian modes.
tollInfobooleanInclude toll road information (car/caravan mode only, ignored for bike/pedestrian).
trafficbooleanTake current traffic conditions into account (car/caravan mode only, ignored for bike/pedestrian).
transportModestringTransport mode: car (default), caravan, bike, or pedestrian.
transportSubtypestringBike subtype: 'bike' (regular) or 'ebike' (electric bicycle). Only applies when transportMode is 'bike'.

calculate_ev_route Calculate EV Route

Calculate an electric vehicle route between two or more locations using ANWB EV route planning. Requires an EV car model ID, battery capacity, and current state of charge. Returns distance, duration, battery consumption, charging stops (if needed), and nearby charging stations. Provide locations as latitude,longitude pairs separated by colons. Use find_locations first to get coordinates for place names.

ParameterTypeDescription
capacity *numberBattery capacity in kWh (e.g. 100 for a 100 kWh battery).
carId *stringEV car model ID from the ANWB database (e.g. '646ca73f3f6beb1fcbdbdf70').
locations *stringWaypoints as lat,lon pairs separated by colons. Minimum 2 points. Example: '52.373166,4.89066:51.441643,5.469722'.
stateOfCharge *numberCurrent battery state of charge as a percentage (5-100).
complexitynumberRoute complexity factor (default: 1.15). Higher values may find more optimal routes.
finalStateOfChargenumberDesired minimum battery percentage at arrival (10-75, default: 20).

list_ev_cars List Electric Vehicles

List available electric vehicle models from the ANWB database. Returns car IDs, make, model, version, and battery information. Use the car ID with calculate_ev_route to plan an EV route. Optionally filter by make (brand) or search by model name.

ParameterTypeDescription
makestringFilter by car make/brand (case-insensitive). Example: 'Tesla', 'Volkswagen', 'BMW'.
searchstringSearch term to filter by model name (case-insensitive). Example: 'Model 3', 'ID.4'.

get_traffic_incidents Get Traffic Incidents

Get current traffic incidents on Dutch highways from ANWB. Returns jams, road closures, roadworks, and speed camera locations. Optionally filter by road (e.g. 'A1', 'A2') and/or category (jams, roadworks, radars).

ParameterTypeDescription
categorystringFilter by incident category: jams (traffic jams and closures), roadworks (construction), radars (speed cameras). Returns all categories when omitted.
roadstringFilter by specific road (e.g. 'A1', 'A2', 'A12'). Case-insensitive. Returns all roads when omitted.

get_traffic_summary Get Traffic Summary

Get a compact summary of current traffic conditions on Dutch highways. Returns total counts of jams, road closures, roadworks, and radars across all highways.