UN SDG Geo Areas
unsdg.geo.countriesList UN SDG countries, territories, and regions with M49 codes, filter by name, and get geo area codes for location-based data queries.
Instructions
List all 460 countries, territories, and world regions available in the UN SDG database using UN M49 numeric codes. Includes individual countries (e.g. India = 356, USA = 840, Brazil = 76) as well as aggregate regions (e.g. Africa = 2, Asia = 142, Latin America = 419, Least Developed Countries = 199). Use these geo area codes with unsdg.data.query to filter data by location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional substring to filter country/region names (case-insensitive, e.g. "Africa", "Asia", "Latin"). If omitted, all 460 geo areas are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |