route_ontime
Pack: bts-ontime · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/route_ontime for the schema, then POST the same URL with its arguments for the data.
Monthly on-time %, average delay and delay causes for one origin->destination route.
Tool description as the model sees it
Monthly on-time performance for one US domestic flight route (origin airport -> destination airport), from BTS TranStats Reporting Carrier On-Time Performance. Returns, per month (and per carrier if more than one serves the route): flights, completed flights, on-time arrivals and on-time %, average arrival delay in minutes, cancellations, diversions, and delay minutes broken down by cause (carrier, weather, NAS/air-traffic-control, security, late aircraft). Pass carrier (2-letter code like “DL”, or a common name like “Delta”) to scope to one airline; omit it to see every carrier that flew the route. months caps how many of the most recently loaded months to return (default 12). Covers the most recent months loaded (see data_as_of and the earliest/latest fields), not full history. Unknown origin/destination airport codes are refused with a clear error, never an empty success.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
origin | string | yes | Origin airport code, e.g. “JFK”. |
dest | string | yes | Destination airport code, e.g. “LAX”. |
carrier | string | no | Optional: 2-letter carrier code (“DL”) or common name (“Delta”) to scope to one airline. |
months | number | no | How many of the most recently loaded months to return, most recent first. Default 12. |
Example call
Arguments
{
"origin": "JFK",
"dest": "LAX",
"months": 3
}
curl
curl -X POST https://gateway.pipeworx.io/bts-ontime/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"route_ontime","arguments":{"origin":"JFK","dest":"LAX","months":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('route_ontime', {
"origin": "JFK",
"dest": "LAX",
"months": 3
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the bts-ontime pack
{
"mcpServers": {
"bts-ontime": {
"url": "https://gateway.pipeworx.io/bts-ontime/mcp"
}
}
}
See Getting Started for client-specific install steps.