air_quality

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

Get the current air quality for a set of coordinates: an air quality index (AQI, 1=Good to 5=Very Poor) plus pollutant component concentrations (CO, NO2, O3, PM2.5, PM10, etc.). Example: air_quality({ lat: 51.5, lon: -0.12 })

Parameters

NameTypeRequiredDescription
latnumberyesLatitude.
lonnumberyesLongitude.

Example call

Arguments

{
  "lat": 51.5074,
  "lon": -0.1278,
  "_apiKey": "your-openweather-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/openweather/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"air_quality","arguments":{"lat":51.5074,"lon":-0.1278,"_apiKey":"your-openweather-api-key"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('air_quality', {
  "lat": 51.5074,
  "lon": -0.1278,
  "_apiKey": "your-openweather-api-key"
});

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 2, 2026