pirep
Pack: aviation-weather · Endpoint: https://gateway.pipeworx.io/aviation-weather/mcp
Pilot reports (PIREPs). Call with no args for recent US-wide reports (default CONUS box), or pass a station id for reports within distance_nm of it, or a custom bbox.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | Center station for a proximity filter (e.g. “KORD”); reports within distance_nm of it. |
distance_nm | number | no | Radius from id in nautical miles (default 200). Only used with id. |
bbox | string | no | Bounding box “minLat,minLon,maxLat,maxLon” (default CONUS “20,-130,55,-60” when no id). |
age | number | no | Lookback hours, default 1.5 |
level | number | no | Flight level filter (FL310 = 310) |
format | string | no | json (default) | raw |
Example call
Arguments
{
"id": "KSFO",
"age": 2,
"distance_nm": 100
}
curl
curl -X POST https://gateway.pipeworx.io/aviation-weather/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pirep","arguments":{"id":"KSFO","age":2,"distance_nm":100}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('pirep', {
"id": "KSFO",
"age": 2,
"distance_nm": 100
});
More examples
{
"level": 310
}
Response shape
Full JSON Schema
{
"oneOf": [
{
"type": "object",
"description": "Pilot reports in JSON format"
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "Response format (raw)"
},
"body": {
"type": "string",
"description": "Raw response body"
}
},
"required": [
"format",
"body"
]
}
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aviation-weather": {
"url": "https://gateway.pipeworx.io/aviation-weather/mcp"
}
}
}
See Getting Started for client-specific install steps.