ForLab Geo API
Server Details
Countries, admin units, Turkey's official mahalle list, boundaries, timezones, postal codes, phones
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 13 tools
Each tool maps to a distinct geospatial operation: nearby places, nearby postal codes, point containment, place lookup, boundary retrieval, timezone, country listing, postal lookup, metadata, caller location, and phone validation. Specialized tools like get_country and get_place_boundary are clearly separated from their generic counterparts by their descriptions.
All names use snake_case and follow a verb_noun pattern (find_*, get_*, list_*, lookup_*, validate_*). The occasional adverb or preposition in find_nearby_places or find_places_at_point remains readable and consistent.
13 tools are well within a reasonable range for a read-only geo/reference API. Each tool covers a distinct lookup or validation need, and none appears redundant.
The surface covers core geospatial lookups, hierarchy, boundaries, postal codes, timezone, metadata, and phone validation. Minor gaps remain, such as no explicit timezone lookup by place or country and no postal-code boundary/details operation, but workarounds likely exist via point/place tools.
Available Tools
13 toolsfind_nearby_placesNearby placesARead-onlyIdempotentInspect
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. Needs an API key: the MCP client sends Authorization: Bearer <key>.
Inputs: lat (required), lon (required), lang, limit, +1 more.
find_nearby_postal_codesNearby postal codesARead-onlyIdempotentInspect
The 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>.
Inputs: lat (required), lon (required), limit, radius.
find_places_at_pointPoint in polygonARead-onlyIdempotentInspect
Every 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>.
Inputs: lat (required), lon (required).
get_caller_locationCaller locationARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
get_countryGet countryARead-onlyIdempotentInspect
One country: names, calling codes, currencies, languages, timezones, levels with coverage. Works without a key within a daily free quota.
Inputs: cc (required), lang.
get_metaDataset metadataARead-onlyIdempotentInspect
Dataset version, public tileset URLs, sources and licences. Works without a key within a daily free quota.
Inputs: no named parameters.
get_placeGet placeARead-onlyIdempotentInspect
One place with its path (ancestors, country first). Works without a key within a daily free quota.
Inputs: id (required), lang.
get_place_boundaryPlace boundaryARead-onlyIdempotentInspect
The 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>.
Inputs: id (required), detail.
get_timezoneTimezoneARead-onlyIdempotentInspect
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. Needs an API key: the MCP client sends Authorization: Bearer <key>.
Inputs: lat (required), lon (required).
list_countriesList countriesARead-onlyIdempotentInspect
All countries and dependencies with their profile. Works without a key within a daily free quota.
Inputs: lang.
list_placesChildren or searchARead-onlyIdempotentInspect
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.
Inputs: q, lang, limit, offset, +2 more.
lookup_postal_codePostal code lookupARead-onlyIdempotentInspect
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. Needs an API key: the MCP client sends Authorization: Bearer <key>.
Inputs: code (required), country (required), limit, offset.
validate_phone_numberPhone numberARead-onlyIdempotentInspect
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.
Inputs: number (required), country.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Administrative boundaries for every place on Earth: search, reverse lookup, polygons, areas.
Turkey data API for AI agents: 40 tools + search/call for 230+ endpoints. Addresses (provinces, districts, postal codes, boundaries), validation (IBAN, tax ID/VKN, TCKN, phone, barcode), tax and salary calculators, Official Gazette, exchange rates, gold, crypto, economic indicators, prayer times, holidays and business days, weather, air quality, earthquakes, dam levels, fuel prices, EV charging, power outages, tolls, pharmacies on duty, football standings. Turkish JSON, free plan.
US/Canada boundaries: cities, ZIPs, counties, districts, precincts. Lookups, crosswalks, GeoJSON.
Turkey & EU business data: validation, sanctions screening, parsing, FX and fuel price history
Related MCP Servers
- AlicenseAqualityCmaintenanceGeographic data (250+ countries, 150K+ cities), live exchange rates with 25 base currencies, and IP geolocation for AI assistants. Powered by ApogeoAPI.862 npm1MIT
- AlicenseAqualityCmaintenanceServes country facts, administrative boundary GeoJSON, and per-region population, area, and capital statistics as structured data, letting an AI assistant build interactive maps, comparisons, and multilingual geography content instead of reciting prose. It also normalises region names across sources so boundary shapes can be joined to their statistics.3MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to look up a sourced, versioned dataset covering every country in Arabic, English, or both: names, nationalities, capitals, currencies, languages, time zones, dial codes, phone validation, address formats, and ISO 3166-2 subdivisions. Supports country search with Arabic-aware normalization, phone parsing to E.164, nationality selection, and subdivision lookups.118 npm-
- AlicenseAqualityBmaintenanceProvides read-only access to Turkey's official Diyanet prayer timetable, letting agents fetch today's six prayer times, qibla angle and time, astronomical sunrise/sunset, and full-year tables with Gregorian and Hijri dates for any of the 81 provinces and their districts. It also lists provinces and districts and supports Turkish-insensitive place lookup across five languages.6PolyForm Noncommercial 1.0.0
Glama MCP Gateway
Add one secure layer between your agents and this server.