{"id":27598,"library":"awslabs-aws-location-mcp-server","title":"aws-location-mcp","description":"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.","status":"active","version":"2.0.18","language":"python","source_language":"en","source_url":"https://github.com/awslabs/mcp.git","tags":["mcp","aws","location","model-context-protocol","aws-labs"],"install":[{"cmd":"pip install awslabs-aws-location-mcp-server","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"AWS SDK for Python, required for AWS Location Service API calls","package":"boto3","optional":false},{"reason":"Model Context Protocol SDK for building MCP servers","package":"mcp","optional":false}],"imports":[{"note":"Correct import path since v2.0.0; older versions used 'awslabs-aws-location-mcp-server' with hyphens which is invalid for Python imports.","wrong":null,"symbol":"AWSLocationMCPServer","correct":"from awslabs_aws_location_mcp_server import AWSLocationMCPServer"}],"quickstart":{"code":"import os\nfrom awslabs_aws_location_mcp_server import AWSLocationMCPServer\n\n# Ensure AWS credentials are set (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION)\nserver = AWSLocationMCPServer(\n    region=os.environ.get('AWS_DEFAULT_REGION', 'us-east-1'),\n    api_key=os.environ.get('AWS_LOCATION_API_KEY', '')\n)\n\n# Run the server (MCP stdio transport)\nserver.run()","lang":"python","description":"Initialize and run the MCP server. Requires AWS credentials and optional API key."},"warnings":[{"fix":"Update import to 'from awslabs_aws_location_mcp_server import AWSLocationMCPServer'.","message":"In 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.","severity":"breaking","affected_versions":"<2.0.0 vs >=2.0.0"},{"fix":"Provide region argument: AWSLocationMCPServer(region='us-west-2').","message":"As 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.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Replace hyphens with underscores in the import path.","message":"The package installs with hyphens (pip install awslabs-aws-location-mcp-server) but the Python import uses underscores: from awslabs_aws_location_mcp_server import ...","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use underscores: from awslabs_aws_location_mcp_server import ...","cause":"Trying to import the package using hyphens, which is not valid Python syntax.","error":"ModuleNotFoundError: No module named 'awslabs-aws-location-mcp-server'"},{"fix":"Use AWSLocationMCPServer instead: from awslabs_aws_location_mcp_server import AWSLocationMCPServer.","cause":"Breaking change in v2.0.0: class renamed from LocationMCPServer to AWSLocationMCPServer.","error":"ImportError: cannot import name 'LocationMCPServer' from 'awslabs_aws_location_mcp_server'"},{"fix":"Provide region argument: AWSLocationMCPServer(region='us-east-1').","cause":"In v2.0.0+, region is a required parameter.","error":"TypeError: __init__() missing 1 required positional argument: 'region'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}