weather_stargazing
Stargazing forecast (US) — Best nights and hours to see the stars at a US location: NOAA/NWS hourly sky cover, precip chance, visibility and temperature combined with an offline sun and moon ephemeris (astronomical darkness, moon altitude and illumination). Each night gets a 0-100 score, a rating EXCELLENT/GOOD/FAIR/POOR/CLOUDED OUT, the longest clear dark window, moon phase and the best hour, plus an overall GO/MAYBE/NO-GO. lat+lon or place; optional nights=1-6 (default 3), max_sky=0-100 cloud-cover limit (default 30), hours=true for the hourly rows. Example: /v1/weather/stargazing?lat=31.96&lon=-111.60&nights=5 Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "weather_stargazing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | 31.96 | |
| lon | Yes | -111.60 |