About Aviationstack
Aviationstack is an MCP server for querying flight and aviation reference data, for agents that need flight status, airport, airline, or route information. It covers real-time and scheduled flights, plus future flights at a specified airport within the next seven days.
Key features
- 01Real-time and scheduled flight lookup
- 02Airport and airline directories
- 03City and country reference data
- 04Scheduled route lookup
- 05Future flights by airport and date
Use cases
- 01Check flight status and departure or arrival details
- 02Find airport or airline information
- 03Map a city to its primary airport
- 04Check airport flights within the next seven days
MCP support
It exposes tools for querying flights, airports, airlines, cities, countries, and routes to MCP clients. It can connect through the Pipeworx gateway or run as a local stdio MCP server.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://gateway.pipeworx.io/aviationstack/mcpclaude mcp add --transport http pipeworx-io-aviationstack https://gateway.pipeworx.io/aviationstack/mcp{"mcpServers":{"pipeworx-io-aviationstack":{"type":"http","url":"https://gateway.pipeworx.io/aviationstack/mcp"}}}Open in Cursor{"servers":{"pipeworx-io-aviationstack":{"type":"http","url":"https://gateway.pipeworx.io/aviationstack/mcp"}}}Open in VS Code{"mcpServers":{"pipeworx-io-aviationstack":{"type":"http","url":"https://gateway.pipeworx.io/aviationstack/mcp"}}}{"mcpServers":{"pipeworx-io-aviationstack":{"serverUrl":"https://gateway.pipeworx.io/aviationstack/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
48| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | No | Alias for question. |
| ask | string | No | Alias for question. |
| text | string | No | Alias for question. |
| input | string | No | Alias for question. |
| packs | array | No | OPTIONAL. Restrict routing to these pack slugs (e.g. ["sec-form-d","sec-13f"]) — the router then picks only from tools in those packs. Omit for the default full-catalog routing. Slugs come from list_packs / search_packs / https://pipeworx.io/directory; unlisted or unknown slugs are ignored and named in _meta.pack_scope.ignored, and if none of them resolves the question is routed across the whole catalog with _meta.pack_scope.full_catalog:true (never an empty answer). |
| query | string | No | Alias for question. |
| prompt | string | No | Alias for question. |
| message | string | No | Alias for question. |
| question | string | Yes | Your question or request in natural language. Accepts query, q, prompt, text, input, ask, message as aliases. |
Details
From the project README@pipeworx/aviationstack
Aviationstack MCP — global flight tracking + airport / airline / route reference data.
Part of Pipeworx — an MCP gateway connecting AI agents to 1872+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
flights(flight_iata?, flight_icao?, dep_iata?, arr_iata?, airline_iata?, flight_status?, limit?, offset?)— real-time + scheduled flightsairports(search?, iata_code?, icao_code?, limit?, offset?)— airport database (~10k airports)airlines(search?, iata_code?, icao_code?, limit?, offset?)— airline databasecities(search?, iata_code?, country_iso2?, limit?)— city → primary airport mappingcountries(search?, country_iso2?, limit?)— country referenceroutes(dep_iata?, arr_iata?, airline_iata?, flight_number?, limit?)— scheduled routesaviationstack_future_flights(iataCode, type, date, airline_iata?, airline_icao?, flight_number?, limit?, offset?)— scheduled future flights at one airport for a specific date (type:departureorarrival). Backed by Aviationstack's/flightsFutureendpoint, which apilayer's 2026-10-06 notice opened only for the next 7 days —datemust betomorrow..today+7(UTC); the pack refuses out-of-window dates itself before calling upstream (fleet #2700).
Auth
- Platform key: gateway env
PLATFORM_AVIATIONSTACK_KEY - BYO:
?_apiKey=<key>after registering at https://aviationstack.com/signup/free
Plan tier
As of 2026-10-06 the shared platform key is on a plan that reaches flights, airports,
airlines, cities, countries and routes live (verified: airports/JFK and
routes/JFK→LAX both returned non-empty data — neither is free-tier-only any more; an
earlier version of this README, written 2026-08-28, said otherwise and was stale).
aviationstack_future_flights was added the same day the vendor emailed that they opened
/flightsFuture more broadly; whether our specific plan reaches that endpoint was not
independently confirmed before this tool shipped (the platform key's raw value is a
Cloudflare/Supabase secret, not available to a pack-authoring session) — if a live call
answers HTTP 403 function_access_restricted, that means the plan doesn't cover this
endpoint yet and is a money/plan decision, not a pack bug.
The free plan (if the platform key ever reverts to it) is capped at 100 requests per
month, and once that is spent every endpoint answers 429 — including ones the tier would
otherwise allow. Free plan is also HTTP-only (no https) — the pack already uses http://.
Reading a 429 here: Aviationstack labels the monthly-allowance refusal with the code
rate_limit_reached and only says "monthly" in the message text, so the code name argues
for a burst limit that clears in seconds when the truth is a wall that lasts until the plan
renews. The pack branches on the message, not the code. Fleet #577.
Data source
http://api.aviationstack.com/v1/ — access_key query param. /flightsFuture spec:
https://api.swaggerhub.com/apis/apilayer-863/AviationstackAPI/1.0.0/swagger.json
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"aviationstack": {
"url": "https://gateway.pipeworx.io/aviationstack/mcp"
}
}
}
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/aviationstack/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1872+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/flights \
-H 'Content-Type: application/json' \
-d '{"flight_iata":"AA100","dep_iata":"JFK","arr_iata":"LAX"}'
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/flights. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"aviationstack": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-aviationstack"]
}
}
}
Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-aviationstack
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Aviationstack data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.