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.

Developer toolsAPI keyMCP + RESTopenweathermap.org
AUDIT LOG · OPENWEATHER APIPOLICY: acme-support
09:41:07 · claude · u_8f2read
openweather_api.get_uv_index
Get Current UV Index✓ allowed · 212ms
09:41:08 · claude · u_8f2read
openweather_api.get_current_weather
Get Current Weather✓ allowed · 164ms
09:41:09 · claude · u_8f2write
openweather_api.update_weather_station
Update Weather Station✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
openweather_api.delete_weather_station
Delete Weather Station✕ blocked · policy: deny
EVERY OPENWEATHER API CALL, ON THE RECORD
01 · USE CASES

What agents do in OpenWeather API.

01

Get current weather for a location

Pull current temperature and conditions for a city to display on a dashboard.

02

Fetch a 5-day forecast

Retrieve an upcoming forecast for a location to plan an outdoor event or delivery route.

03

Check a personal weather station

Look up measurements from a registered weather station without changing its settings.

02 · ACTIONS

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

16

Look things up. Allowed by default.

  • openweather_api.get_uv_index
    Get Current UV Index
  • openweather_api.get_current_weather
    Get Current Weather
  • openweather_api.get_weather_station
    Get Weather Station
  • openweather_api.get_geocoding_by_zip
    Get Geocoding by Zip Code
  • openweather_api.get_geocoding_direct
    Get Direct Geocoding
  • openweather_api.get_uv_index_history
    Get UV Index History
  • openweather_api.get_weather_map_tile
    Get Weather Map Tile (2.0)
  • openweather_api.get_weather_stations
    Get Weather Stations
  • openweather_api.get_weather_triggers
    Get Weather Triggers
  • openweather_api.get_geocoding_reverse
    Get Reverse Geocoding
  • openweather_api.get_uv_index_forecast
    Get UV Index Forecast
  • openweather_api.get_circle_city_weather
    Get Circle City Weather
  • openweather_api.get_station_measurements
    Get Station Measurements
  • openweather_api.get_air_pollution_current
    Get Current Air Pollution Data
  • openweather_api.get_air_pollution_history
    Get Air Pollution History
  • openweather_api.get_air_pollution_forecast
    Get Air Pollution Forecast

write

4

Create and change things. Allow, or ask the user first.

  • openweather_api.update_weather_station
    Update Weather Station
  • openweather_api.post_add_weather_station
    Add Weather Station
  • openweather_api.post_submit_station_measurements
    Submit Station Measurements
  • openweather_api.get5_day_forecast
    Get 5 Day Forecast

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • openweather_api.delete_weather_station
    Delete Weather Station
03 · HOW IT WORKS

OpenWeather API in three steps.

  1. 01Your users connect OpenWeather APIThey add their OpenWeather API api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “update Weather Station” can wait for the user, and “delete Weather Station” can be denied outright.
  3. 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.
POLICY.TS
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
04 · AUTH AND DATA

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
05 · WORKS WITH

Use OpenWeather API from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

OpenWeather API and Arc0, answered.

Q01

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.

Q02

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.

Q03

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.

Q04

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.

Q05

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.

Get started

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