MapTiler MCP by usefulapi

v1.42.1
io.usefulapi/maptiler Checked 1 day ago Published 7 hours ago

Geocoding, elevation, IP geolocation and coordinate transforms from the MapTiler Cloud API.

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

maptiler_geocode Forward geocode (search place by name)

Search for a place, address, or POI by name and get matching locations as GeoJSON features. e.g. 'Zurich' or '1600 Pennsylvania Ave'. API: GET /geocoding/{query}.json.

ParameterTypeDescription
query *stringPlace/address/POI to search for (goes in the URL path).
autocompletebooleanTreat the last term as a prefix for as-you-type search.
bboxstringBounding box "west,south,east,north" to restrict results.
countrystringComma-separated ISO 3166-1 alpha-2 country codes to restrict to.
excludeTypesbooleanIf true, `types` becomes an exclude list instead.
fuzzyMatchbooleanAllow approximate matching of the query terms.
languagestringComma-separated ISO 639-1 language codes for results.
limitintegerMax results (1-10). Default 5.
proximitystringBias toward a point: "lon,lat" or the literal "ip".
typesstringComma-separated place types to include (e.g. address,poi,city).
worldviewstringDisputed-border worldview: default | auto | ch | us.

maptiler_reverse_geocode Reverse geocode (place at coordinates)

Find the place(s) at a given longitude/latitude, returned as GeoJSON features. API: GET /geocoding/{longitude},{latitude}.json.

ParameterTypeDescription
latitude *numberLatitude, -90..90.
longitude *numberLongitude, -180..180.
excludeTypesbooleanIf true, `types` becomes an exclude list instead.
languagestringComma-separated ISO 639-1 language codes for results.
limitintegerMax results (1-10). Default 1. A limit greater than 1 requires exactly one included place type in types.
typesstringComma-separated place types to include.
worldviewstringDisputed-border worldview: default | auto | ch | us.

maptiler_batch_geocode Batch forward geocode

Forward-geocode up to 50 queries in one request. Returns a JSON ARRAY of GeoJSON FeatureCollections, one per query, in order. API: GET /geocoding/{q1;q2;...}.json.

ParameterTypeDescription
queries *array1-50 place/address strings to geocode.
autocompletebooleanTreat the last term of each query as a prefix.
countrystringComma-separated ISO 3166-1 alpha-2 country codes to restrict to.
languagestringComma-separated ISO 639-1 language codes for results.
limitintegerMax results per query (1-10).
typesstringComma-separated place types to include.
worldviewstringDisputed-border worldview: default | auto | ch | us.

maptiler_geolocate_ip Geolocate IP address

Geolocates the IP address making the request — from a hosted Worker this is the server's egress IP, not the end-user's. API: GET /geolocation/ip.json.

ParameterTypeDescription
elevationbooleanInclude elevation of the located point.

maptiler_get_elevation Get elevation at coordinates

Look up ground elevation at up to 50 coordinates. Returns an array of [lng, lat, elevation] triples. API: GET /elevation/{locations}.json.

ParameterTypeDescription
locations *array1-50 [longitude, latitude] pairs (latitude -85..85).
unitstringElevation unit. Default meters.

maptiler_transform_coordinates Transform coordinates between CRS

Transform up to 50 coordinate pairs from a source coordinate reference system to a target one (EPSG codes). API: GET /coordinates/transform/{coordinates}.json.

ParameterTypeDescription
coordinates *array1-50 [x, y] coordinate pairs in the source CRS.
opsstringPipe-separated transformation operation codes to force a path.
s_srsintegerSource CRS / EPSG code. Default 4326 (WGS84).
t_srsintegerTarget CRS / EPSG code. Default 4326 (WGS84).

maptiler_search_coordinate_systems Search coordinate reference systems

Search MapTiler's CRS/EPSG database by free text or key:value filters (e.g. 'code:4326', 'kind:CRS-PROJCRS'). API: GET /coordinates/search/{query}.json.

ParameterTypeDescription
query *stringSearch terms; supports filters like "code:4326" or "kind:CRS-PROJCRS".
exportsbooleanInclude WKT / Proj4 export strings for each CRS.
limitintegerMax results (1-50). Default 10.
offsetintegerPagination offset. Default 0.
transformationsbooleanInclude available transformations for each CRS.

maptiler_get_data_features Get dataset features (GeoJSON)

Fetch the GeoJSON FeatureCollection of a MapTiler-hosted dataset by its data id. API: GET /data/{dataId}/features.json.

ParameterTypeDescription
dataId *stringMapTiler dataset id (from your MapTiler Cloud account).