Weather
get_weatherUse this when an agent needs weather, Data BitScored: current conditions (kind="intuitive", the default), a 7-day forecast (kind="stats"), go/no-go windows and location compare (kind="pro"), or severe-weather alerts (kind="signals") for a city, ZIP, lat/lon, or a route. Pass location, zip, or lat+lon; kind=pro also takes locations or origin/destination and optional wind, temperature and precipitation limits; kind=signals also takes state. Informational only, not for navigation. Examples: get_weather(kind="intuitive", location="Austin, TX"); get_weather(kind="pro", locations="Austin, TX|Dallas, TX"); get_weather(kind="signals", state="TX"). Returns JSON in the data field with source attribution. Read-only; the only side effect is the payment you choose to make.
Kinds and prices:
kind="intuitive": 10 sats or $0.01 USDC. Use this when a user asks what the weather is now, or an agent checks conditions at a destination. Pass location (city, ZIP, or lat/lon); omit to default to Austin, TX. Returns temperature_c, temperature_f, humidity, wind_speed_mph and a text summary, with a Data BitScore.
kind="stats": 50 sats or $0.05 USDC. Use this when planning trips, deliveries or outdoor events: an hourly and 7-day forecast, not just current weather. Pass location, ZIP, or lat/lon; omit to default to Austin, TX. Returns period forecasts with temperature and short_forecast. Example: GET /api/v1/data/weather_stats?location=Austin,+TX or MCP get_weather(kind="stats", location="Austin, TX").
kind="pro": 100 sats or $0.10 USDC. Use this when a routing, delivery or travel agent must decide whether conditions stay within wind, precipitation and temperature limits at one place or along a route. Pass location or locations (pipe- or semicolon-separated) or origin and destination; optional wind_mph_max, temp_f_min, temp_f_max, precip_chance_max.
kind="signals": 200 sats or $0.20 USDC. Use this when a monitoring or travel agent must check for severe-weather warnings (tornado, flood, wind, winter storm) at a US point, city, ZIP or a whole state. Returns event, severity, headline, onset, expires. US coverage. Omit the parameter to default to state=TX. Payment: Pay by calling without a credential, paying the Lightning invoice or the USDC amount, then retrying with l402_credential=':' or x402_payment. One payment buys one response. Details: https://api.bittuitive.ai/pay. Informational only; not financial, investment, legal or tax advice; provided as-is, with no warranty; verify before acting. https://api.bittuitive.ai/disclaimer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Alias of location. | |
| lat | No | Latitude, -90 to 90. Use together with lon. | |
| lon | No | Longitude, -180 to 180. Use together with lat. | |
| zip | No | 5-digit US ZIP code. | |
| kind | No | Product to fetch. Every kind, its price and when to use it are listed in the tool description. Defaults to "intuitive". | |
| state | No | Two-letter US state or territory (kind=alerts only), e.g. TX. | |
| origin | No | Route origin for kind=pro. | |
| location | No | US city ('Austin, TX') or 5-digit ZIP. | |
| locations | No | Pipe- or semicolon-separated places for kind=pro, e.g. 'Austin, TX|Dallas, TX'. | |
| temp_f_max | No | Go/no-go maximum temperature F (kind=pro). Default 100. | |
| temp_f_min | No | Go/no-go minimum temperature F (kind=pro). Default 20. | |
| destination | No | Route destination for kind=pro. | |
| credit_token | No | Prepaid token (btf_..., from buy_credits). Pays this call from your prepaid sats or USDC balance with no invoice; a failed call is refunded. Balance is non-refundable. | |
| wind_mph_max | No | Go/no-go wind limit in mph (kind=pro). Default 25. | |
| x402_payment | No | x402 payment (USDC on Base): base64 PaymentPayload signed for accepts[0] of the payment_required result. Alternative to l402_credential; also accepted in params._meta['x402/payment']. | |
| l402_credential | No | L402 credential '<macaroon>:<preimage_hex>' from a paid invoice (or an active subscription). Omit it on the first call to receive the Lightning invoice and macaroon. | |
| precip_chance_max | No | Go/no-go max precipitation chance percent (kind=pro). Default 50. |