airlines
Pack: aviationstack · Endpoint: https://gateway.pipeworx.io/aviationstack/mcp
Airline directory.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
search | string | no | |
iata_code | string | no | 2-letter IATA |
icao_code | string | no | 3-letter ICAO |
limit | number | no | |
offset | number | no |
Example call
Arguments
{
"iata_code": "AA"
}
curl
curl -X POST https://gateway.pipeworx.io/aviationstack/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"airlines","arguments":{"iata_code":"AA"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('airlines', {
"iata_code": "AA"
});
More examples
{
"search": "United"
}
Response shape
| Field | Type | Description |
|---|---|---|
pagination | object | Pagination metadata |
data | array | Array of airline objects |
Full JSON Schema
{
"type": "object",
"properties": {
"pagination": {
"type": "object",
"properties": {
"offset": {
"type": "number"
},
"limit": {
"type": "number"
},
"count": {
"type": "number"
},
"total": {
"type": "number"
}
},
"description": "Pagination metadata"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"fleet_average_age": {
"type": "string",
"description": "Average aircraft age"
},
"airline_id": {
"type": "string"
},
"callsign": {
"type": "string"
},
"hub_code": {
"type": "string"
},
"iata_code": {
"type": "string",
"description": "2-letter IATA code"
},
"icao_code": {
"type": "string",
"description": "3-letter ICAO code"
},
"country_iso2": {
"type": "string",
"description": "Country ISO code"
},
"date_founded": {
"type": "string"
},
"iata_prefix_accounting": {
"type": "string"
},
"airline_name": {
"type": "string",
"description": "Airline name"
},
"country_name": {
"type": "string",
"description": "Country name"
},
"fleet_size": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string",
"description": "Airline type (e.g., scheduled, charter)"
}
}
},
"description": "Array of airline objects"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aviationstack": {
"url": "https://gateway.pipeworx.io/aviationstack/mcp"
}
}
}
See Getting Started for client-specific install steps.