mapport
v0.1.0Geocoding, 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.
| Parameter | Type | Description |
|---|---|---|
address * | string | Street address to convert into geographic coordinates; must be a non-empty string. |
maps_reverse_geocode
Convert geographic coordinates into the nearest human-readable address.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude in decimal degrees of the point to convert into an address. |
longitude * | number | Longitude 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text query to search for places, for example a place name or category; must be a non-empty string. |
location | object | Optional centre point for the search, as an object with latitude and longitude in decimal degrees. |
radius | number | Optional 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.
| Parameter | Type | Description |
|---|---|---|
place_id * | string | Google 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.
| Parameter | Type | Description |
|---|---|---|
destinations * | array | Non-empty array of destination addresses or place strings to calculate distances and durations to. |
origins * | array | Non-empty array of origin addresses or place strings to calculate distances and durations from. |
mode | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
locations * | array | Non-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.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Ending address or place for the route; must be a non-empty string. |
origin * | string | Starting address or place for the route; must be a non-empty string. |
mode | string | Optional travel mode for the route: one of 'driving', 'walking', 'bicycling', or 'transit'. |