For Agents
Look up a location and retrieve current conditions, 5-day daily forecasts, 12-hour hourly forecasts, alerts, and lifestyle indices from AccuWeather so agents can answer weather questions for any global location.
Get started with AccuWeather API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"get the current weather for a city"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with AccuWeather API API.
Resolve a city name into an AccuWeather locationKey via /locations/v1/cities/search
Resolve latitude and longitude into a locationKey via /locations/v1/geoposition/search
Retrieve current weather conditions for a locationKey
Retrieve a 5-day daily forecast for a locationKey
GET STARTED
Use for: I want the current weather for San Francisco, Get the 5-day forecast for a given latitude and longitude, Find the AccuWeather location key for Paris, France, Retrieve hourly forecasts for the next 12 hours at a location
Not supported: Does not handle weather radar tiles, historical weather archives, or air quality measurements — use for current conditions, daily/hourly forecasts, alerts, and indices on AccuWeather only.
Jentic publishes the only available OpenAPI specification for AccuWeather API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for AccuWeather API, keeping it validated and agent-ready. AccuWeather provides current conditions, daily and hourly forecasts, severe weather alerts, and lifestyle indices for any location worldwide. The API resolves locations through a city search or geoposition, returns a location key, and then serves weather data keyed off that location key. Authentication is via an apikey query parameter, and the base URL is dataservice.accuweather.com.
Retrieve a 12-hour hourly forecast for a locationKey
Pull active severe weather alerts for a locationKey
Retrieve daily lifestyle indices (running, allergy, beach, etc.) for a locationKey
Patterns agents use AccuWeather API API for, with concrete tasks.
★ Travel App Weather Cards
A travel itinerary app shows a weather card for each destination by first calling /locations/v1/cities/search to resolve the city name, then /forecasts/v1/daily/5day/{locationKey} for the trip dates. Travelers see expected conditions before they pack. Caching the locationKey per destination reduces repeat resolution calls.
Resolve 'Lisbon' to a locationKey, then call /forecasts/v1/daily/5day/{locationKey} and return the high and low for each of the next 5 days
Weather-Aware Field Operations
A logistics dispatcher uses the geoposition search and alerts endpoints to flag deliveries entering an active severe weather zone. The system geocodes each delivery address externally, calls /locations/v1/geoposition/search for the locationKey, and queries /alerts/v1/{locationKey}. Drivers get a heads-up rather than discovering hazards en route.
For each delivery in tomorrow's schedule, look up the locationKey and return any active alerts as a routing risk flag
Outdoor Activity Planning with Lifestyle Indices
A running app shows a 'running index' for the user's location each morning, sourced from /indices/v1/daily/5day/{locationKey}. The app picks the running-specific index and renders a 5-day strip. Compared to showing raw temperature, the index combines temperature, humidity, wind, and air quality into a single planning signal.
Retrieve the 5-day running index for a user's home locationKey and return the day with the highest score
Agent-Driven Weather Lookup via Jentic
An AI assistant in a calendar app answers 'what's the weather for my meeting in Berlin tomorrow?' by calling AccuWeather through Jentic. The agent searches for the right operation, resolves the location, and returns the forecast. The apikey query parameter is injected by Jentic at execution time.
Through Jentic, search 'get the current weather for a city', resolve Berlin, and return current conditions plus tomorrow's daily forecast
7 endpoints — jentic publishes the only available openapi specification for accuweather api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/locations/v1/cities/search
Search cities by name to resolve a locationKey
/locations/v1/geoposition/search
Resolve latitude and longitude into a locationKey
/currentconditions/v1/{locationKey}
Current weather conditions for a location
/forecasts/v1/daily/5day/{locationKey}
5-day daily forecast
/forecasts/v1/hourly/12hour/{locationKey}
12-hour hourly forecast
/alerts/v1/{locationKey}
Active severe weather alerts
/indices/v1/daily/5day/{locationKey}
Daily lifestyle indices
/locations/v1/cities/search
Search cities by name to resolve a locationKey
/locations/v1/geoposition/search
Resolve latitude and longitude into a locationKey
/currentconditions/v1/{locationKey}
Current weather conditions for a location
/forecasts/v1/daily/5day/{locationKey}
5-day daily forecast
/forecasts/v1/hourly/12hour/{locationKey}
12-hour hourly forecast
Three things that make agents converge on Jentic-routed access.
Credential isolation
AccuWeather API keys are stored encrypted in the Jentic vault. Jentic injects the apikey query parameter at execution time, so the raw key value never appears in agent context or logs.
Intent-based discovery
Agents search by intent — for example, 'get the current weather for a city' — and Jentic returns the locations search and current conditions endpoints together with their parameter schemas.
Time to first call
Direct integration: a few hours to handle locationKey resolution and apikey plumbing. Through Jentic: under 30 minutes for the first end-to-end forecast call.
Alternatives and complements available in the Jentic catalogue.
OpenWeatherMap API
Free-tier-friendly global weather API with current, forecast, and historical data.
Choose OpenWeatherMap when free-tier volume matters more than alert depth. Choose AccuWeather for higher-resolution forecasts and richer alert and index data.
WeatherAPI.com
Forecast and historical weather API with simple location string lookup.
Choose WeatherAPI.com for a single-call lookup by city or coordinates. Choose AccuWeather when locationKey-based caching and lifestyle indices matter.
AccuWeather Core Weather API
A leaner cut of AccuWeather endpoints focused on locations, current conditions, and forecasts.
Choose Core Weather API when you only need locations + conditions + forecasts. Choose this AccuWeather API when you also need alerts and lifestyle indices.
Specific to using AccuWeather API API through Jentic.
Why is there no official OpenAPI spec for AccuWeather API?
AccuWeather does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call AccuWeather API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the AccuWeather API use?
An apikey query parameter on every request. Through Jentic, the key is stored encrypted in the vault and injected at execution time, so the raw key value never appears in the agent's context.
How do I get the weather for a city with the AccuWeather API?
Two steps. First call GET /locations/v1/cities/search with the city name to get a locationKey, then call GET /currentconditions/v1/{locationKey} or GET /forecasts/v1/daily/5day/{locationKey}. The locationKey is stable, so cache it per location to avoid repeating the lookup.
What are the rate limits for the AccuWeather API?
The OpenAPI spec does not document explicit rate limits — they are tied to your AccuWeather plan tier (free, standard, prime, elite). Implement exponential backoff on HTTP 429 and check your plan's daily call quota in the AccuWeather developer portal.
How do I get a 5-day forecast through Jentic?
Run pip install jentic, then search 'get the 5-day forecast for a city'. Jentic returns the locations search and forecast endpoints. Resolve the city, then call /forecasts/v1/daily/5day/{locationKey}. The apikey is injected by Jentic at execution time.
Does the AccuWeather API include severe weather alerts?
Yes. GET /alerts/v1/{locationKey} returns active alerts from official sources for the given location. Coverage and alert categories vary by region — North American and European coverage tends to be denser than less monitored areas.
/alerts/v1/{locationKey}
Active severe weather alerts
/indices/v1/daily/5day/{locationKey}
Daily lifestyle indices