Registry / aws / awslabs-aws-location-mcp-server

awslabs-aws-location-mcp-server

JSON →
library2.0.18pypypiunverified

An AWS Labs Model Context Protocol (MCP) server for AWS Location Service, currently at v2.0.18. Enables AI assistants to interact with AWS Location Service (maps, places, geofencing). Active development with frequent minor releases.

pip install awslabs-aws-location-mcp-server
INSTALL
IMPORT
SIG · AWSLABS-AWS-LOCATI
A
awslabs-aws-location-mcp-server
awspythonv2.0.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AWSLocationMCPServer
from awslabs.aws_location_mcp_server import AWSLocationMCPServer
from awslabs_aws_location_mcp_server import AWSLocationMCPServer

Initialize and run the MCP server. Requires AWS credentials and optional API key.

import os from awslabs_aws_location_mcp_server import AWSLocationMCPServer # Ensure AWS credentials are set (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION) server = AWSLocationMCPServer( region=os.environ.get('AWS_DEFAULT_REGION', 'us-east-1'), api_key=os.environ.get('AWS_LOCATION_API_KEY', '') ) # Run the server (MCP stdio transport) server.run()
Debug
Known issues
breakingIn v2.0.0, the server class was renamed from 'LocationMCPServer' to 'AWSLocationMCPServer'. The old import path 'from awslabs_aws_location_mcp_server import LocationMCPServer' will raise ImportError.
fix
Update import to 'from awslabs_aws_location_mcp_server import AWSLocationMCPServer'.
affects: <2.0.0 vs >=2.0.0
breakingAs of v2.0.0, the constructor signature changed: 'region' parameter is now required (previously optional with default 'us-east-1'). Passing no region will raise TypeError.
fix
Provide region argument: AWSLocationMCPServer(region='us-west-2').
affects: >=2.0.0
gotchaThe package installs with hyphens (pip install awslabs-aws-location-mcp-server) but the Python import uses underscores: from awslabs_aws_location_mcp_server import ...
fix
Replace hyphens with underscores in the import path.
affects: all
Upgrade
Version history
2.0.18latest on PyPI · released May 9, 2026
Audit
Dependencies
boto3requiredAWS SDK for Python, required for AWS Location Service API calls
mcprequiredModel Context Protocol SDK for building MCP servers
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
awslabs-aws-location-mcp-server — pip install awslabs-aws-location-mcp-server · libregistry