Weather current (10 sats L402 or $0.01 USDC x402)
get_weather_currentCurrent conditions for lat/lon or a US city/ZIP (NOAA NWS in the US; MET Norway elsewhere) — use this for a point weather check. Price: 10 sats (Lightning) or $0.01 USDC on Base (x402). Sample (illustrative, not live): {"status":"success","endpoint":"weather_current","data":{"coverage":"us","source":"noaa_nws","place":{"lat":30.27,"lon":-97.74,"city":"Austin","state":"TX","zip":null},"conditions":{"as_of":"2026-11-15T20:00:00Z","text":"Cloudy","temperature_c":12.0,"temperature_f":53.6,"relative_humidity_percent":70,"wind_speed_mph":8.0}},"metadata":{"cost_sats":10}} Pay: Call it, get HTTP 402 (or MCP payment_required) with a Lightning invoice and macaroon, pay the invoice, then retry with Authorization: L402 <macaroon>:<preimage>. Or pay in USDC on Base via x402: sign the 402's x402 requirement (PAYMENT-REQUIRED header, or accepts in the JSON body) and retry with the PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1) header; only a 200 is settled.
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_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Same as location: US city or ZIP. | |
| lat | No | Latitude (−90 to 90). Use with lon. | |
| lon | No | Longitude (−180 to 180). Use with lat. | |
| zip | No | 5-digit US ZIP code. | |
| state | No | US state or territory code (alerts only), e.g. TX. | |
| location | No | US city ('Austin, TX') or 5-digit ZIP. Alias: q. | |
| x402_payment | No | Optional x402 payment (USDC on Base): base64 PaymentPayload (v2, or v1 X-PAYMENT format) signed for accepts[0] of this tool's payment_required result. Alternative to params._meta['x402/payment']. Omit both to receive the payment requirements. | |
| l402_credential | No | Optional L402 credential '<macaroon>:<preimage_hex>' (or 'L402 <macaroon>:<preimage>') from a paid invoice or an active subscription. Omit it to receive the Lightning invoice and macaroon. |