get_alerts
Pack: noaa · Endpoint: https://gateway.pipeworx.io/noaa/mcp
Check active weather alerts for a US state (e.g., “CA”, “NY”, “TX”). Returns alert type, severity, affected areas, and descriptions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | yes | Two-letter US state code (e.g. “CA”, “NY”) |
Example call
Arguments
{
"state": "CA"
}
curl
curl -X POST https://gateway.pipeworx.io/noaa/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_alerts","arguments":{"state":"CA"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_alerts', {
"state": "CA"
});
More examples
{
"state": "TX"
}
Response shape
Always returns: state, count, alerts
| Field | Type | Description |
|---|---|---|
state | string | Two-letter US state code |
count | number | Number of active alerts |
alerts | array |
Full JSON Schema
{
"type": "object",
"properties": {
"state": {
"type": "string",
"description": "Two-letter US state code"
},
"count": {
"type": "number",
"description": "Number of active alerts"
},
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Alert ID"
},
"event": {
"type": "string",
"description": "Alert event type"
},
"headline": {
"type": [
"string",
"null"
],
"description": "Alert headline"
},
"severity": {
"type": "string",
"description": "Alert severity level"
},
"urgency": {
"type": "string",
"description": "Alert urgency"
},
"certainty": {
"type": "string",
"description": "Alert certainty"
},
"effective": {
"type": "string",
"description": "ISO 8601 effective time"
},
"expires": {
"type": "string",
"description": "ISO 8601 expiration time"
},
"area": {
"type": [
"string",
"null"
],
"description": "Affected area description"
},
"description": {
"type": [
"string",
"null"
],
"description": "Alert description"
}
},
"required": [
"id",
"event",
"headline",
"severity",
"urgency",
"certainty",
"effective",
"expires",
"area",
"description"
]
}
}
},
"required": [
"state",
"count",
"alerts"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"noaa": {
"url": "https://gateway.pipeworx.io/noaa/mcp"
}
}
}
See Getting Started for client-specific install steps.