airquality

Pack: met-no · 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/airquality for the schema, then POST the same URL with its arguments for the data.

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
metaobject
dataobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "reftime": {
          "type": "string"
        },
        "location": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "areaclass": {
              "type": "string"
            },
            "longitude": {
              "type": "string"
            },
            "latitude": {
              "type": "string"
            },
            "path": {
              "type": "string"
            },
            "areacode": {
              "type": "string"
            },
            "superareacode": {
              "type": "string"
            }
          }
        },
        "superlocation": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "areaclass": {
              "type": "string"
            },
            "longitude": {
              "type": "string"
            },
            "latitude": {
              "type": "string"
            },
            "path": {
              "type": "string"
            },
            "areacode": {
              "type": "string"
            },
            "superareacode": {
              "type": "string"
            }
          }
        },
        "sublocations": {
          "type": "array",
          "items": {
            "type": [
              null,
              "object"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "areaclass": {
                "type": "string"
              },
              "longitude": {
                "type": "string"
              },
              "latitude": {
                "type": "string"
              },
              "path": {
                "type": "string"
              },
              "areacode": {
                "type": "string"
              },
              "superareacode": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "time": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "from": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "variables": {
                "type": "object",
                "properties": {
                  "AQI": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_concentration": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "AQI_no2": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_nonlocal_fraction": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_nonlocal_fraction_seasalt": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_local_fraction_traffic_exhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_local_fraction_traffic_nonexhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_local_fraction_shipping": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_local_fraction_heating": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "no2_local_fraction_industry": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_concentration": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "AQI_pm10": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_nonlocal_fraction": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_nonlocal_fraction_seasalt": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_local_fraction_traffic_exhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_local_fraction_traffic_nonexhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_local_fraction_shipping": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_local_fraction_heating": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm10_local_fraction_industry": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_concentration": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "AQI_pm25": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_nonlocal_fraction": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_nonlocal_fraction_seasalt": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_local_fraction_traffic_exhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_local_fraction_traffic_nonexhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_local_fraction_shipping": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_local_fraction_heating": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "pm25_local_fraction_industry": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_concentration": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "AQI_o3": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_nonlocal_fraction": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_nonlocal_fraction_seasalt": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_local_fraction_traffic_exhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_local_fraction_traffic_nonexhaust": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_local_fraction_shipping": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_local_fraction_heating": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  },
                  "o3_local_fraction_industry": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "number"
                      },
                      "units": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "reason": {
                "type": "object",
                "properties": {
                  "variables": {
                    "type": "array",
                    "items": {}
                  },
                  "sources": {
                    "type": "array",
                    "items": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

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 met-no pack
{
  "mcpServers": {
    "met-no": {
      "url": "https://gateway.pipeworx.io/met-no/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026