observations_in_bbox

Pack: airnow · Endpoint: https://gateway.pipeworx.io/airnow/mcp

Historical AQI observations inside a bounding box for a date range. Specify pollutants as comma-separated parameter codes (e.g., “OZONE,PM25,PM10,CO,NO2,SO2”). bbox format: “minLon,minLat,maxLon,maxLat”.

Parameters

NameTypeRequiredDescription
bboxstringyesminLon,minLat,maxLon,maxLat
start_datestringyesYYYY-MM-DDT00 (hour-granular ISO truncated)
end_datestringyesYYYY-MM-DDT23
parametersstringnoComma-separated pollutants (default: OZONE,PM25,PM10)
data_typestringnoA (AQI) | C (concentration) | B (both, default)
verbosebooleannoInclude site / county / agency / full-AQS-code fields

Example call

curl -X POST https://gateway.pipeworx.io/airnow/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"observations_in_bbox","arguments":{}}}'

Response shape

Always returns: bbox, count, observations

FieldTypeDescription
bboxstringBounding box queried (minLon,minLat,maxLon,maxLat)
countintegerNumber of observations returned
observationsarrayHistorical AQI observations in bounding box
Full JSON Schema
{
  "type": "object",
  "properties": {
    "bbox": {
      "type": "string",
      "description": "Bounding box queried (minLon,minLat,maxLon,maxLat)"
    },
    "count": {
      "type": "integer",
      "description": "Number of observations returned"
    },
    "observations": {
      "type": "array",
      "description": "Historical AQI observations in bounding box",
      "items": {
        "type": "object",
        "properties": {
          "observed_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Date observed (YYYY-MM-DD)"
          },
          "hour": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Hour observed (0-23)"
          },
          "utc": {
            "type": [
              "string",
              "null"
            ],
            "description": "UTC timestamp"
          },
          "site": {
            "type": [
              "string",
              "null"
            ],
            "description": "Monitoring site name"
          },
          "agency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reporting agency name"
          },
          "aqs_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full AQS code identifier"
          },
          "latitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "Site latitude"
          },
          "longitude": {
            "type": [
              "number",
              "null"
            ],
            "description": "Site longitude"
          },
          "pollutant": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pollutant parameter name"
          },
          "aqi": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Air Quality Index value"
          },
          "category": {
            "type": [
              "integer",
              "null"
            ],
            "description": "AQI category numeric code"
          },
          "value": {
            "type": [
              "number",
              "null"
            ],
            "description": "Pollutant concentration value"
          },
          "unit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measurement"
          }
        }
      }
    }
  },
  "required": [
    "bbox",
    "count",
    "observations"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "airnow": {
      "url": "https://gateway.pipeworx.io/airnow/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026