NWS Weather Alerts
Active weather alerts and warnings from the National Weather Service
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- INFO在 get_alert_detail 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"nws-alerts": {
"url": "https://mcp.olyport.com/nws-alerts/mcp"
}
}
}遠端端點
https://mcp.olyport.com/nws-alerts/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢get_alerts(state, severity, event, limit)
Get active NWS weather alerts for a US state. Returns current weather alerts including watches, warnings, and advisories issued by the National Weather Service. Args: state: Two-letter US state abbreviation (e.g. 'CA', 'TX', 'NY'). severity: Filter by severity level: 'Extreme', 'Severe', 'Moderate', or 'Minor'. event: Filter by event type (e.g. 'Tornado Warning', 'Flash Flood Watch'). limit: Maximum number of alerts to return (default 25, max 500).
輸入結構描述
{
"type": "object",
"properties": {
"state": {
"title": "State",
"type": "string"
},
"severity": {
"default": null,
"title": "Severity",
"type": "string"
},
"event": {
"default": null,
"title": "Event",
"type": "string"
},
"limit": {
"default": 25,
"title": "Limit",
"type": "integer"
}
},
"required": [
"state"
],
"title": "get_alertsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_alertsOutput"
}🟢get_alert_detail(alert_id)
Get full details of a specific NWS weather alert by its ID. Returns the complete alert including description, instructions, and affected areas. Use alert IDs from get_alerts results. Args: alert_id: The full NWS alert ID (e.g. 'urn:oid:2.49.0.1.840.0.xxx').
輸入結構描述
{
"type": "object",
"properties": {
"alert_id": {
"title": "Alert Id",
"type": "string"
}
},
"required": [
"alert_id"
],
"title": "get_alert_detailArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_alert_detailOutput"
}🟢get_forecast(latitude, longitude)
Get the weather forecast for a specific latitude/longitude location. Returns a multi-day forecast from the National Weather Service. Works for any location within the United States and its territories. Args: latitude: Latitude of the location (e.g. 38.8894 for Washington DC). longitude: Longitude of the location (e.g. -77.0352 for Washington DC).
輸入結構描述
{
"type": "object",
"properties": {
"latitude": {
"title": "Latitude",
"type": "number"
},
"longitude": {
"title": "Longitude",
"type": "number"
}
},
"required": [
"latitude",
"longitude"
],
"title": "get_forecastArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_forecastOutput"
}社群
證據