Skip to main content
OpenWeather API logo

OpenWeather API

Provides access to current weather data, forecasts, and historical weather data for any location worldwide.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

OpenWeather API authenticates with an API key. Generate the credential in your OpenWeather API account, then paste it into FlyMyAI the first time an agent uses an OpenWeather API action.

Get your OpenWeather API credential →

Fields to fill in FlyMyAI

FieldDetails
OpenWeather API KeyYour 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate. (required)

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
OPENWEATHER_API_DELETE_WEATHER_STATIONTool to delete a registered weather station. use after identifying a station to remove. returns confirmation message upon success.station_id
OPENWEATHER_API_GET5_DAY_FORECASTTool to get a 5-day forecast every 3 hours. use after specifying location.-
OPENWEATHER_API_GET_AIR_POLLUTION_CURRENTTool to fetch current air pollution data for a location. use when you need real-time air quality details by latitude and longitude.lat, lon
OPENWEATHER_API_GET_AIR_POLLUTION_FORECASTTool to get forecasted air pollution data for a specific location. use after confirming latitude and longitude.lat, lon
OPENWEATHER_API_GET_AIR_POLLUTION_HISTORYTool to retrieve historical air pollution data. use when you need past air quality levels for a specific latitude/longitude and time range.lat, lon, start, end
OPENWEATHER_API_GET_CIRCLE_CITY_WEATHERTool to search for current weather data in cities around a geographic point. use when you need to fetch weather within a radius circle after confirming latitude and longitude.lat, lon
OPENWEATHER_API_GET_CURRENT_WEATHERTool to retrieve current weather data for a location. use when you need up-to-the-minute weather info.-
OPENWEATHER_API_GET_GEOCODING_DIRECTTool to convert a location name into geographic coordinates. use when you need latitude and longitude for a given location after confirming the precise name.q
OPENWEATHER_API_GET_GEOCODING_REVERSETool to convert geographic coordinates into a location name. use when you need city, state, and country info from latitude and longitude.lat, lon
OPENWEATHER_API_GET_UV_INDEXTool to retrieve current uv index for a location. use when you need up-to-the-minute uv index by latitude and longitude.lat, lon
OPENWEATHER_API_GET_UV_INDEX_FORECASTTool to retrieve uv index forecast for a specific location. use when you need upcoming uv index values after confirming latitude and longitude. returns up to 8 days of data.lat, lon
OPENWEATHER_API_GET_UV_INDEX_HISTORYTool to retrieve historical uv index data for a specified location and time range. use when you need to analyze past uv exposure trends after confirming coordinates and time period.lat, lon, start, end
OPENWEATHER_API_GET_WEATHER_MAP_TILETool to fetch weather maps 2.0 tile images. use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.layer, z, x, y
OPENWEATHER_API_GET_WEATHER_STATIONSTool to list all weather stations added to your account. use after setting up your openweather api key.-
OPENWEATHER_API_GET_WEATHER_TRIGGERSTool to retrieve weather triggers for specific conditions. use after defining trigger criteria.triggers
OPENWEATHER_API_POST_ADD_WEATHER_STATIONTool to add a new weather station to your account. use when you need to register a station before sending custom data.external_id, name, latitude, longitude, altitude
OPENWEATHER_API_UPDATE_WEATHER_STATIONTool to update weather station details. use when you need to modify the name, location, or external id of an existing station.station_id, latitude, longitude
We love our partners - FlyMy.AI builds with the best. Thanks, OpenWeather API!