How geocoding works in the Airbnb MCP Server
mainTo ensure accurate international results (e.g., "Copenhagen, Denmark"), the server uses third-party geocoders to translate location strings into map bounding boxes before querying Airbnb.
Geocoding Workflow
- Primary: The server calls Photon (an OSM-based service).
- Fallback: If Photon fails to return a bounding box, the server calls Nominatim.
- Direct Fallback: If both fail, the server sends the raw location string directly to Airbnb.
Privacy & Opting Out
- Privacy: Only the
locationstring is sent to geocoders; no IP or tracking data is shared. - Opt-out (Per-request): Provide a
placeId(Google Maps Place ID) in your tool call. This skips geocoding entirely. - Opt-out (Global): Set the environment variable
DISABLE_GEOCODING=true. This forces all searches to use Airbnb's internal geocoder, which may result in inaccurate international locations.