Wapimaji Mcp

io.github.gabrielmahia由 GitHub 帳號 gabrielmahia 發布v0.1.19更新於 Nov 7, 2026

Kenya drought-response toolkit: simulated drought phases, confirmed SMS alerts, coordination events

概覽

AI 產生的概覽

肯亞水資源與乾旱工具包:模擬縣級乾旱階段、需確認的簡訊預警、協調事件,以及即時河川流量與降雨預報。

可以做什麼
  • 查詢肯亞 47 個縣的模擬乾旱階段與預警名單,結果一律標示為合成資料
  • 透過 Africa's Talking 發送乾旱預警簡訊,預設為模擬,實際發送需明確確認
  • 發布乾旱協調事件,供保險、農業、衛生等下游伺服器反應
  • 以 Open-Meteo 的 Copernicus GloFAS 資料預報每日河川流量與峰值日
  • 預報任一地點最長 16 天的每日雨量與降雨機率
適用情境
適合用來建置或測試肯亞乾旱應變流程與代理程式之間的下游協調,或取得某地點的即時河川流量與降雨預報。不適合作為真實乾旱觀測或官方預警的來源。
執行需求
以 Python 套件在本機透過 stdio 執行(pip install wapimaji-mcp 或 uvx wapimaji-mcp)。實際發送簡訊需要 Africa's Talking 的 AT_USERNAME 與 AT_API_KEY,並設定 SANDBOX=false。預報工具需要網路連線至 Open-Meteo。
安裝前請注意
乾旱階段與彙總預警為模擬資料,並非 NDMA 觀測,不可用於決策。實際發送簡訊會送出真實訊息,需 SANDBOX=false 且 confirm_send=true,並在使用者確認後使用;服務商接受不代表已送達。Africa's Talking 憑證以環境變數傳入。預報並非官方洪水警報。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

💧 WapiMaji MCP — Kenya Water & Drought Intelligence

[wapimaji-mcp Glama score]

Install: pip install wapimaji-mcp · Use with any MCP client.

A Kenya drought-response toolkit for AI agents: simulated county drought phases (no real NDMA data is integrated yet), SMS alerts through Africa's Talking that need explicit confirmation, and drought events published to the coordination bus.

[License: MIT] [Python 3.11+] [MCP]

What it does, and does not

  • Simulated drought phases for the 47 counties. Values are generated from the county name so downstream flows can be built and tested. They are not observations and not NDMA data; every answer says "synthetic": true. Never use them for decisions.
  • No real data source is integrated. With SANDBOX=false the status tools return an explicit "not implemented, status unknown" error. NDMA publishes drought phases as periodic bulletins; FEWS NET and IPC publish food-security classifications through APIs that were slow or unverified when checked on 2026-10-07. Integrating one is the next step.
  • SMS alerts through Africa's Talking: simulated by default (sent: false); a live send needs SANDBOX=false and confirm_send=true.
  • Coordination: publish a drought event so downstream MCP servers (insurance, agriculture advisory, health, county alerts) can react.

Tools

ToolTypeDescription
get_drought_statusRead-only, simulatedA simulated drought phase for one county, labelled synthetic
get_drought_alertsRead-only, simulatedSimulated list of counties at or above a phase
sms_drought_alertSends SMSSend a drought alert SMS via Africa's Talking (needs confirm_send=true in live mode)
publish_drought_coordinationWrites an eventPublish a drought coordination event for downstream servers
river_discharge_forecastRead-only, liveForecast daily river flow and peak day, from Copernicus GloFAS via Open-Meteo
rainfall_forecastRead-only, liveDaily rain forecast (mm, chance) for any location, from Open-Meteo

Install

bash
pip install wapimaji-mcp# or:uvx wapimaji-mcp

Configure

json
{  "mcpServers": {    "wapimaji": {      "command": "uvx",      "args": ["wapimaji-mcp"],      "env": {        "AT_USERNAME": "your_username",        "AT_API_KEY": "your_at_key",        "SANDBOX": "true"      }    }  }}

Data sources

Runtime safety and data limits

SANDBOX=true (the default) uses simulated county drought values, including aggregate alerts. These values are not observations from NDMA. Live aggregate alerts are not implemented and return an explicit error with unknown status.

SMS calls in sandbox return sent: false without contacting Africa's Talking. Live SMS requires both SANDBOX=false and confirm_send=true, supplied only after the user explicitly confirms that send. Provider acceptance does not establish delivery to the recipient.

No real data source is integrated. Earlier versions listed NDMA, the Kenya Meteorological Department and FEWS NET here; the code never used them.

Related

IP & Collaboration

© 2026 Gabriel Mahia · [email protected] License: MIT Not affiliated with NDMA or Africa's Talking.

Related datasets

Earlier versions said this server draws on NASA MODIS NDVI, NOAA CHIRPS, TRMM and FEWS NET; it does not read any of them. The Hugging Face datasets africa-open-climate-data and east-africa-agricultural-pd are separate resources.

Live data

  • river_discharge_forecast: forecast daily river flow (m³/s) and the peak day at a point on a river, from Copernicus GloFAS via Open-Meteo (CC BY 4.0). Not an official flood warning.
  • rainfall_forecast: daily rain (mm) and chance of rain for up to 16 days at any location, from Open-Meteo (CC BY 4.0; free API for non-commercial use).

Each live answer names its source, attribution and retrieval time; if a service does not answer, the tool returns an error instead of a number. The other tools are unchanged.

Part of the East Africa Coordination Stack

This MCP server is part of the Kenya coordination infrastructure. Connect it to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

bash
pip install africa-coord-bus

All servers: pypi.org/user/gmahia Live demo: coord-cascade-demo

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

來源:README.md,提交 2e7de85

工具

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

版本歷史

12
  1. v0.1.19最新Nov 7, 2026
  2. v0.1.18Nov 5, 2026
  3. v0.1.17Nov 3, 2026
  4. v0.1.16Oct 29, 2026
  5. v0.1.15Oct 23, 2026
  6. v0.1.14Oct 21, 2026
  7. v0.1.13Oct 17, 2026
  8. v0.1.12Oct 14, 2026
  9. v0.1.11Oct 8, 2026
  10. v0.1.10Oct 7, 2026
  11. v0.1.9Oct 6, 2026
  12. v0.1.6Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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