awslabs.aws-location-mcp-server
v2.1.2An 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (address, place name, etc.) |
max_results | integer | Maximum number of results to return |
mode | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
place_id * | string | The unique PlaceId for the place |
mode | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude of the location |
longitude * | number | Longitude of the location |
geocode
Get coordinates for a location name or address using Amazon Location Service geo-places geocode API.
| Parameter | Type | Description |
|---|---|---|
location * | string | Location 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.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude of the center point |
longitude * | number | Longitude of the center point |
max_results | integer | Maximum number of results to return |
query | Optional search query | |
radius | integer | Search 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (address, place name, etc.) |
initial_radius | integer | Initial 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).
| Parameter | Type | Description |
|---|---|---|
departure_position * | array | Departure position as [longitude, latitude] |
destination_position * | array | Destination position as [longitude, latitude] |
optimize_for | string | Optimize route for 'FastestRoute' or 'ShortestRoute' (default: 'FastestRoute') |
travel_mode | string | Travel 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'.
| Parameter | Type | Description |
|---|---|---|
destination_position * | array | Destination position as [longitude, latitude] |
origin_position * | array | Origin position as [longitude, latitude] |
waypoints * | array | List of intermediate waypoints, each as a dict with at least Position [longitude, latitude], optionally Id |
mode | string | Output mode: 'summary' (default) or 'raw' for all AWS fields |
travel_mode | string | Travel mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car') |