Geoboundaries

v0.2.1
io.github.pipeworx-io/geoboundaries Checked 38 minutes ago Published 29 days ago

geoBoundaries MCP — open database of political administrative boundaries.

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

get_boundaries

Get administrative boundary metadata for a country from geoBoundaries: unit count, year represented, source, license, and download URLs for full GeoJSON (gjDownloadURL), simplified GeoJSON (simplifiedGeometryGeoJSON), TopoJSON (tjDownloadURL) and a static zip. ISO3 is the 3-letter country code (USA, FRA, KEN, IND). ADM level: ADM0=country, ADM1=state/province, ADM2=county/district, ADM3/ADM4=finer, ALL=every level. Default product gbOpen is CC-BY.

ParameterTypeDescription
adm *stringAdmin level: ADM0=country, ADM1=state/province, ADM2=county/district, ADM3, ADM4, or ALL.
iso3 *stringISO-3166-1 alpha-3 country code, e.g. "USA", "FRA", "KEN".
productstringBoundary product. gbOpen (default, CC-BY) | gbHumanitarian | gbAuthoritative.

get_geometry

Fetch the actual simplified GeoJSON FeatureCollection geometry for a country/ADM level from geoBoundaries. WARNING: geometry payloads are large (a simplified national ADM1 set can be several MB); this only returns the simplified geometry and refuses payloads over ~4 MB — for those use get_boundaries and download the URL directly. Prefer get_boundaries unless you explicitly need the coordinates. Not valid for adm="ALL".

ParameterTypeDescription
adm *stringAdmin level (single level only; "ALL" is not supported here).
iso3 *stringISO-3166-1 alpha-3 country code, e.g. "FRA".
productstringBoundary product. gbOpen (default, CC-BY) | gbHumanitarian | gbAuthoritative.