airquality

Pack: met-no · Endpoint: https://gateway.pipeworx.io/met-no/mcp

Air-quality forecast (Norway).

Parameters

NameTypeRequiredDescription
latnumberyes
lonnumberyes
areaclassstringnogrunnkrets | delomraade | kommune | fylke | land (default grunnkrets)

Example call

Arguments

{
  "lat": 59.9139,
  "lon": 10.7522
}

curl

curl -X POST https://gateway.pipeworx.io/met-no/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"airquality","arguments":{"lat":59.9139,"lon":10.7522}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('airquality', {
  "lat": 59.9139,
  "lon": 10.7522
});

More examples

{
  "lat": 60.3913,
  "lon": 5.3221,
  "areaclass": "kommune"
}

Response shape

FieldTypeDescription
typestringFeature type (GeoJSON)
geometryobject
propertiesobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Feature type (GeoJSON)"
    },
    "geometry": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      }
    },
    "properties": {
      "type": "object",
      "properties": {
        "timeseries": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "time": {
                "type": "string",
                "description": "ISO 8601 timestamp"
              },
              "data": {
                "type": "object",
                "properties": {
                  "AQI": {
                    "type": "number",
                    "description": "Air Quality Index"
                  },
                  "AQI_category": {
                    "type": "string",
                    "description": "Quality category"
                  },
                  "O3_concentration": {
                    "type": "number"
                  },
                  "NO2_concentration": {
                    "type": "number"
                  },
                  "PM2_5_concentration": {
                    "type": "number"
                  },
                  "PM10_concentration": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Connect

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

{
  "mcpServers": {
    "met-no": {
      "url": "https://gateway.pipeworx.io/met-no/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026