search_airports

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

Search for airports by name, city, or country. Returns IATA codes, airport names, cities, and countries.

Parameters

NameTypeRequiredDescription
querystringyesAirport name, city, or country to search for
pagenumbernoPage number for pagination (default: 1)

Example call

Arguments

{
  "query": "New York"
}

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":"search_airports","arguments":{"query":"New York"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_airports', {
  "query": "New York"
});

More examples

{
  "query": "London",
  "page": 2
}

Response shape

Always returns: results, count, page

FieldTypeDescription
resultsarrayList of airports matching the search query
countnumberNumber of results returned
pagenumberCurrent page number
Full JSON Schema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "description": "List of airports matching the search query",
      "items": {
        "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"
          }
        }
      }
    },
    "count": {
      "type": "number",
      "description": "Number of results returned"
    },
    "page": {
      "type": "number",
      "description": "Current page number"
    }
  },
  "required": [
    "results",
    "count",
    "page"
  ]
}

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