pirep

Pack: aviation-weather · Endpoint: https://gateway.pipeworx.io/aviation-weather/mcp

Pilot reports. Optional id (station), age (hours), distance (NM), level (flight level).

Parameters

NameTypeRequiredDescription
idstringnoCenter station for proximity filter
agenumbernoLookback hours, default 1.5
distance_nmnumbernoDistance from id in nautical miles, default 200
levelnumbernoFlight level filter (FL310 = 310)
formatstringnojson (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.

Regenerated from source · build June 12, 2026