carrier_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/carrier_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 airline, system-wide or at one airport.
Tool description as the model sees it
Monthly on-time performance for one airline, aggregated across all its routes (or just the routes touching one airport), from BTS TranStats Reporting Carrier On-Time Performance. Pass carrier as a 2-letter code (“WN”) or common name (“Southwest”). Pass airport to scope to flights where that airport is the origin or destination. Returns the same per-month shape as route_ontime (flights, on-time %, average arrival delay, cancellations, diversions, delay minutes by cause). months caps how many of the most recently loaded months to return (default 12). Unknown carrier codes are refused with a clear error, never an empty success.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
carrier | string | yes | 2-letter carrier code (“WN”) or common name (“Southwest”). |
airport | string | no | Optional: scope to flights where this airport is the origin or destination. |
months | number | no | How many of the most recently loaded months to return, most recent first. Default 12. |
Example call
Arguments
{
"carrier": "DL",
"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":"carrier_ontime","arguments":{"carrier":"DL","months":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('carrier_ontime', {
"carrier": "DL",
"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.