Environment
Data source: NOAA / NWS
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/noaa-alerts/
claude_desktop_config.json
{
"mcpServers": {
"gnist-noaa-alerts": {
"url": "https://context.gnist.ai/mcp/noaa-alerts/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/noaa-alerts/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_alerts_for_point", "arguments": {"latitude": 1.0, "longitude": 1.0}}}'
REST API
API Root
https://context.gnist.ai/rest/noaa-alerts/
4 endpoints available:
GET /rest/noaa-alerts/get_active_alertsGET /rest/noaa-alerts/get_alerts_for_pointGET /rest/noaa-alerts/get_alertGET /rest/noaa-alerts/report_feedback
Shell
curl "https://context.gnist.ai/rest/noaa-alerts/get_alerts_for_point?latitude=1.0&longitude=1.0" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/noaa-alerts/get_alerts_for_point",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"latitude": 1.0,
"longitude": 1.0
},
)
print(resp.json())
Command Line
Command
gc noaa-alerts
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
get_active_alertsGet all currently active NOAA weather alerts and warnings across the US.
| Parameter | Type | Required | Description |
|---|---|---|---|
state | any | optional | Two-letter US state/territory code to filter by (e.g. "CA", "TX", "PR"). |
severity | any | optional | Filter by severity level — "Extreme", "Severe", "Moderate", "Minor". |
event | any | optional | Filter by event type (e.g. "Tornado Warning", "Winter Storm Watch"). |
urgency | any | optional | Filter by urgency — "Immediate", "Expected", "Future", "Past". |
certainty | any | optional | Filter by certainty — "Observed", "Likely", "Possible", "Unlikely". |
limit | integer | optional | Maximum results to return (1-500, default 50). (default: 50) |
get_alerts_for_pointGet active weather alerts for a specific geographic point in the US.
| Parameter | Type | Required | Description |
|---|---|---|---|
latitude | number | required | Latitude of the point (-90 to 90). |
longitude | number | required | Longitude of the point (-180 to 180). |
limit | integer | optional | Maximum results to return (1-100, default 20). (default: 20) |
get_alertGet detailed information about a specific weather alert by its NWS alert ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
alert_id | string | required | The NWS alert identifier (e.g. "urn:oid:2.49.0.1.840.0.abc123"). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |