get_airport

Pack: airports · Endpoint: https://gateway.pipeworx.io/airports/mcp

Get airport details by IATA code (e.g., “JFK”, “LHR”). Returns name, city, country, coordinates, altitude, timezone.

Parameters

NameTypeRequiredDescription
iata_codestringyesThree-letter IATA airport code (e.g. “JFK”)

Example call

Arguments

{
  "iata_code": "JFK"
}

curl

curl -X POST https://gateway.pipeworx.io/airports/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_airport","arguments":{"iata_code":"JFK"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_airport', {
  "iata_code": "JFK"
});

More examples

{
  "iata_code": "LHR"
}

Response shape

Always returns: name, city, country, iata, icao, latitude, longitude, altitude_ft, timezone

FieldTypeDescription
namestringAirport name
citystringCity where airport is located
countrystringCountry where airport is located
iatastringThree-letter IATA code
icaostringFour-letter ICAO code
latitudenumberLatitude coordinate
longitudenumberLongitude coordinate
altitude_ftnumberAltitude in feet
timezonestringAirport timezone
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Airport name"
    },
    "city": {
      "type": "string",
      "description": "City where airport is located"
    },
    "country": {
      "type": "string",
      "description": "Country where airport is located"
    },
    "iata": {
      "type": "string",
      "description": "Three-letter IATA code"
    },
    "icao": {
      "type": "string",
      "description": "Four-letter ICAO code"
    },
    "latitude": {
      "type": "number",
      "description": "Latitude coordinate"
    },
    "longitude": {
      "type": "number",
      "description": "Longitude coordinate"
    },
    "altitude_ft": {
      "type": "number",
      "description": "Altitude in feet"
    },
    "timezone": {
      "type": "string",
      "description": "Airport timezone"
    }
  },
  "required": [
    "name",
    "city",
    "country",
    "iata",
    "icao",
    "latitude",
    "longitude",
    "altitude_ft",
    "timezone"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "airports": {
      "url": "https://gateway.pipeworx.io/airports/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026