Wems

io.github.heliosarchitect由 GitHub 帳號 heliosarchitect 發布v1.5.3更新於 Oct 24, 2026

Real-time natural hazard monitoring: earthquakes, tsunamis, volcanoes, solar weather, air quality

已驗證STDIO僅桌面位置與生活安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理取得即時天然災害資料:地震、海嘯、火山、太空天氣、風暴、空氣品質與威脅通告。

可以做什麼
依地區或門檻查詢近期地震、海嘯、火山與乾旱狀況,支援地震規模與火山警報等級篩選,以及美國各州乾旱等級。查看太空天氣與太陽活動,包括 K 指數、閃焰、日冕物質拋射和 NOAA 現行警報。追蹤颶風、野火、劇烈天氣與洪水,包括預報路徑、火場範圍和河川水位資料。讀取空氣品質指標與污染物明細,以及涵蓋恐怖主義、旅遊風險和網路威脅的通告。調整警報門檻與 webhook 位址,並可選擇性地融合多來源事件。
適用情境
適合助理需要權威的即時災害資訊來做風險評估、新聞報導、研究或依地點進行安全監測時使用,也適合想把重大事件推送到 webhook 的情境。
執行需求
以 Python 套件(wems-mcp-server)透過 pip 在本機執行,也可從原始碼執行,README 另提到 Docker。它會呼叫 USGS、NOAA、NWS、史密森學會、OpenAQ、DHS、美國國務院和 CISA 的公開災害介面,因此需要網路存取。可透過 WEMS_CONFIG 環境變數傳入選用的設定檔路徑。
安裝前請注意
警報設定可指定接收事件資料的 webhook 位址,請只指向你信任的端點。README 說明以 Stripe 計量、依呼叫次數計費並有免費額度,並提到用於計費的 STRIPE_API_KEY 或 STRIPE_SECRET_KEY;使用前請確認計費是否實際生效。一鍵安裝腳本會安裝系統服務並寫入 n8n 工作流程,會變更本機設定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Wems,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🌍 WEMS - World Event Monitoring System

[PyPI version] [License: MIT] [Python 3.8+] [MCP Compatible]

🚨 Real-time Natural Hazard Monitoring for AI Agents

A powerful Model Context Protocol (MCP) server that connects AI assistants to authoritative natural hazard data sources. Monitor earthquakes, tsunamis, volcanoes, and solar events with configurable alerts and webhooks.

🤖 AI Agents: Skip scanning this repo. Read AI.TOC first — it's a 500-token project map. Then use AI.INDEX to find specific functions and AI.REGISTER for env vars, APIs, and config. This project uses the LBF AI Navigation Standard.

⚡ Key Features

  • 🌋 9+ Authoritative Data Sources: USGS, NOAA, Smithsonian GVP, NHC, NIFC, OpenAQ, DHS, State Dept, CISA, US Drought Monitor
  • 🎯 Real-time Monitoring: Live data feeds with customizable thresholds
  • 🔔 Smart Alerts: Webhook notifications for critical events
  • 🗺️ Geographic Filtering: Target specific regions or global coverage
  • 🔧 Zero Configuration: Works out-of-the-box, configure only what you need
  • 🐳 Production Ready: Docker support, comprehensive error handling

Natural Hazards Covered

Hazard TypeData SourceCoverage
🌊 EarthquakesUSGSGlobal, magnitude filtering
🌊 TsunamisNOAA PTWC + CTWCGlobal ocean basins
🌋 VolcanoesSmithsonian GVP + USGSGlobal volcanic activity
☀️ Solar EventsNOAA SWPCSolar flares, CMEs, geomagnetic storms
🌞 Space Weather AlertsNOAA SWPCActive space weather alerts & warnings
🌀 HurricanesNHC + NWSAtlantic & Pacific tropical cyclones
🔥 WildfiresNWS + NIFCFire weather alerts & active perimeters
⛈️ Severe WeatherNWS AlertsTornadoes, thunderstorms, floods, winter storms
💨 Air QualityOpenAQGlobal AQI, PM2.5, PM10, O₃, NO₂, SO₂, CO
🌵 Drought ConditionsUS Drought MonitorUS state drought levels (D0-D4) + trends
🛡️ Threat AdvisoriesDHS NTAS + State Dept + CISATerrorism, travel risk, cyber threats

🚀 Quick Start

Install via PyPI (Recommended)

bash
pip install wems-mcp-server

Or install from source

bash
git clone https://github.com/heliosarchitect/wems-mcp-server.gitcd wems-mcp-serverpip install -r requirements.txt

Basic Usage

bash
# Run as MCP server (connects to AI assistants)python -m wems_mcp_server
# Test earthquake monitoringpython -c "import asynciofrom wems_mcp_server import check_earthquakesprint(asyncio.run(check_earthquakes(min_magnitude=6.0)))"

One-command AI Alerting Setup (Relay + n8n)

bash
bash scripts/setup_wems_alerting_ai.sh

This will:

  • install/start wems-unified-relay.service
  • upsert and activate the unified n8n ingest workflow
  • wire tracker posting credentials automatically

Example Output

json
{  "earthquakes_found": 3,  "events": [    {      "magnitude": 7.2,      "location": "67 km SW of Tres Picos, Mexico",      "time": "2024-02-13T14:30:15Z",      "depth": 35.8,      "tsunami_threat": true    }  ]}

MCP Tools

ToolDescription
check_earthquakesQuery recent earthquake activity
check_solarMonitor space weather (K-index, flares, CMEs)
check_volcanoesTrack volcanic activity alerts
check_tsunamisMonitor tsunami warnings
check_hurricanesTrack tropical cyclones & forecast tracks
check_wildfiresFire weather alerts & active perimeters
check_severe_weatherMonitor tornadoes, thunderstorms, flash floods
check_floodsFlood warnings & USGS river gauge data
check_air_qualityAQI monitoring with pollutant data
check_threat_advisoriesTerrorism, travel risk & cyber threat monitoring
check_space_weather_alertsActive space weather alerts & warnings from NOAA SWPC
check_drought_statusUS state drought conditions with D0-D4 levels (Premium)
configure_alertsUpdate alert thresholds and webhooks
fuse_multi_source_incidentsMulti-source incident fusion (feature-flagged)

Configuration

yaml
alerts:  earthquake:    min_magnitude: 6.0    regions: ["US", "Caribbean", "Pacific"]    webhook: "https://your-endpoint.com/earthquake"    solar:    min_kp_index: 7  # Geomagnetic storm threshold    webhook: "https://your-endpoint.com/solar"      volcano:    alert_levels: ["WARNING", "WATCH"]    webhook: "https://your-endpoint.com/volcano"      tsunami:    enabled: true    regions: ["pacific", "atlantic", "indian"]    webhook: "https://your-endpoint.com/tsunami"

Data Sources

  • USGS Earthquake Hazards Program
  • NOAA Pacific Tsunami Warning Center
  • NOAA Central Tsunami Warning Center
  • Smithsonian Global Volcanism Program
  • NOAA Space Weather Prediction Center
  • National Hurricane Center (NHC)
  • National Interagency Fire Center (NIFC)
  • NWS Alerts API
  • OpenAQ (Global Air Quality)
  • DHS National Terrorism Advisory System (NTAS)
  • U.S. State Department Travel Advisories
  • CISA Cybersecurity Advisories

OpenClaw Integration

Add to your OpenClaw configuration:

json
{  "mcpServers": {    "wems": {      "command": "python3",      "args": ["/path/to/wems-mcp-server/wems_mcp_server.py"],      "env": {        "WEMS_CONFIG": "/path/to/config.yaml"      }    }  }}

🎯 Use Cases

  • 🏢 Enterprise Risk Management: Automated threat assessment for global operations
  • 📺 News Organizations: Real-time natural disaster reporting and alerts
  • 🔬 Research Institutions: Data collection for scientific analysis
  • 🏠 Personal Safety: Location-specific hazard monitoring for families
  • 🤖 AI Emergency Response: Integration with disaster response chatbots
  • 📱 Alert Systems: Custom notification workflows for critical events

🔧 Advanced Configuration

yaml
# config.yaml - Full customization examplealerts:  earthquake:    min_magnitude: 6.0    regions: ["US", "Caribbean", "Pacific"]    webhook: "https://your-endpoint.com/earthquake"      solar:    min_kp_index: 7  # G3+ geomagnetic storm    webhook: "https://your-endpoint.com/solar"      volcano:    alert_levels: ["WARNING", "WATCH"]     regions: ["Cascade Range", "Ring of Fire"]    webhook: "https://your-endpoint.com/volcano"      tsunami:    enabled: true    regions: ["pacific", "atlantic", "indian"]    webhook: "https://your-endpoint.com/tsunami"

📊 Monitoring Dashboard

Pair with monitoring tools for comprehensive coverage:

bash
# Example: Send earthquake data to monitoring systemcurl -X POST https://your-monitoring.com/api/events \  -H "Content-Type: application/json" \  -d "$(python -c 'import wems; print(wems.get_recent_earthquakes())')"

💳 Billing & Monetization (Current)

WEMS now includes Stripe metering scaffolding and affordable default pricing.

Current pricing defaults

  • Free tier: 5,000 calls per rolling 30 days
  • 0–100,000 calls: $0.0010/call
  • 100,001–500,000 calls: $0.0008/call
  • 500,001+ calls: $0.0006/call

Accessory call weights (default)

  • Most tools: 1 unit
  • check_space_weather_alerts: 2 units
  • fuse_multi_source_incidents: 3 units

Billing config

See: config/wems_stripe_billing.json

Key fields:

  • event_name
  • api_key_to_customer
  • billing_units.default
  • billing_units.by_tool
  • pricing.free_calls_per_rolling_30d
  • pricing.tiers[]

Stripe key source

  1. STRIPE_API_KEY or STRIPE_SECRET_KEY (direct env)

WEMS uses best-effort lookup and never blocks alerting if billing key resolution fails.


Built with ❤️ for the AI community by Helios 🌞

Part of the expanding OpenClaw ecosystem

來源:README.md,提交 1941432

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.5.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分