
Search countries, states, counties, cities and postal areas; retrieve boundary polygons; find the boundaries containing a point; combine regions into service areas; and export GeoJSON, KML, WKT, SVG or GML.
Describe a territory in plain language to build a validated polygon from real administrative boundaries. Public search and map previews work without an account.
https://geocodeai.dev/mcpGeocode AI. Boundaries and areas API for every place on Earth. Administrative boundaries come from OpenStreetMap and are cached, so repeat lookups are instant.
Workflow:
A named place (country, state, county, city, district, postcode): with the name (add the country or parent to disambiguate), pick the result whose admin level and parents match, then with its id for the polygon. Never guess an id.
A coordinate: returns every boundary containing it, country down to neighbourhood.
Everything inside a boundary (states of a country, counties of a state): with the parent's id.
Which zone each of many points falls in: (one batch, not one call per point).
Several boundaries as one shape: with their ids.
A described area that is not one named place ("the Bay Area minus San Francisco", a service area clause from a contract): with the text. It runs an AI agent for 30 s to a few minutes and costs 50 units, so use it only when search + get cannot answer.
None in the store listings or on the server