Airports (Unofficial)
v0.2.2Unofficial Airports MCP — wraps AirportGap API (free, no auth required), plus a D1 copy of the…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_airports
Look up an airport by city name (e.g. "Tokyo", "New York", "London") OR by 3-letter IATA code (e.g. "JFK", "LHR"). City lookup uses a bundled map of the top ~150 international hubs; cities with multiple airports return all primary ones. For airports not in the bundle, pass an IATA code or use the aviationstack pack for full-text name/country search.
| Parameter | Type | Description |
|---|---|---|
query * | string | City name (e.g. "Chicago", "London") or 3-letter IATA code (e.g. "ORD") |
get_airport
Get airport details by IATA code (e.g., "JFK", "LHR"). Returns name, city, country, coordinates, altitude, timezone.
| Parameter | Type | Description |
|---|---|---|
iata_code * | string | Three-letter IATA airport code (e.g. "JFK") |
calculate_distance
Calculate straight-line distance between two airports by IATA code (e.g., "JFK" to "LHR"). Returns kilometers and miles.
| Parameter | Type | Description |
|---|---|---|
from * | string | IATA code of the origin airport (e.g. "JFK") |
to * | string | IATA code of the destination airport (e.g. "LHR") |
ourairports_lookup
Look up ANY airfield in the OurAirports bulk dataset (~86,000 rows: every ICAO/IATA/local-code airport, heliport, seaplane base and balloonport OurAirports tracks, including fields with no IATA code at all). Pass ANY of: an ICAO code ("KJFK", "EGLL"), an IATA code ("JFK"), a GPS code, or OurAirports' own local/national ident (e.g. a US local code like "00A", or a non-US ident like "AT-0001"). Returns name, type (large_airport/medium_airport/small_airport/heliport/seaplane_base/balloonport/closed), coordinates, elevation, country/region, and whether it has scheduled airline service. This is the…
| Parameter | Type | Description |
|---|---|---|
code * | string | ICAO code ("KJFK"), IATA code ("JFK"), GPS code, or OurAirports local ident (e.g. "00A"). |
airport_runways
Runway details for one airfield from the OurAirports dataset: for each runway, length and width in feet, surface type, whether it is lighted, whether it is closed, and both ends' ident/coordinates/elevation/heading/displaced threshold. Pass any code ourairports_lookup accepts (ICAO, IATA, GPS or local ident). An airfield with no fixed-wing runways on file (e.g. most heliports) returns an empty runways array with found:true, not an error. An unrecognized airfield code is refused with a clear error, never an empty success.
| Parameter | Type | Description |
|---|---|---|
code * | string | ICAO/IATA/GPS/local code, e.g. "KJFK" or "JFK". |
airport_frequencies
Radio frequencies for one airfield from the OurAirports dataset: type (ATIS/TWR/GND/CLD/DIR/APP/DEP/CTAF/UNICOM/...), a human description, and the frequency in MHz. Pass any code ourairports_lookup accepts. An airfield with no frequencies on file returns an empty list with found:true, not an error. An unrecognized airfield code is refused with a clear error, never an empty success.
| Parameter | Type | Description |
|---|---|---|
code * | string | ICAO/IATA/GPS/local code, e.g. "EGLL" or "LHR". |
ourairports_search
Search the OurAirports dataset (~86,000 airfields) by a text match against name, municipality or ident, optionally narrowed by ISO country code (e.g. "US", "GB") and/or airfield type ("large_airport", "medium_airport", "small_airport", "heliport", "seaplane_base", "balloonport", "closed"). Results default to airfields with scheduled airline service first. Use this to find airfields by partial name/city when you do not already have a code -- ourairports_lookup requires an exact code. Rows beyond `limit` are reported via truncated/total_matching rather than silently dropped -- narrow the query o…
| Parameter | Type | Description |
|---|---|---|
country | string | Optional: ISO 3166-1 alpha-2 country code, e.g. "US", "GB", "FR". |
limit | number | Max rows to return, 1-100. Default 20. A truncated response carries truncated:true and total_matching. |
offset | number | Pagination offset. Default 0. |
query | string | Text to match against name, municipality or ident, e.g. "Heathrow" or "Bensalem". |
type | string | Optional: airfield type, e.g. "heliport", "small_airport", "large_airport". |