MSN API: Get current weather
Gets current MSN Weather conditions for a city, address or ZIP code. The place is found through OpenStreetMap Nominatim. Matches for broad searches are approximate.
Unofficial. Not affiliated with or endorsed by MSN.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Units optional
units Temperature units, for example fahrenheit. Defaults to fahrenheit in the US and celsius elsewhere.
Not set
One of
fahrenheit,celsius.- Location, required
location City, address or ZIP code, for example Seattle, 98101, or Paris, France.
Seattle
Input as JSON
{ "location": "Seattle"}Output
{ "aqi": { "unit": "AQI", "value": 28 }, "place": "Seattle, WA", "alerts": [], "sunset": "2026-10-23T18:06:51-07:00", "sunrise": "2026-10-23T07:39:38-07:00", "humidity": { "unit": "%", "value": 86 }, "latitude": 47.6038321, "uv_index": { "unit": "index", "value": 0 }, "longitude": -122.330062, "conditions": "Partly cloudy", "feels_like": { "unit": "°F", "value": 48 }, "wind_speed": { "unit": "mph", "value": 2 }, "air_quality": "Good air quality", "temperature": { "unit": "°F", "value": 47 }, "weather_url": "https://www.msn.com/en-us/weather/forecast/in-47.6038321,-122.330062?loc=eyJ4IjoiLTEyMi4zMzAwNjIiLCJ5IjoiNDcuNjAzODMyMSJ9&weadegreetype=F" , "wind_direction": "E", "observation_time": "2026-10-23T02:40:00-07:00"}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"msn.com/get_current_weather","input":{"location":"Seattle"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "msn.com/get_current_weather" , "input": { "location": "Seattle" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "msn.com/get_current_weather" , "input": { "location": "Seattle" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run msn.com/get_current_weather# with {"location":"Seattle"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "location" ], "properties": { "units": { "enum": [ "fahrenheit", "celsius" ], "type": "string", "description": "Temperature units, for example fahrenheit. Defaults to fahrenheit in the US and celsius elsewhere." }, "location": { "type": "string", "minLength": 1, "description": "City, address or ZIP code, for example Seattle, 98101, or Paris, France." } }}Output schema
{ "type": "object", "required": [ "place", "temperature", "alerts", "weather_url", "latitude", "longitude" ], "properties": { "aqi": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "place": { "type": "string" }, "alerts": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": [ "string", "null" ] }, "title": { "type": "string" } } } }, "sunset": { "type": [ "string", "null" ] }, "sunrise": { "type": [ "string", "null" ] }, "humidity": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "latitude": { "type": "number" }, "uv_index": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "longitude": { "type": "number" }, "conditions": { "type": [ "string", "null" ] }, "feels_like": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "wind_speed": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "air_quality": { "type": [ "string", "null" ] }, "temperature": { "type": [ "object", "null" ], "properties": { "unit": { "type": "string" }, "value": { "type": [ "number", "null" ] } } }, "weather_url": { "type": "string" }, "wind_direction": { "type": [ "string", "null" ] }, "observation_time": { "type": [ "string", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
msn.com/get_current_weather- Returns
- place, temperature, feels like, conditions, humidity, wind, UV, air quality, sunrise/sunset, alerts
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method msn.com/get_current_weather with the inputs above.
Ask your agent
- What's the weather like right now in Seattle, WA? Please give me the temperature in fahrenheit.
- Check the current conditions for ZIP code 10001 on MSN Weather, including humidity and wind.
- I'm heading to Paris, France tonight. What's it feeling like there at the moment, in celsius?
- Any weather alerts or air quality warnings for 90210 right now?
- Give me the current temperature, UV index, and sunset time for Austin, Texas.
See more
All MSN methodsGets up to 10 days of MSN Weather forecasts for a city, address, or ZIP code, with optional hourly forecasts for the next 24 hours.
msn.com/get_forecastGets a stock's latest MSN Money quote and key facts by company name or ticker and listing country. Quotes may be delayed outside market hours.
msn.com/get_stock_quoteLists MSN Money's current leading stock gainers, losers, or most-active shares in a selected market, in MSN's order. Lists may contain fewer than 50 stocks and prices may be delayed.
msn.com/list_market_moversGets current conditions and today's high and low from The Weather Channel for a city, postcode, ZIP code or street address worldwide. Street addresses are geocoded exactly first; some observations omit gusts or other measurements.
weather.com/get_current_weatherGets current conditions and RealFeel for a city or postal code on AccuWeather. The UV level follows standard UV-index ranges. Air quality is null unless it is shown with the current conditions.
accuweather.com/get_current_weatherGets the latest observed weather from a nearby National Weather Service station for a US city, address, or ZIP code. Measurements the station does not report are null.
weather.gov/get_current_conditionsLooks up the National Weather Service seven-day day and night forecast for a U.S. city, address, or ZIP code. Forecast availability depends on NWS land-grid coverage.
weather.gov/get_forecastGets The Weather Channel's daily forecast for a city, address, ZIP code or postcode: up to 15 upcoming days with highs, lows, conditions, rain chance, wind, humidity, UV and sun times.
weather.com/get_daily_forecast