Weather API and MCP server for AI agents
TollNode gives Claude, Cursor or any AI agent live weather for any city or coordinates (current conditions, next 24 hours, 7-day forecast and US alerts), each a fraction of a cent, over API and MCP.
Ask in plain words, like 'will it rain in Austin this week', and get the forecast with the numbers behind it.
No subscription · Sign-up optional · From $0.002 per call · Charged only when it works · No account needed
Is it going to rain in Austin, TX over the next few days?
TollNode · 7_day$0.002 · 14 periods · 2 s
| Period | High/low (F) | Rain chance |
|---|---|---|
| This Afternoon | 56 | 54% |
| Tonight | 48 | 20% |
| Monday | 56 | 8% |
| Tuesday | 67 | 0% |
| +10 more periods | ||
Real result.
What your agent can pull about the weather
- from $0.002
Right now and next 24 hours
Live weather API for AI agents
What it is like outside, and the hours ahead.
- Place
- Austin, TX, United States
- Temperature
- 53 F (11.7 C)
- Humidity
- 96 percent
- Wind
- 6 mph
- Station
- Austin City Camp Mabry (KATT)
You get
- temperature: in Fahrenheit and Celsius
- feels like: apparent temperature
- humidity: percent
- wind: speed and direction
- pressure and visibility: hPa and kilometers
- hourly periods: 24 hours with chance of rain
- from $0.002
7-day forecast
Day and night periods for the week ahead.
- Period
- This Afternoon
- Temperature
- 56 F
- Rain chance
- 54 percent
- Summary
- Chance Rain Showers
You get
- period name: This Afternoon, Tonight, Monday
- temperature: high or low for the period
- wind: speed and direction
- chance of rain: percent
- summary: short conditions
- details: the full forecast text
Actions
- from $0.002
Severe-weather alerts
Active US warnings and watches for a place.
- Event
- Rip Current Statement
- Severity
- Moderate
- Area
- Coastal Miami Dade County
- Ends
- Nov 17, 7:00 PM EST
You get
- event: for example Rip Current Statement
- severity: Minor to Extreme
- urgency: how soon it matters
- area: the counties covered
- starts and ends: when it applies
- instruction: what the service advises
Every result is structured JSON your agent can sort, filter, summarize or turn into a spreadsheet.
What people ask their AI to do with it
Event planners
Decide on an outdoor event
“Will it rain in Austin on Saturday afternoon, and what is the high?”
7 day
Cost today$0.002
Travel agents
Brief a client before a trip
“What is the weather in Miami this week and are there any alerts?”
7 day + alerts
Cost today$0.004
Delivery teams
Plan the day's routes
“Show the next 24 hours in Denver with chance of rain and wind”
hourly
Cost today$0.002
Construction managers
Schedule outdoor work
“Is there a wind or storm warning for our Dallas site this week?”
alerts + 7 day
Cost today$0.004
Photographers
Pick a shoot day
“Which day this week in Seattle has the best chance of clear sky?”
7 day
Cost today$0.002
Farmers
Time spraying and harvest
“What is the current wind and humidity near Des Moines?”
current
Cost today$0.002
Use it as a Weather MCP server in Claude, Cursor or Codex
Connect once. Then just ask.
Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Weather node. Call POST https://tollnode.com/api/v1/nodes/weather with an "action" (current, hourly, 7_day, alerts) and its fields: lat (optional), lon (optional), location (optional). Each action has its own price and is charged only when it returns a result. Over MCP, call the "weather" tool; use list_models to see prices. Return results as tables when I ask for lists.4 actions, one node
Send action plus the fields that action needs, to the same address. Each action has its own price, charged only when it returns a result. Leave out action and you get current.
- current$0.002
Conditions right now. Temperature (C and F), feels like, humidity, wind (km/h and mph), pressure, visibility and the observing station.
needs: nothing · optional: location, lat, lon
- hourly$0.002
The next 24 hours, hour by hour. 24 periods with temperature, wind, chance of rain and a short summary.
needs: nothing · optional: location, lat, lon
- 7_day$0.002
The week ahead. Day and night periods (US) or daily low, high and rain (elsewhere) for 7 days.
needs: nothing · optional: location, lat, lon
- alerts$0.002
Active severe-weather alerts (US only). Each alert's event, severity, urgency, headline, area, start, end, description and instructions.
needs: nothing · optional: location, lat, lon
{"action":"current","location":"Austin, TX"}POST either body to https://tollnode.com/api/v1/nodes/weather. From an AI assistant you don't write this yourself: ask in plain words and it picks the action.
Charged only when a call returns a result. Failed or empty calls cost $0.
Weather without running your own tools
No subscription, no credit packs
Pay per action: current is $0.002, hourly is $0.002, 7 day is $0.002.
No weather API key, no account, no rate-limit form
Your agent calls TollNode. You never set up billing or request access with anyone else.
Only charged when it works
If a call returns nothing or fails, it costs nothing.
One connection, much more
The same setup also gives your agent Google search, YouTube, Maps, images and video, so one prompt can chain them.
FAQ
- Is this an official weather API?
- It uses official public sources: the US National Weather Service inside the US and MET Norway elsewhere, each credited in the response. TollNode packages them behind one API and MCP server, priced per call.
- Can I use it as a Weather MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "weather" tool appears with its fields and price.
- What are the four actions?
- current returns conditions now, hourly the next 24 hours, 7_day the forecast in day and night periods, and alerts the active severe-weather alerts.
- Do alerts work outside the US?
- No. Alerts cover the US only. The other three actions work worldwide for cities of 15,000 or more people, or for any latitude and longitude.
- How fresh is it?
- Answers are cached for 10 minutes per place, as the weather services ask, and every answer names its source and attribution.
- Does it return past weather?
- No. It returns current conditions, forecasts and active alerts, not historical weather or climate statistics.
- Do I need an account with another service?
- No. Your agent calls TollNode, and you never log in to another service or share cookies.
- What if nothing comes back?
- You're not charged. TollNode only collects payment when a usable result is returned, and your agent can try a different input.
Works well with
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/weather
Input
| Field | Type | Notes |
|---|---|---|
| lat | number | Latitude, with lon, instead of location |
| lon | number | Longitude, with lat, instead of location |
| action* | enum | What to get; each has its own price. Default current (current, hourly, 7_day, alerts) |
| location | string | A city, e.g. 'Austin, TX' or 'Paris, France' (cities of 15,000+ people). Or send lat and lon |
Example response
{
"source": "US National Weather Service",
"station": "Austin City Austin Camp Mabry (KATT)",
"windKmh": 9.4,
"windMph": 6,
"humidity": 96.1,
"location": "Austin, TX, United States",
"observed": "2026-11-15T17:51:00+00:00",
"timezone": "America/Chicago",
"attribution": "Weather: US National Weather Service (public domain). Place names: GeoNames (geonames.org, CC BY 4.0)",
"pressureHpa": 1020,
"temperatureC": 11.7,
"temperatureF": 53,
"visibilityKm": 8.1
}Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.