Search / io.forlab/geo
ForLab Geo API
R0· no sign-inCountries, admin units, Turkey's official mahalle list, boundaries, timezones, postal codes, phones
v1.0.2 · active · website · descriptor JSON · versions
Search / io.forlab/geo
R0· no sign-inCountries, admin units, Turkey's official mahalle list, boundaries, timezones, postal codes, phones
v1.0.2 · active · website · descriptor JSON · versions
{
"mcpServers": {
"geo": {
"type": "http",
"url": "https://api.forlab.io/geo/mcp",
"headers": {
"Authorization": "Bearer ${api_key}"
}
}
}
}claude mcp add --transport http geo https://api.forlab.io/geo/mcp --header "Authorization: Bearer ${api_key}"[mcp_servers.geo]
url = "https://api.forlab.io/geo/mcp"
bearer_token_env_var = "api_key"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"geo": {
"type": "remote",
"url": "https://api.forlab.io/geo/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer {env:api_key}"
}
}
}
}{
"mcpServers": {
"geo": {
"type": "http",
"url": "https://api.forlab.io/geo/mcp",
"headers": {
"Authorization": "Bearer ${api_key}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=geo&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLmZvcmxhYi5pby9nZW8vbWNwIiwiaGVhZGVycyI6eyJBdXRob3JpemF0aW9uIjoiQmVhcmVyICR7YXBpX2tleX0ifX0%3D"
}{
"servers": {
"geo": {
"type": "http",
"url": "https://api.forlab.io/geo/mcp",
"headers": {
"Authorization": "Bearer ${api_key}"
}
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22geo%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.forlab.io%2Fgeo%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20%24%7Bapi_key%7D%22%7D%7D"
}{
"mcpServers": {
"geo": {
"httpUrl": "https://api.forlab.io/geo/mcp",
"headers": {
"Authorization": "Bearer ${api_key}"
}
}
}
}extensions:
"geo":
enabled: true
name: "geo"
type: streamable_http
uri: "https://api.forlab.io/geo/mcp"
headers:
"Authorization": "Bearer ${api_key}"
timeout: 300
Placeholders to fill from your own secret store: ${api_key}. The registry never accepts secret values.
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changesstability.rug_pullstability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvablefind_nearby_postal_codeschangeddescriptionThe postal codes nearest to a point (GeoNames), nearest first, with distance in km. 503 NOT_READY on a dataset built before the feature. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
The postal codes nearest to a point (GeoNames), nearest first, with distance in km. 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network).
lookup_postal_codechangeddescriptionThe places of a postal code (GeoNames); case, spaces and hyphens in the code are ignored. `partial` is true for the countries GeoNames gives only in part (CA, NL, GB: first part; CL, CN, AR: first digits; IE, MT: first letters; BR: major codes). 503 NOT_READY on a dataset built before the feature. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
The places of a postal code (GeoNames); case, spaces and hyphens in the code are ignored. `partial` is true for the countries GeoNames gives only in part (CA, NL, GB: first part; CL, CN, AR: first digits; IE, MT: first letters; BR: major codes). 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network).
find_nearby_placeschangeddescriptionThe nearest populated places (GeoNames cities500: 500 inhabitants or more, or a seat of government) with distance in km, population and path, nearest first. 503 NOT_READY on a dataset built before the feature. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
The nearest populated places (GeoNames cities500: 500 inhabitants or more, or a seat of government) with distance in km, population and path, nearest first. 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network).
get_timezonechangeddescriptionIANA timezone of a point (timezone-boundary-builder polygons: land and territorial waters) with the current UTC offset, DST flag and local time; match is none on the open sea. `dst` is true when the zone's clocks are advanced at that instant: its offset is the larger of the two it shows in that year (1 January and 1 July); a zone with one offset all year is never DST (Morocco: +01:00 and the +00:00 of Ramadan are both `dst: false`). When zones share an edge or overlap, `ambiguous` is true, `timezone` and the other fields are the first zone by name and `candidates` lists all of them (each with its own offset, dst and local time). 503 NOT_READY on a dataset built before the feature. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
IANA timezone of a point (timezone-boundary-builder polygons: land and territorial waters) with the current UTC offset, DST flag and local time; match is none on the open sea. `dst` is true when the zone's clocks are advanced at that instant: its offset is the larger of the two it shows in that year (1 January and 1 July); a zone with one offset all year is never DST (Morocco: +01:00 and the +00:00 of Ramadan are both `dst: false`). When zones share an edge or overlap, `ambiguous` is true, `timezone` and the other fields are the first zone by name and `candidates` lists all of them (each with its own offset, dst and local time). 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network).
find_places_at_pointchangeddescriptionmeaning changedEvery unit whose land contains the point (country, region, county; in Turkey also mahalle), most general first; match is none at sea or outside the loaded countries. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
Every unit whose land contains the point (country, region, county; in Turkey also mahalle, in Italy the comune, in Britain the ward, in France the commune, in Germany the Gemeinde, in the United States the county subdivision where a boundary is available), most general first; match is none at sea or outside the loaded countries. Works without a key within a smaller daily free quota (100 calls per network).
get_place_boundarychangeddescriptionThe boundary as one GeoJSON Feature (application/geo+json, not wrapped in `data`), ready for MapLibre. properties: id, name, detail, dataset_version, attribution. Sent gzip-compressed when the client accepts gzip. A reply over 200 KB, or detail=full, is not inlined: the result is its REST URL and size, to download outside the chat. Needs an API key: the MCP client sends `Authorization: Bearer <key>`.
The boundary as one GeoJSON Feature (application/geo+json, not wrapped in `data`), ready for MapLibre. properties: id, name, detail, dataset_version, attribution (an Italian comune's or a British ward's: its official list and boundary credit). Sent gzip-compressed when the client accepts gzip. A reply over 200 KB, or detail=full, is not inlined: the result is its REST URL and size, to download outside the chat. Works without a key within a smaller daily free quota (100 calls per network).
get_placechangeddescriptionOne place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards, France's INSEE communes, Germany's Destatis Gemeinden) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code, INSEE commune code, AGS), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Works without a key within a daily free quota.
One place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards, France's INSEE communes, Germany's Destatis Gemeinden, the U.S. Census Bureau's county subdivisions) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code, INSEE commune code, AGS, ANSICODE), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Such a unit also has its official boundary, a point on it (lat, lon) and its official `population` with `population_year` (ISTAT's 1 January count; a ward's mid-year estimate, Northern Ireland's Census 2021; INSEE municipal population; Destatis population; Census ACS five-year estimates) where the build had them. Works without a key within a daily free quota.
get_placechangeddescriptionno new versionOne place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Works without a key within a daily free quota.
One place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards, France's INSEE communes, Germany's Destatis Gemeinden) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code, INSEE commune code, AGS), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Works without a key within a daily free quota.
get_placechangeddescriptionmeaning changedno new versionOne place with its path (ancestors, country first). Works without a key within a daily free quota.
One place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Works without a key within a daily free quota.
find_nearby_postal_codeschangedinput schemaShowing the latest 10. Full history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+dns-namespace +website +reachable +uptime-87% +updated-4d-ago -no-repository
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://api.forlab.io/geo/mcp streamable-http | none | yes | 87% | 444 ms | 5626 ms | 2026-07-28 | 2026-11-29 |
find_nearby_placesread-only | The nearest populated places (GeoNames cities500: 500 inhabitants or more, or a seat of government) with distance in km, population and path, nearest first. 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network). |
find_nearby_postal_codesread-only | The postal codes nearest to a point (GeoNames), nearest first, with distance in km. 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network). |
find_places_at_pointread-only | Every unit whose land contains the point (country, region, county; in Turkey also mahalle, in Italy the comune, in Britain the ward, in France the commune, in Germany the Gemeinde, in the United States the county subdivision where a boundary is available), most general first; match is none at sea or outside the loaded countries. Works without a key within a smaller daily free quota (100 calls per network). |
get_caller_locationread-only | The caller's own location, from Cloudflare's IP geolocation (edge only: the Worker at api.forlab.io/geo answers it, the Python service does not). Only the address the request comes from is looked up, never one you send. The location is approximate, city level at best, and a value Cloudflare does not know is null. `country` is the country's place in this dataset (same shape as /v1/contains), null when the dataset lacks it. Replies carry `Cache-Control: private, no-store`. Works without a key within a daily free quota. |
get_countryread-only | One country: names, calling codes, currencies, languages, timezones, levels with coverage. Works without a key within a daily free quota. |
get_metaread-only | Dataset version, public tileset URLs, sources and licences. Works without a key within a daily free quota. |
get_placeread-only | One place with its path (ancestors, country first). A level-3 unit of an official list (Italy's ISTAT comuni, Britain's ONS wards, France's INSEE communes, Germany's Destatis Gemeinden, the U.S. Census Bureau's county subdivisions) also has `official`: `{scheme, code, release, district}`, its list, its code in it (Codice Catastale, ward code, INSEE commune code, AGS, ANSICODE), the list's edition and, for a ward, its local authority district name; the key is absent on every other place. Such a unit also has its official boundary, a point on it (lat, lon) and its official `population` with `population_year` (ISTAT's 1 January count; a ward's mid-year estimate, Northern Ireland's Census 2021; INSEE municipal population; Destatis population; Census ACS five-year estimates) where the build had them. Works without a key within a daily free quota. |
get_place_boundaryread-only | The boundary as one GeoJSON Feature (application/geo+json, not wrapped in `data`), ready for MapLibre. properties: id, name, detail, dataset_version, attribution (an Italian comune's or a British ward's: its official list and boundary credit). Sent gzip-compressed when the client accepts gzip. A reply over 200 KB, or detail=full, is not inlined: the result is its REST URL and size, to download outside the chat. Works without a key within a smaller daily free quota (100 calls per network). |
get_timezoneread-only | IANA timezone of a point (timezone-boundary-builder polygons: land and territorial waters) with the current UTC offset, DST flag and local time; match is none on the open sea. `dst` is true when the zone's clocks are advanced at that instant: its offset is the larger of the two it shows in that year (1 January and 1 July); a zone with one offset all year is never DST (Morocco: +01:00 and the +00:00 of Ramadan are both `dst: false`). When zones share an edge or overlap, `ambiguous` is true, `timezone` and the other fields are the first zone by name and `candidates` lists all of them (each with its own offset, dst and local time). 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network). |
list_countriesread-only | All countries and dependencies with their profile. Works without a key within a daily free quota. |
list_placesread-only | Children of a place (`parent`) or a name prefix search (`q`); exactly one of the two. Works without a key within a daily free quota. |
lookup_postal_coderead-only | The places of a postal code (GeoNames); case, spaces and hyphens in the code are ignored. `partial` is true for the countries GeoNames gives only in part (CA, NL, GB: first part; CL, CN, AR: first digits; IE, MT: first letters; BR: major codes). 503 NOT_READY on a dataset built before the feature. Works without a key within a smaller daily free quota (100 calls per network). |
validate_phone_numberread-only | Validate and format a phone number. A valid number also has `e164`, `national`, `international`, `country`, `type` and, from libphonenumber's numbering-plan data in English: `carrier`, the operator the number range was first allocated to (numbering-plan data, not a live HLR lookup: a ported number may now be with another operator; null for landlines and where unknown); `timezones`, IANA zone ids ([] when unknown; a number with no geographic tie, such as most mobiles, gets its country's zones); `location`, the area of a geographic number (a city or region, e.g. "San Francisco, CA"), else the country, null when unknown. An invalid number has only `valid` and `possible`; one that does not parse, `valid` and `reason`. Works without a key within a daily free quota. |
Schemas: list_tools.
{
"name": "io.forlab/geo",
"icons": [
{
"src": "https://forlab.io/icon.png",
"sizes": [
"512x512"
],
"mimeType": "image/png"
}
],
"title": "ForLab Geo API",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://api.forlab.io/geo/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"value": "Bearer {api_key}",
"isSecret": true,
"variables": {
"api_key": {
"isSecret": true,
"isRequired": true,
"description": "Your Geo API key"
}
},
"description": "Optional. Without it every tool works within a daily free quota (a smaller one for the heavy tools); a key lifts the quota."
}
]
}
],
"version": "1.0.2",
"websiteUrl": "https://api.forlab.io/docs",
"description": "Countries, admin units, Turkey's official mahalle list, boundaries, timezones, postal codes, phones"
}