Geocoding, reverse geocoding, IP, timezone, elevation and postal code lookups.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Your My Geocode API key, free at https://www.mygeocode.com/signup. Hosted assistants such as claude.ai and ChatGPT need one. Clients that take only a URL can add ?key=YOUR_KEY to it.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Suggests places for text that is only partly typed, such as the start of an address. Use it to find candidates or to let a person pick; each suggestion has a place_id to pass to forward_geocode for the full result with components and bounds. q needs 2 to 128 characters. If you already have a complete address, use forward_geocode instead. Example: {"q":"1600 Pennsylvania","countries":["us"],"limit":5}.
What the user has typed so far, 2 to 128 characters.
Language of the answer as a two letter code such as en, de, fr, ja. Default en.
Most results to return, 1 to 10. Default 5.
Only these result types.
Box that results inside rank first. With strict true, results outside it are dropped.
With bounds: exclude results outside the box. Default false.
Only results in these countries: up to 10 two letter codes, for example ["gb","ie"].
A point; results near it rank first.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://mcp.mygeocode.com/mcp
Headers
X-API-Key (optional, not in the config above): Your My Geocode API key, free at https://www.mygeocode.com/signup. Hosted assistants such as claude.ai and ChatGPT need one. Clients that take only a URL can add ?key=YOUR_KEY to it.Suggests places for text that is only partly typed, such as the start of an address. Use it to find candidates or to let a person pick; each suggestion has a place_id to pass to forward_geocode for the full result with components and bounds. q needs 2 to 128 characters. If you already have a complete address, use forward_geocode instead. Example: {"q":"1600 Pennsylvania","countries":["us"],"limit":5}.
| Argument | Type | Description |
|---|---|---|
| q* | string | What the user has typed so far, 2 to 128 characters. |
| lang | string | Language of the answer as a two letter code such as en, de, fr, ja. Default en. |
| limit | integer | Most results to return, 1 to 10. Default 5. |
| types | array | Only these result types. |
| bounds | object | Box that results inside rank first. With strict true, results outside it are dropped. |
| strict | boolean | With bounds: exclude results outside the box. Default false. |
| countries | array | Only results in these countries: up to 10 two letter codes, for example ["gb","ie"]. |
| proximity | object | A point; results near it rank first. |
{
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"maxLength": 128,
"minLength": 2,
"description": "What the user has typed so far, 2 to 128 characters."
},
"lang": {
"type": "string",
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en."
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1,
"description": "Most results to return, 1 to 10. Default 5."
},
"types": {
"type": "array",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"description": "Only these result types."
},
"bounds": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge, longitude."
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge, longitude."
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge, latitude."
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge, latitude."
}
},
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"additionalProperties": false
},
"strict": {
"type": "boolean",
"description": "With bounds: exclude results outside the box. Default false."
},
"countries": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"maxItems": 10,
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"]."
},
"proximity": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "A point; results near it rank first.",
"additionalProperties": false
}
},
"additionalProperties": false
}Finish the account started with create_account: pass the same email and the 6-digit code the user read from the confirmation email. On success the answer holds the new API key, shown only once: tell the user to keep it, and use it as https://mcp.mygeocode.com/mcp?key=KEY or in the X-API-Key header. Five wrong codes lock the code; then call create_account again for a new one. The account has no password yet: the user signs in to the dashboard with "Forgot password" at https://www.mygeocode.com/forgot.
| Argument | Type | Description |
|---|---|---|
| code* | string | The 6-digit code from the email. |
| email* | string | The same email address given to create_account. |
{
"type": "object",
"required": [
"email",
"code"
],
"properties": {
"code": {
"type": "string",
"pattern": "^[0-9]{6}$",
"description": "The 6-digit code from the email."
},
"email": {
"type": "string",
"maxLength": 190,
"description": "The same email address given to create_account."
}
},
"additionalProperties": false
}Start a free My Geocode account for the user you work for, so that you can get an API key. Before calling this, ask the user to read and accept the terms (https://www.mygeocode.com/terms/) and the privacy policy (https://www.mygeocode.com/privacy/), and ask for the email address the account should use. Set accept_terms to true only after the user has said yes. The account gets 2,500 free requests a day. A 6-digit confirmation code is emailed to that address: ask the user to read it out of their inbox (check spam too), then call confirm_account with the same email and the code. The code works for about a day and for five tries. Use this only when you have no API key yet; with a key in the connection it is refused. Never invent an address or use one the user did not give you.
| Argument | Type | Description |
|---|---|---|
| email* | string | The user's own email address; the code is sent here. |
| accept_terms* | boolean | true only when the user has accepted https://www.mygeocode.com/terms/ and https://www.mygeocode.com/privacy/. |
{
"type": "object",
"required": [
"email",
"accept_terms"
],
"properties": {
"email": {
"type": "string",
"maxLength": 190,
"description": "The user's own email address; the code is sent here."
},
"accept_terms": {
"type": "boolean",
"description": "true only when the user has accepted https://www.mygeocode.com/terms/ and https://www.mygeocode.com/privacy/."
}
},
"additionalProperties": false
}Gives the height above mean sea level, in metres, at a point (negative below sea level); the data is a grid of about 464 m, so a peak or a building top reads lower than its true height. Send lat and lon for one point. For a profile send path (a list of points) with samples, or a grid with bounds, rows and cols (at most 100 points); the answer is then a results list. For a list of separate points use elevation_batch. Example: {"lat":27.9881,"lon":86.925}.
| Argument | Type | Description |
|---|---|---|
| lat | number | Latitude in degrees. |
| lon | number | Longitude in degrees. |
| cols | integer | Grid form: columns. |
| path | array | Path form: a line of points; samples evenly spaced points along it are answered (give samples). |
| rows | integer | Grid form: rows. rows times cols must be 100 or fewer. |
| bounds | object | Grid form: a rows by cols grid of points over this box, southern row first. |
| samples | integer | Number of points to sample along path, 2 to 100. |
{
"type": "object",
"required": [],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
},
"cols": {
"type": "integer",
"minimum": 2,
"description": "Grid form: columns."
},
"path": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "One point.",
"additionalProperties": false
},
"maxItems": 100,
"minItems": 2,
"description": "Path form: a line of points; samples evenly spaced points along it are answered (give samples)."
},
"rows": {
"type": "integer",
"minimum": 2,
"description": "Grid form: rows. rows times cols must be 100 or fewer."
},
"bounds": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge, longitude."
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge, longitude."
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge, latitude."
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge, latitude."
}
},
"description": "Grid form: a rows by cols grid of points over this box, southern row first.",
"additionalProperties": false
},
"samples": {
"type": "integer",
"maximum": 100,
"minimum": 2,
"description": "Number of points to sample along path, 2 to 100."
}
},
"additionalProperties": false
}Gives the height above mean sea level, in metres, at up to 100 separate points in one call; each point counts as one lookup. Same data as elevation (a grid of about 464 m). The answer has one entry per point, in input order. For a profile along a line or a grid over an area use elevation with path or bounds. Example: {"locations":[{"lat":27.9881,"lon":86.925},{"lat":46.8523,"lon":9.5309}]}.
| Argument | Type | Description |
|---|---|---|
| locations* | array | Points to look up, 1 to 100. |
{
"type": "object",
"required": [
"locations"
],
"properties": {
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "One point.",
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Points to look up, 1 to 100."
}
},
"additionalProperties": false
}Turns an address, place name, postal code or plus code into coordinates and a structured address. Use it when you have text and need a location. For several addresses at once use forward_geocode_batch; for a point you already have use reverse_geocode; for a partly typed query use autocomplete. Send q, or the structured fields (street, city, state, postcode, country), or a place_id from an earlier result. Coordinates are decimal degrees (WGS 84). Results are best first, each with confidence from 0 to 1 (below 0.5 is a guess) and precision (house, street, postcode, city, region or country). Optional blocks (timezone, elevation, sun and others) are added by their flags. Example: {"q":"Brandenburg Gate, Berlin","limit":1}.
| Argument | Type | Description |
|---|---|---|
| q | string | Free text: an address, place name, postal code, plus code or "lat,lon". Up to 256 characters. Send q, or the structured fields, or place_id. |
| sun | boolean | Add sunrise, sunset and twilight times. Default false. |
| city | string | Structured search: city. |
| lang | string | Language of the answer as a two letter code such as en, de, fr, ja. Default en. |
| road | boolean | Add the nearest road and junction. Default false. |
| site | boolean | Add Australian address site points. Default false. |
| codes | boolean | Add plus code, geohash, MGRS and other location codes. Default false. |
| limit | integer | Most results to return, 1 to 10. Default 5. |
| state | string | Structured search: state, province or region. |
| types | array | Only these result types. |
| bounds | object | Box that results inside rank first. With strict true, results outside it are dropped. |
| census | boolean | Add US census geography. Default false. |
| street | string | Structured search: street with house number. |
| strict | boolean | With bounds: exclude results outside the box. Default false. |
| country | string | Structured search: two letter country code. With q, it limits results to that country. |
| regions | boolean | Add NUTS and administrative regions. Default false. |
| place_id | string | A place_id from autocomplete or an earlier result. Overrides q and returns that place in full. |
| postcode | string | Structured search: postal code. |
| timezone | boolean | Add the timezone block to each result. Default false. |
| wikidata | boolean | Add the Wikidata id. Default false. |
| countries | array | Only results in these countries: up to 10 two letter codes, for example ["gb","ie"]. |
| districts | boolean | Add US legislative and school districts. Default false. |
| elevation | boolean | Add elevation_m to each result. Default false. |
| proximity | object | A point; results near it rank first. |
| annotations | boolean | Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false. |
| country_info | boolean | Add the country_info block. Default false. |
| demographics | boolean | Add US American Community Survey figures. Default false. |
{
"type": "object",
"required": [],
"properties": {
"q": {
"type": "string",
"maxLength": 256,
"description": "Free text: an address, place name, postal code, plus code or \"lat,lon\". Up to 256 characters. Send q, or the structured fields, or place_id."
},
"sun": {
"type": "boolean",
"description": "Add sunrise, sunset and twilight times. Default false."
},
"city": {
"type": "string",
"description": "Structured search: city."
},
"lang": {
"type": "string",
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en."
},
"road": {
"type": "boolean",
"description": "Add the nearest road and junction. Default false."
},
"site": {
"type": "boolean",
"description": "Add Australian address site points. Default false."
},
"codes": {
"type": "boolean",
"description": "Add plus code, geohash, MGRS and other location codes. Default false."
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1,
"description": "Most results to return, 1 to 10. Default 5."
},
"state": {
"type": "string",
"description": "Structured search: state, province or region."
},
"types": {
"type": "array",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"description": "Only these result types."
},
"bounds": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge, longitude."
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge, longitude."
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge, latitude."
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge, latitude."
}
},
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"additionalProperties": false
},
"census": {
"type": "boolean",
"description": "Add US census geography. Default false."
},
"street": {
"type": "string",
"description": "Structured search: street with house number."
},
"strict": {
"type": "boolean",
"description": "With bounds: exclude results outside the box. Default false."
},
"country": {
"type": "string",
"description": "Structured search: two letter country code. With q, it limits results to that country."
},
"regions": {
"type": "boolean",
"description": "Add NUTS and administrative regions. Default false."
},
"place_id": {
"type": "string",
"description": "A place_id from autocomplete or an earlier result. Overrides q and returns that place in full."
},
"postcode": {
"type": "string",
"description": "Structured search: postal code."
},
"timezone": {
"type": "boolean",
"description": "Add the timezone block to each result. Default false."
},
"wikidata": {
"type": "boolean",
"description": "Add the Wikidata id. Default false."
},
"countries": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"maxItems": 10,
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"]."
},
"districts": {
"type": "boolean",
"description": "Add US legislative and school districts. Default false."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to each result. Default false."
},
"proximity": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "A point; results near it rank first.",
"additionalProperties": false
},
"annotations": {
"type": "boolean",
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false."
},
"country_info": {
"type": "boolean",
"description": "Add the country_info block. Default false."
},
"demographics": {
"type": "boolean",
"description": "Add US American Community Survey figures. Default false."
}
},
"additionalProperties": false
}Geocodes up to 100 addresses or place names in one call; each counts as one lookup. Use it instead of calling forward_geocode in a loop. The options (limit, countries, bounds, lang, flags) apply to every query. The answer has one entry per query, in the order sent, each with its own results list (empty when nothing matched). Example: {"queries":["Eiffel Tower, Paris","Statue of Liberty, New York"],"limit":1}.
| Argument | Type | Description |
|---|---|---|
| sun | boolean | Add sunrise, sunset and twilight times. Default false. |
| lang | string | Language of the answer as a two letter code such as en, de, fr, ja. Default en. |
| road | boolean | Add the nearest road and junction. Default false. |
| site | boolean | Add Australian address site points. Default false. |
| codes | boolean | Add plus code, geohash, MGRS and other location codes. Default false. |
| limit | integer | Most results to return, 1 to 10. Default 5. |
| types | array | Only these result types. |
| bounds | object | Box that results inside rank first. With strict true, results outside it are dropped. |
| census | boolean | Add US census geography. Default false. |
| strict | boolean | With bounds: exclude results outside the box. Default false. |
| queries* | array | Addresses or place names, 1 to 100. Each counts as one lookup. |
| regions | boolean | Add NUTS and administrative regions. Default false. |
| timezone | boolean | Add the timezone block to each result. Default false. |
| wikidata | boolean | Add the Wikidata id. Default false. |
| countries | array | Only results in these countries: up to 10 two letter codes, for example ["gb","ie"]. |
| districts | boolean | Add US legislative and school districts. Default false. |
| elevation | boolean | Add elevation_m to each result. Default false. |
| proximity | object | A point; results near it rank first. |
| annotations | boolean | Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false. |
| country_info | boolean | Add the country_info block. Default false. |
| demographics | boolean | Add US American Community Survey figures. Default false. |
{
"type": "object",
"required": [
"queries"
],
"properties": {
"sun": {
"type": "boolean",
"description": "Add sunrise, sunset and twilight times. Default false."
},
"lang": {
"type": "string",
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en."
},
"road": {
"type": "boolean",
"description": "Add the nearest road and junction. Default false."
},
"site": {
"type": "boolean",
"description": "Add Australian address site points. Default false."
},
"codes": {
"type": "boolean",
"description": "Add plus code, geohash, MGRS and other location codes. Default false."
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1,
"description": "Most results to return, 1 to 10. Default 5."
},
"types": {
"type": "array",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"description": "Only these result types."
},
"bounds": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge, longitude."
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge, longitude."
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge, latitude."
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge, latitude."
}
},
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"additionalProperties": false
},
"census": {
"type": "boolean",
"description": "Add US census geography. Default false."
},
"strict": {
"type": "boolean",
"description": "With bounds: exclude results outside the box. Default false."
},
"queries": {
"type": "array",
"items": {
"type": "string",
"maxLength": 256
},
"maxItems": 100,
"minItems": 1,
"description": "Addresses or place names, 1 to 100. Each counts as one lookup."
},
"regions": {
"type": "boolean",
"description": "Add NUTS and administrative regions. Default false."
},
"timezone": {
"type": "boolean",
"description": "Add the timezone block to each result. Default false."
},
"wikidata": {
"type": "boolean",
"description": "Add the Wikidata id. Default false."
},
"countries": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"maxItems": 10,
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"]."
},
"districts": {
"type": "boolean",
"description": "Add US legislative and school districts. Default false."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to each result. Default false."
},
"proximity": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "A point; results near it rank first.",
"additionalProperties": false
},
"annotations": {
"type": "boolean",
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false."
},
"country_info": {
"type": "boolean",
"description": "Add the country_info block. Default false."
},
"demographics": {
"type": "boolean",
"description": "Add US American Community Survey figures. Default false."
}
},
"additionalProperties": false
}Looks up one IPv4 or IPv6 address: country, region, city, coordinates, time zone, network (ASN, organisation, usage type), and flags for proxy, VPN, Tor, datacenter and anycast. Use it to place or classify an address you were given. You must pass the address; the server cannot look up the address of the person you are talking to. Coordinates are approximate, usually city level. For up to 100 addresses use ip_lookup_batch. Private and reserved addresses answer is_private true. Example: {"ip":"8.8.8.8"}.
| Argument | Type | Description |
|---|---|---|
| ip* | string | An IPv4 or IPv6 address, for example 8.8.8.8 or 2606:4700:4700::1111. |
| elevation | boolean | Add elevation_m to the answer. Default false. |
{
"type": "object",
"required": [
"ip"
],
"properties": {
"ip": {
"type": "string",
"description": "An IPv4 or IPv6 address, for example 8.8.8.8 or 2606:4700:4700::1111."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to the answer. Default false."
}
},
"additionalProperties": false
}Looks up up to 100 IPv4 or IPv6 addresses in one call; each counts as one lookup. Same fields as ip_lookup, one entry per address in the order sent. An address that cannot be read gets an entry with status error instead of failing the whole call. Example: {"ips":["8.8.8.8","1.1.1.1","2001:4860:4860::8888"]}.
| Argument | Type | Description |
|---|---|---|
| ips* | array | IPv4 or IPv6 addresses, 1 to 100. |
| elevation | boolean | Add elevation_m to the answer. Default false. |
{
"type": "object",
"required": [
"ips"
],
"properties": {
"ips": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"description": "IPv4 or IPv6 addresses, 1 to 100."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to the answer. Default false."
}
},
"additionalProperties": false
}Finds the places a postal code covers, with the centre point of each, its region and country. Use it when you have only a postal code. Spaces, hyphens and case do not matter. Pass country (two letter code) whenever you know it: the same code can exist in several countries. Results are empty when the code is unknown. Example: {"code":"10001","country":"US"}.
| Argument | Type | Description |
|---|---|---|
| code* | string | The postal code, for example 10001 or "75008". |
| country | string | Two letter country code. Strongly recommended. |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 16,
"minLength": 1,
"description": "The postal code, for example 10001 or \"75008\"."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "Two letter country code. Strongly recommended."
}
},
"additionalProperties": false
}Turns a latitude and longitude into the address or place there. Use it when you have a point and need the street address, city, region or country. For many points use reverse_geocode_batch. level picks the most specific kind of answer (address, street, postcode, city, region, country); radius is in metres, 1 to 5000. The result is null when nothing is within the radius at that level; try a larger radius or a coarser level. distance_m in the result is metres from your point. Example: {"lat":48.8584,"lon":2.2945}.
| Argument | Type | Description |
|---|---|---|
| lat* | number | Latitude in degrees. |
| lon* | number | Longitude in degrees. |
| sun | boolean | Add sunrise, sunset and twilight times. Default false. |
| lang | string | Language of the answer as a two letter code such as en, de, fr, ja. Default en. |
| road | boolean | Add the nearest road and junction. Default false. |
| site | boolean | Add Australian address site points. Default false. |
| codes | boolean | Add plus code, geohash, MGRS and other location codes. Default false. |
| level | string | The most specific level to return. Default address. |
| census | boolean | Add US census geography. Default false. |
| radius | integer | Search radius in metres for addresses and streets, 1 to 5000. Default 5000. |
| regions | boolean | Add NUTS and administrative regions. Default false. |
| timezone | boolean | Add the timezone block to each result. Default false. |
| wikidata | boolean | Add the Wikidata id. Default false. |
| districts | boolean | Add US legislative and school districts. Default false. |
| elevation | boolean | Add elevation_m to each result. Default false. |
| boundaries | boolean | Add every Australian boundary the point falls in (Australia only). Default false. |
| annotations | boolean | Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false. |
| country_info | boolean | Add the country_info block. Default false. |
| demographics | boolean | Add US American Community Survey figures. Default false. |
{
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
},
"sun": {
"type": "boolean",
"description": "Add sunrise, sunset and twilight times. Default false."
},
"lang": {
"type": "string",
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en."
},
"road": {
"type": "boolean",
"description": "Add the nearest road and junction. Default false."
},
"site": {
"type": "boolean",
"description": "Add Australian address site points. Default false."
},
"codes": {
"type": "boolean",
"description": "Add plus code, geohash, MGRS and other location codes. Default false."
},
"level": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country"
],
"type": "string",
"default": "address",
"description": "The most specific level to return. Default address."
},
"census": {
"type": "boolean",
"description": "Add US census geography. Default false."
},
"radius": {
"type": "integer",
"default": 5000,
"maximum": 5000,
"minimum": 1,
"description": "Search radius in metres for addresses and streets, 1 to 5000. Default 5000."
},
"regions": {
"type": "boolean",
"description": "Add NUTS and administrative regions. Default false."
},
"timezone": {
"type": "boolean",
"description": "Add the timezone block to each result. Default false."
},
"wikidata": {
"type": "boolean",
"description": "Add the Wikidata id. Default false."
},
"districts": {
"type": "boolean",
"description": "Add US legislative and school districts. Default false."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to each result. Default false."
},
"boundaries": {
"type": "boolean",
"description": "Add every Australian boundary the point falls in (Australia only). Default false."
},
"annotations": {
"type": "boolean",
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false."
},
"country_info": {
"type": "boolean",
"description": "Add the country_info block. Default false."
},
"demographics": {
"type": "boolean",
"description": "Add US American Community Survey figures. Default false."
}
},
"additionalProperties": false
}Reverse geocodes up to 100 points in one call; each counts as one lookup. Use it instead of calling reverse_geocode in a loop. level, radius (metres), lang and the flags apply to every point. The answer has one entry per point, in the order sent; an entry's result is null when nothing was found. Example: {"coords":[{"lat":48.8584,"lon":2.2945},{"lat":40.6892,"lon":-74.0445}]}.
| Argument | Type | Description |
|---|---|---|
| sun | boolean | Add sunrise, sunset and twilight times. Default false. |
| lang | string | Language of the answer as a two letter code such as en, de, fr, ja. Default en. |
| road | boolean | Add the nearest road and junction. Default false. |
| site | boolean | Add Australian address site points. Default false. |
| codes | boolean | Add plus code, geohash, MGRS and other location codes. Default false. |
| level | string | The most specific level to return. Default address. |
| census | boolean | Add US census geography. Default false. |
| coords* | array | Points to look up, 1 to 100. |
| radius | integer | Search radius in metres for addresses and streets, 1 to 5000. Default 5000. |
| regions | boolean | Add NUTS and administrative regions. Default false. |
| timezone | boolean | Add the timezone block to each result. Default false. |
| wikidata | boolean | Add the Wikidata id. Default false. |
| districts | boolean | Add US legislative and school districts. Default false. |
| elevation | boolean | Add elevation_m to each result. Default false. |
| boundaries | boolean | Add every Australian boundary the point falls in (Australia only). Default false. |
| annotations | boolean | Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false. |
| country_info | boolean | Add the country_info block. Default false. |
| demographics | boolean | Add US American Community Survey figures. Default false. |
{
"type": "object",
"required": [
"coords"
],
"properties": {
"sun": {
"type": "boolean",
"description": "Add sunrise, sunset and twilight times. Default false."
},
"lang": {
"type": "string",
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en."
},
"road": {
"type": "boolean",
"description": "Add the nearest road and junction. Default false."
},
"site": {
"type": "boolean",
"description": "Add Australian address site points. Default false."
},
"codes": {
"type": "boolean",
"description": "Add plus code, geohash, MGRS and other location codes. Default false."
},
"level": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country"
],
"type": "string",
"default": "address",
"description": "The most specific level to return. Default address."
},
"census": {
"type": "boolean",
"description": "Add US census geography. Default false."
},
"coords": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "One point.",
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Points to look up, 1 to 100."
},
"radius": {
"type": "integer",
"default": 5000,
"maximum": 5000,
"minimum": 1,
"description": "Search radius in metres for addresses and streets, 1 to 5000. Default 5000."
},
"regions": {
"type": "boolean",
"description": "Add NUTS and administrative regions. Default false."
},
"timezone": {
"type": "boolean",
"description": "Add the timezone block to each result. Default false."
},
"wikidata": {
"type": "boolean",
"description": "Add the Wikidata id. Default false."
},
"districts": {
"type": "boolean",
"description": "Add US legislative and school districts. Default false."
},
"elevation": {
"type": "boolean",
"description": "Add elevation_m to each result. Default false."
},
"boundaries": {
"type": "boolean",
"description": "Add every Australian boundary the point falls in (Australia only). Default false."
},
"annotations": {
"type": "boolean",
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false."
},
"country_info": {
"type": "boolean",
"description": "Add the country_info block. Default false."
},
"demographics": {
"type": "boolean",
"description": "Add US American Community Survey figures. Default false."
}
},
"additionalProperties": false
}Gives the time zone at a point, or the details of a zone by its id: IANA name, abbreviation, offset from UTC, whether daylight saving is in effect, local time, the next offset change within two years, and the matching Windows zone id. Send lat and lon, or tz (an IANA id such as Europe/Paris). timestamp (Unix seconds) answers for another moment than now. Points at sea answer an Etc/GMT zone with is_ocean true. For many points use timezone_batch. Example: {"lat":35.6762,"lon":139.6503}.
| Argument | Type | Description |
|---|---|---|
| tz | string | Instead of coordinates: an IANA zone id such as Europe/Paris (a Windows id is accepted too). |
| lat | number | Latitude in degrees. |
| lon | number | Longitude in degrees. |
| language | string | Language for the zone name, such as de or pt-BR. Default English. |
| timestamp | integer | Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now. |
{
"type": "object",
"required": [],
"properties": {
"tz": {
"type": "string",
"description": "Instead of coordinates: an IANA zone id such as Europe/Paris (a Windows id is accepted too)."
},
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
},
"language": {
"type": "string",
"description": "Language for the zone name, such as de or pt-BR. Default English."
},
"timestamp": {
"type": "integer",
"maximum": 4102444800,
"minimum": -2208988800,
"description": "Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now."
}
},
"additionalProperties": false
}Gives the time zone at up to 100 points in one call; each point counts as one lookup. Send locations (a list of points), or path with samples, or a grid (bounds, rows, cols). The answer has one entry per point, in input order, with the same fields as timezone. timestamp (Unix seconds) answers for another moment than now. Example: {"locations":[{"lat":35.6762,"lon":139.6503},{"lat":48.8584,"lon":2.2945}]}.
| Argument | Type | Description |
|---|---|---|
| cols | integer | Grid form: columns. |
| path | array | Path form: a line of points; samples evenly spaced points along it are answered (give samples). |
| rows | integer | Grid form: rows. rows times cols must be 100 or fewer. |
| bounds | object | Grid form: a rows by cols grid of points over this box, southern row first. |
| samples | integer | Number of points to sample along path, 2 to 100. |
| language | string | Language for the zone name, such as de or pt-BR. Default English. |
| locations | array | Points to look up, 1 to 100. |
| timestamp | integer | Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now. |
{
"type": "object",
"required": [],
"properties": {
"cols": {
"type": "integer",
"minimum": 2,
"description": "Grid form: columns."
},
"path": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "One point.",
"additionalProperties": false
},
"maxItems": 100,
"minItems": 2,
"description": "Path form: a line of points; samples evenly spaced points along it are answered (give samples)."
},
"rows": {
"type": "integer",
"minimum": 2,
"description": "Grid form: rows. rows times cols must be 100 or fewer."
},
"bounds": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge, longitude."
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge, longitude."
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge, latitude."
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge, latitude."
}
},
"description": "Grid form: a rows by cols grid of points over this box, southern row first.",
"additionalProperties": false
},
"samples": {
"type": "integer",
"maximum": 100,
"minimum": 2,
"description": "Number of points to sample along path, 2 to 100."
},
"language": {
"type": "string",
"description": "Language for the zone name, such as de or pt-BR. Default English."
},
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
}
},
"description": "One point.",
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Points to look up, 1 to 100."
},
"timestamp": {
"type": "integer",
"maximum": 4102444800,
"minimum": -2208988800,
"description": "Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.