Circuit
Code
Versions
API
RUNNING
The circuit is running and is healthy.
0Total Runs
0Avg Response Time
-Avg Tokens per Second
0Avg Spend per Run
-Input Cache Hit Rate
0.00%Error Rate
Control Panel
Login to ModelWorksLogin to ModelWorks to use this circuit. To get started, get an API key.
Explore endpointsModelWorks allows apps to access LLMs and MCP servers worldwide easily in any datacenter, securely and privately.
SecretsOverride default secrets and set up your own for better billing and security.
Circuit Card
National Weather Service Forecast
Fetch live forecast data from the U.S. National Weather Service (NWS) using latitude and longitude. This circuit performs a two-step lookup:
- Resolves the gridpoint endpoint for the given coordinates
- Retrieves the forecast JSON for that grid
Overview
- Name:
National Weather Service Forecast - Document type:
circuit - Engine version:
1.0 - Pricing:
FLAT 2units / request - Primary API:
https://api.weather.gov - Adapters:
MODELWORKS_SSE(supports streaming responses)
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
latitude | number | Yes | — | Latitude of the location. |
longitude | number | Yes | — | Longitude of the location. |
Examples
- New York City:
latitude = 40.7128,longitude = -74.0060 - San Francisco:
latitude = 37.7749,longitude = -122.4194
License
This circuit queries data from the National Weather Service, which is U.S. Government work and generally public domain. Your own circuit code/configuration may be under a separate license—choose what’s appropriate for your repository.
About
The service provides the official U.S. government weather forecast for any location. By submitting a latitude and longitude, it returns precise data like temperature, wind, and chance of precipitation.
About the Author
Weather.gov is the official public source for forecasts and life-saving alerts from the U.S. National Weather Service. Operating 24/7, their mission is to protect life and property by providing critical warnings for hurricanes, tornadoes, floods, and other severe weather. Trusted by millions, they turn cutting-edge science into actionable information for the nation.
Additional Information
Pricing Structure
The cost model for running this circuit. Charges may be fixed per execution or based on token usage.
Base Cost
FixedLocal
Flat rate per execution2 credits