OpenWeather API for AI agents
OpenWeather provides current conditions, forecasts, and historical weather data for locations worldwide. Developers embed it in apps and dashboards that need weather-aware features. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in OpenWeather API.
Get current weather for a location
Pull current temperature and conditions for a city to display on a dashboard.
Fetch a 5-day forecast
Retrieve an upcoming forecast for a location to plan an outdoor event or delivery route.
Check a personal weather station
Look up measurements from a registered weather station without changing its settings.
21 OpenWeather API actions, graded by risk.
Every OpenWeather API action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
16Look things up. Allowed by default.
- openweather_api.get_uv_indexGet Current UV Index
- openweather_api.get_current_weatherGet Current Weather
- openweather_api.get_weather_stationGet Weather Station
- openweather_api.get_geocoding_by_zipGet Geocoding by Zip Code
- openweather_api.get_geocoding_directGet Direct Geocoding
- openweather_api.get_uv_index_historyGet UV Index History
- openweather_api.get_weather_map_tileGet Weather Map Tile (2.0)
- openweather_api.get_weather_stationsGet Weather Stations
- openweather_api.get_weather_triggersGet Weather Triggers
- openweather_api.get_geocoding_reverseGet Reverse Geocoding
- openweather_api.get_uv_index_forecastGet UV Index Forecast
- openweather_api.get_circle_city_weatherGet Circle City Weather
- openweather_api.get_station_measurementsGet Station Measurements
- openweather_api.get_air_pollution_currentGet Current Air Pollution Data
- openweather_api.get_air_pollution_historyGet Air Pollution History
- openweather_api.get_air_pollution_forecastGet Air Pollution Forecast
write
4Create and change things. Allow, or ask the user first.
- openweather_api.update_weather_stationUpdate Weather Station
- openweather_api.post_add_weather_stationAdd Weather Station
- openweather_api.post_submit_station_measurementsSubmit Station Measurements
- openweather_api.get5_day_forecastGet 5 Day Forecast
destructive
1Delete, cancel or archive. Ask first, or deny outright.
- openweather_api.delete_weather_stationDelete Weather Station
OpenWeather API in three steps.
- 01Your users connect OpenWeather APIThey add their OpenWeather API api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “update Weather Station” can wait for the user, and “delete Weather Station” can be denied outright.
- 03Any agent can actYour agent calls OpenWeather API through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('openweather_api', { read: 'allow', write: 'ask', // update_weather_station destructive: 'deny', // delete_weather_station }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How OpenWeather API connects.
Users add their OpenWeather API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same OpenWeather API connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use OpenWeather API from any agent.
OpenWeather API and Arc0, answered.
Can I use OpenWeather API with Claude, ChatGPT or Cursor?
Yes. Connect OpenWeather API to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the OpenWeather API actions you allow.
How do users connect OpenWeather API?
Users add their OpenWeather API api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which OpenWeather API actions can my agent take?
21 in total: 16 read, 4 write and 1 destructive, such as “update Weather Station”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in OpenWeather API?
Yes. Actions like “delete Weather Station” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call OpenWeather API too?
Yes. The same OpenWeather API connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug OpenWeather API into your agent.
Your users connect OpenWeather API once, under your brand. Your agent gets 21 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan