Sign inSign up

mcp/aws-location-mcp-server

Verified Publisher

By mcp

Updated 2 months ago

Place search, geocoding, and route optimization.

Image
Machine learning & AI
0

10K+

mcp/aws-location-mcp-server repository overview

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/636aca8e109b5559006044f035bb89c16e9e5410/src/aws-location-mcp-server/Dockerfile
Commit636aca8e109b5559006044f035bb89c16e9e5410
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_forstring optionalOptimize route for 'FastestRoute' or 'ShortestRoute' (default: 'FastestRoute')
travel_modestring optionalTravel 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
modestring optionalOutput 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
modestring optionalOutput mode: 'summary' (default) or 'raw' for all AWS fields
travel_modestring optionalTravel 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_resultsinteger optionalMaximum number of results to return
querystring optionalOptional search query
radiusinteger optionalSearch 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_resultsinteger optionalMaximum number of results to return
modestring optionalOutput 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_radiusinteger optionalInitial 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?

Install from MCP:Hub

Amazon Location Service

Amazon Location Service

View and Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:a84810ffd

Size

120.3 MB

Last updated

2 months ago

docker pull mcp/aws-location-mcp-server

This week's pulls

Pulls:

48

Sep 7 to Sep 13