Weatherapi
v0.2.1WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
current
Get current/real-time weather for a location, including temperature, condition, humidity, wind, UV, and air quality (AQI). Location can be a city name, "lat,lon", zip code, or IATA airport code. Example: current({ q: "London", aqi: true }).
| Parameter | Type | Description |
|---|---|---|
q * | string | Location — city name (e.g. "London"), "lat,lon" (e.g. "48.8567,2.3508"), US/UK/Canada zip/postcode, IATA airport code (e.g. "DXB"), or "auto:ip". NOTE on IATA codes: WeatherAPI resolves them to that… |
_apiKey | string | Optional — your own WeatherAPI.com API key for higher limits; omit to use the shared Pipeworx key. |
aqi | boolean | Include air quality (AQI) data. Default true. |
forecast
Get a multi-day weather forecast for a location: daily high/low temperature, condition, chance of rain, total precipitation, and sunrise/sunset times. Up to 10 days. Example: forecast({ q: "Tokyo", days: 5 }).
| Parameter | Type | Description |
|---|---|---|
q * | string | Location — city name (e.g. "London"), "lat,lon" (e.g. "48.8567,2.3508"), US/UK/Canada zip/postcode, IATA airport code (e.g. "DXB"), or "auto:ip". NOTE on IATA codes: WeatherAPI resolves them to that… |
_apiKey | string | Optional — your own WeatherAPI.com API key for higher limits; omit to use the shared Pipeworx key. |
days | number | Number of forecast days (default 3, max 10). |
astronomy
Get astronomy data for a location and date: sunrise, sunset, moonrise, moonset, moon phase, and moon illumination. Example: astronomy({ q: "Reykjavik", dt: "2026-06-21" }).
| Parameter | Type | Description |
|---|---|---|
q * | string | Location — city name (e.g. "London"), "lat,lon" (e.g. "48.8567,2.3508"), US/UK/Canada zip/postcode, IATA airport code (e.g. "DXB"), or "auto:ip". NOTE on IATA codes: WeatherAPI resolves them to that… |
_apiKey | string | Optional — your own WeatherAPI.com API key for higher limits; omit to use the shared Pipeworx key. |
dt | string | Date in YYYY-MM-DD format (optional; defaults to today). |
marine
Get marine/ocean conditions forecast for a coastal location: significant wave height, swell height, water temperature, and wind. Up to 7 days, sampled every 6 hours. Example: marine({ q: "33.7,-118.4", days: 2 }).
| Parameter | Type | Description |
|---|---|---|
q * | string | Location — city name (e.g. "London"), "lat,lon" (e.g. "48.8567,2.3508"), US/UK/Canada zip/postcode, IATA airport code (e.g. "DXB"), or "auto:ip". NOTE on IATA codes: WeatherAPI resolves them to that… |
_apiKey | string | Optional — your own WeatherAPI.com API key for higher limits; omit to use the shared Pipeworx key. |
days | number | Number of marine forecast days (default 1, max 7). |