
Boundaries and area polygons
Look up any administrative boundary in the world by name or coordinate and get its polygon as GeoJSON; browse what is inside a boundary, check which zone each point falls in, merge several boundaries into one shape, or describe an area in plain language (even a clause from a contract) and get one validated polygon back.
Example path
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.
5 in the ChatGPT listing