Amazon Location Service

Amazon Location Service

Place search, geocoding, and route optimization.

1.4K

8 Tools

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

Use cases

About

Amazon Location Service MCP Server

Place search, geocoding, and route optimization.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/awslabs/mcp/blob/7bace1f81455088b6690a44e99cabb602259ddf7/src/aws-location-mcp-server/Dockerfile
Commit7bace1f81455088b6690a44e99cabb602259ddf7
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/aws-location-mcp-server --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (8)

Tools provided by this ServerShort Description
calculate_routeCalculate a route and return summary info and turn-by-turn directions.
geocodeGet coordinates for a location name or address using Amazon Location Service geo-places geocode API.
get_placeGet details for a place using Amazon Location Service geo-places get_place API.
optimize_waypointsOptimize the order of waypoints using Amazon Location Service geo-routes optimize_waypoints API (V2).
reverse_geocodeReverse geocode coordinates to an address using Amazon Location Service geo-places reverse_geocode API.
search_nearbySearch for places near a location using Amazon Location Service geo-places search_nearby API.
search_placesSearch for places using Amazon Location Service geo-places search_text API.
search_places_open_nowSearch for places that are open now using Amazon Location Service geo-places search_text API and filter by opening hours.

Tools Details

Tool: 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).

ParametersTypeDescription
departure_positionarrayDeparture position as [longitude, latitude]
destination_positionarrayDestination position as [longitude, latitude]
optimize_forstringoptionalOptimize route for 'FastestRoute' or 'ShortestRoute' (default: 'FastestRoute')
travel_modestringoptionalTravel mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car')

Tool: geocode

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

ParametersTypeDescription
locationstringLocation name or address to geocode

Tool: 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.

ParametersTypeDescription
place_idstringThe unique PlaceId for the place
modestringoptionalOutput mode: 'summary' (default) or 'raw' for all AWS fields

Tool: 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'.

ParametersTypeDescription
destination_positionarrayDestination position as [longitude, latitude]
origin_positionarrayOrigin position as [longitude, latitude]
waypointsarrayList of intermediate waypoints, each as a dict with at least Position [longitude, latitude], optionally Id
modestringoptionalOutput mode: 'summary' (default) or 'raw' for all AWS fields
travel_modestringoptionalTravel mode: 'Car', 'Truck', 'Walking', or 'Bicycle' (default: 'Car')

Tool: reverse_geocode

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

ParametersTypeDescription
latitudenumberLatitude of the location
longitudenumberLongitude of the location

Tool: 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.

ParametersTypeDescription
latitudenumberLatitude of the center point
longitudenumberLongitude of the center point
max_resultsintegeroptionalMaximum number of results to return
querystringoptionalOptional search query
radiusintegeroptionalSearch radius in meters

Tool: 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.

ParametersTypeDescription
querystringSearch query (address, place name, etc.)
max_resultsintegeroptionalMaximum number of results to return
modestringoptionalOutput mode: 'summary' (default) or 'raw' for all AWS fields

Tool: 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.

ParametersTypeDescription
querystringSearch query (address, place name, etc.)
initial_radiusintegeroptionalInitial search radius in meters for expansion

Use this MCP Server

{
  "mcpServers": {
    "aws-location": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "AWS_REGION",
        "-e",
        "AWS_PROFILE",
        "-e",
        "AWS_ACCESS_KEY_ID",
        "-e",
        "AWS_SECRET_ACCESS_KEY",
        "-e",
        "AWS_SESSION_TOKEN",
        "mcp/aws-location-mcp-server"
      ],
      "env": {
        "AWS_REGION": "us-east-1",
        "AWS_PROFILE": "default",
        "AWS_ACCESS_KEY_ID": "AKIAIOSFODNN7EXAMPLE",
        "AWS_SECRET_ACCESS_KEY": "your-aws-secret-access-key",
        "AWS_SESSION_TOKEN": "your-aws-session-token"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?