awslabs.aws-location-mcp-server

v2.1.2
awslabs.aws-location-mcp-server Checked 1 day ago Published 15 days ago

An AWS Labs Model Context Protocol (MCP) server for AWS Location Service

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

search_places

Search for places using Amazon Location Service geo-places search_text API. Geocode the query using the geocode API to get BiasPosition. If no results, try a bounding box filter. Includes contact info and opening hours if present. Output is standardized and includes all fields, even if empty or not available.

ParameterTypeDescription
query *stringSearch query (address, place name, etc.)
max_resultsintegerMaximum number of results to return
modestringOutput mode: 'summary' (default) or 'raw' for all AWS fields

get_place

Get details for a place using Amazon Location Service geo-places get_place API. Output is standardized and includes all fields, even if empty or not available.

ParameterTypeDescription
place_id *stringThe unique PlaceId for the place
modestringOutput mode: 'summary' (default) or 'raw' for all AWS fields

reverse_geocode

Reverse geocode coordinates to an address using Amazon Location Service geo-places reverse_geocode API.

ParameterTypeDescription
latitude *numberLatitude of the location
longitude *numberLongitude of the location

geocode

Get coordinates for a location name or address using Amazon Location Service geo-places geocode API.

ParameterTypeDescription
location *stringLocation name or address to geocode

search_nearby

Search for places near a location using Amazon Location Service geo-places search_nearby API. If no results, expand the radius up to max_radius. Output is standardized and includes all fields, even if empty or not available.

ParameterTypeDescription
latitude *numberLatitude of the center point
longitude *numberLongitude of the center point
max_resultsintegerMaximum number of results to return
queryOptional search query
radiusintegerSearch radius in meters

search_places_open_now

Search for places that are open now using Amazon Location Service geo-places search_text API and filter by opening hours. If no open places, expand the search radius up to max_radius. Uses BiasPosition from geocode.

ParameterTypeDescription
query *stringSearch query (address, place name, etc.)
initial_radiusintegerInitial search radius in meters for expansion

calculate_route

Calculate a route and return summary info and turn-by-turn directions. Parameters: departure_position: [lon, lat] destination_position: [lon, lat] travel_mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car') optimize_for: 'FastestRoute' or 'ShortestRoute' (default: 'FastestRoute') Returns: dict with distance, duration, and turn_by_turn directions (list of step summaries).

ParameterTypeDescription
departure_position *arrayDeparture position as [longitude, latitude]
destination_position *arrayDestination position as [longitude, latitude]
optimize_forstringOptimize route for 'FastestRoute' or 'ShortestRoute' (default: 'FastestRoute')
travel_modestringTravel mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car')

optimize_waypoints

Optimize the order of waypoints using Amazon Location Service geo-routes optimize_waypoints API (V2). Returns summary (optimized order, total distance, duration, etc.) or full response if mode='raw'.

ParameterTypeDescription
destination_position *arrayDestination position as [longitude, latitude]
origin_position *arrayOrigin position as [longitude, latitude]
waypoints *arrayList of intermediate waypoints, each as a dict with at least Position [longitude, latitude], optionally Id
modestringOutput mode: 'summary' (default) or 'raw' for all AWS fields
travel_modestringTravel mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car')