TollNode

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

Claude Code

Is it going to rain in Austin, TX over the next few days?

TollNode · 7_day$0.002 · 14 periods · 2 s

PeriodHigh/low (F)Rain chance
This Afternoon5654%
Tonight4820%
Monday568%
Tuesday670%
+10 more periods

Real result.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

What your agent can pull about the weather

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

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.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
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

request body: current
{"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

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.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/weather

Input

FieldTypeNotes
latnumberLatitude, with lon, instead of location
lonnumberLongitude, with lat, instead of location
action*enumWhat to get; each has its own price. Default current (current, hourly, 7_day, alerts)
locationstringA 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.