mapport

v0.1.0
io.github.CloudCorpRecords/mapport Checked 2 days ago Published 1 month ago

Geocoding, places, directions, distance, and elevation through Google Maps.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

maps_geocode

Convert a street address into geographic coordinates, a formatted address, and a place ID.

ParameterTypeDescription
address *stringStreet address to convert into geographic coordinates; must be a non-empty string.

maps_reverse_geocode

Convert geographic coordinates into the nearest human-readable address.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees of the point to convert into an address.
longitude *numberLongitude in decimal degrees of the point to convert into an address.

maps_search_places

Search for places matching a text query, optionally centred on a location within a radius.

ParameterTypeDescription
query *stringText query to search for places, for example a place name or category; must be a non-empty string.
locationobjectOptional centre point for the search, as an object with latitude and longitude in decimal degrees.
radiusnumberOptional search radius in metres around location; must be positive and is clamped to a maximum of 50000.

maps_place_details

Fetch detailed information about one place, including contact details, ratings, and opening hours.

ParameterTypeDescription
place_id *stringGoogle Maps place ID of the place to fetch details for; must be a non-empty string.

maps_distance_matrix

Calculate travel distances and durations between sets of origins and destinations.

ParameterTypeDescription
destinations *arrayNon-empty array of destination addresses or place strings to calculate distances and durations to.
origins *arrayNon-empty array of origin addresses or place strings to calculate distances and durations from.
modestringOptional travel mode for the calculations: one of 'driving', 'walking', 'bicycling', or 'transit'.

maps_elevation

Look up the elevation above sea level for one or more geographic coordinates.

ParameterTypeDescription
locations *arrayNon-empty array of geographic coordinates to look up elevation for, each as an object with latitude and longitude.

maps_directions

Get route directions between an origin and a destination, with steps, distance, and duration.

ParameterTypeDescription
destination *stringEnding address or place for the route; must be a non-empty string.
origin *stringStarting address or place for the route; must be a non-empty string.
modestringOptional travel mode for the route: one of 'driving', 'walking', 'bicycling', or 'transit'.