GnistAI GnistAI
Log in

AviationStack (Flight Status)

Live flight tracking — departures, arrivals, delays, and airport status.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Transport

Data source: AviationStack, OpenSky Network

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/aviationstack/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-aviationstack": {
      "url": "https://context.gnist.ai/mcp/aviationstack/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/aviationstack/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_flight_status", "arguments": {"flight_iata": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/aviationstack/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/aviationstack/get_flight_status?flight_iata=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/aviationstack/get_flight_status",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "flight_iata": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc aviationstack

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_flight_status
Get the current status of a flight by IATA flight number.
ParameterTypeRequiredDescription
flight_iatastringrequiredIATA flight number, e.g. "BA123" or "SK451".
dateanyoptionalDate in YYYY-MM-DD format. Defaults to today's flights.
search_flights
Search scheduled flights between two airports.
ParameterTypeRequiredDescription
originstringrequiredDeparture airport IATA code, e.g. "OSL" (Oslo) or "LHR" (London Heathrow).
destinationstringrequiredArrival airport IATA code, e.g. "JFK" (New York).
dateanyoptionalDate in YYYY-MM-DD format. Defaults to today's flights.
get_airport_departures
Get the live departure board for an airport.
ParameterTypeRequiredDescription
airport_iatastringrequiredAirport IATA code, e.g. "OSL" (Oslo Gardermoen) or "AMS" (Amsterdam Schiphol).
window_hoursintegeroptionalHours ahead to include (1–12, default 2). (default: 2)
get_aircraft_position
Get the live ADS-B position of an aircraft by ICAO 24-bit transponder address.
ParameterTypeRequiredDescription
icao24stringrequired6-character hex transponder address, e.g. "400f86".
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related