OpenWeather (Unofficial)

v0.2.2
io.github.pipeworx-io/openweather Checked 2 days ago Published 17 days ago

Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

current_weather

Get the current weather for a city or coordinates: temperature, "feels like", conditions, humidity, wind speed, and cloud cover. Example: current_weather({ city: "London", units: "metric" })

ParameterTypeDescription
_apiKeystringOptional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key.
citystringCity name, optionally with country code, e.g. "London" or "London,GB". Provide this OR lat/lon.
latnumberLatitude. Use with lon instead of city.
lonnumberLongitude. Use with lat instead of city.
unitsstringTemperature units: "metric" (C, default), "imperial" (F), or "standard" (K).

openweather_forecast

Get a multi-step weather forecast (3-hour intervals) for a city or coordinates: temperature, conditions, wind speed, and precipitation probability over time. Example: forecast({ city: "Tokyo", count: 8 })

ParameterTypeDescription
_apiKeystringOptional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key.
citystringCity name, optionally with country code, e.g. "Tokyo" or "Tokyo,JP". Provide this OR lat/lon.
countnumberNumber of 3-hour forecast steps to return (default 8 = next 24h, max 40 = 5 days).
latnumberLatitude. Use with lon instead of city.
lonnumberLongitude. Use with lat instead of city.
unitsstringTemperature units: "metric" (C, default), "imperial" (F), or "standard" (K).

openweather_air_quality

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 })

ParameterTypeDescription
lat *numberLatitude.
lon *numberLongitude.
_apiKeystringOptional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key.

openweather_geocode

Resolve a place name (city, optionally with state/country) to geographic coordinates (latitude/longitude). Useful before calling air_quality, which needs lat/lon. Example: geocode({ query: "Paris", limit: 5 })

ParameterTypeDescription
query *stringPlace name to look up, e.g. "Paris", "Springfield,IL,US".
_apiKeystringOptional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key.
limitnumberMaximum number of matching locations to return (default 5).