Geocodio MCP by usefulapi

v1.2.1
io.usefulapi/geocodio Checked 2 days ago Published 12 hours ago

Geocode and reverse-geocode addresses, measure distances, and manage lists in Geocodio.

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

geocodio_geocode_address Geocode one address

Forward geocoding: turn one address into coordinates and standard address parts. Pass q, or the parts (street, city, state_province, postal_code). Geocodio REST: GET /geocode.

ParameterTypeDescription
citystringCity, when not using q.
countrystringCountry hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.
fieldsstringComma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.
limitintegerMax candidate matches (default 1).
postal_codestringPostal code, when not using q.
qstringThe full address as one string, e.g. '1109 N Highland St, Arlington VA'.
state_provincestringState or province, when not using q.
streetstringStreet line, when not using q.

geocodio_geocode_batch Geocode many addresses

Batch forward geocoding for up to 1000 addresses in one call. Geocodio REST: POST /geocode with a JSON array. Each address and each field is one lookup.

ParameterTypeDescription
addresses *arrayAddresses to geocode, one string each (up to 1000 per call).
countrystringCountry hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.
fieldsstringComma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.
limitintegerMax candidate matches per address.

geocodio_reverse_coordinates Reverse geocode one point

Reverse geocoding: turn one latitude and longitude into the nearest address. Geocodio REST: GET /reverse.

ParameterTypeDescription
lat *numberLatitude, e.g. 38.886672.
lng *numberLongitude, e.g. -77.094735.
fieldsstringComma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.

geocodio_reverse_batch Reverse geocode many points

Batch reverse geocoding for up to 1000 'lat,lng' strings in one call. Geocodio REST: POST /reverse with a JSON array.

ParameterTypeDescription
points *arrayCoordinates as 'lat,lng' strings.
fieldsstringComma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.

geocodio_parse_address Parse an address

Split one free-form address into its components (street, city, state, zip). Geocodio REST: GET /parse.

ParameterTypeDescription
q *stringThe address to parse.

geocodio_distance_from_origin Distances from one origin

Distance and drive time from one origin to up to many destinations. Addresses or 'lat,lng' strings work. Geocodio REST: GET /distance.

ParameterTypeDescription
destinations *arrayDestination addresses or 'lat,lng' strings.
origin *stringOrigin address or 'lat,lng'.
countrystringCountry hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.
max_resultsintegerMax destinations to return.
modestringDistance mode.
order_bystringSort key.
sort_orderstringSort direction.
unitsstringDistance units.

geocodio_distance_matrix Distance matrix

Distances between many origins and many destinations, or one-to-one pairs. Geocodio REST: POST /distance-matrix. Each origin-destination pair is one lookup.

ParameterTypeDescription
destinations *arrayDestination addresses or 'lat,lng' strings.
origins *arrayOrigin addresses or 'lat,lng' strings.
calculation_typestring'matrix' = every pair; 'pairs' = one-to-one.
max_resultsintegerMax results per origin.
modestringDistance mode.
unitsstringDistance units.

geocodio_list_spreadsheets List uploaded spreadsheets

Show the geocoding lists (uploaded spreadsheets) on the account, one page at a time. Geocodio REST: GET /lists. Needs a key with list access.

ParameterTypeDescription
pageintegerPage number (default 1).

geocodio_get_list_status Get list status

Show the processing status of one geocoding list (WAITING, PROCESSING, COMPLETED or FAILED). Geocodio REST: GET /lists/{id}.

ParameterTypeDescription
id *The list id.

geocodio_download_list_results Download list results

Download the results of a COMPLETED geocoding list as CSV text. Geocodio REST: GET /lists/{id}/download. Large lists can exceed the result cap.

ParameterTypeDescription
id *The list id.

geocodio_delete_list Delete a list

Delete one geocoding list and its results from the account. This cannot be undone. Geocodio REST: DELETE /lists/{id}.

ParameterTypeDescription
id *The list id.