Odel
wapimaji mcp

wapimaji mcp

Local
@gabrielmahia1PythonMITUpdated 1w ago

๐Ÿ’ง WapiMaji MCP โ€” Kenya Water & Drought Intelligence

๐Ÿ’ง WapiMaji MCP โ€” Kenya Water & Drought Intelligence

wapimaji-mcp Glama score smithery badge


Compatible with claude-sonnet-5 (released 2026-06-30) โ€” Anthropic's most agentic Sonnet yet. Runs multi-step tool chains end-to-end without stopping short. Install: pip install wapimaji-mcp ยท Use with any MCP client.


MCP server giving AI agents real-time access to Kenya's water stress and drought data โ€” all 47 counties, NDMA drought phase classifications, and SMS alert capability via Africa's Talking.

License: MIT Python 3.10+ MCP

What it does

WapiMaji MCP exposes Kenya drought and water stress data as MCP tools. Any Claude, GPT-4, or MCP-compatible AI agent can now:

  • Query live drought phase data for any of Kenya's 47 counties
  • Get water stress indices from NDMA drought monitor
  • Send SMS alerts to farmers via Africa's Talking when drought levels spike

One-prompt examples:

"What is the current drought phase in Marsabit County?"
โ†’ Gets NDMA Phase 3 classification + rainfall deficit data

"Which counties are in drought emergency right now?"
โ†’ Returns all counties at Phase 3+ with population affected

"SMS these 500 Garissa farmers: drought phase has escalated to 3"
โ†’ Sends alerts via Africa's Talking across Safaricom + Airtel

Tools

ToolTypeDescription
get_drought_statusRead-onlyCurrent NDMA drought phase for a county
get_county_water_stressRead-onlyWater stress index, rainfall deficit, river levels
get_drought_alertsRead-onlyAll counties at or above a given drought phase
sms_drought_alertDestructiveSend drought alert SMS via Africa's Talking

Install

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

Configure

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

Data sources

  • NDMA โ€” National Drought Management Authority drought phase classifications
  • Kenya Meteorological Department โ€” rainfall data
  • FEWS NET โ€” Famine Early Warning System food security projections

Related

IP & Collaboration

ยฉ 2026 Gabriel Mahia ยท contact@aikungfu.dev License: MIT Not affiliated with NDMA or Africa's Talking.

Data Sources

This server draws on open and public domain datasets for drought intelligence:

Open Government Data (Public Domain)

  • NASA MODIS NDVI โ€” vegetation index for drought early warning
  • NOAA CHIRPS โ€” daily rainfall estimates (0.05ยฐ resolution)
  • NASA TRMM โ€” monthly precipitation
  • USDA FEWS NET โ€” East Africa livelihood zones

Historical Baseline Data (Public Domain)

  • East Africa Meteorological Records 1900-1940 (colonial era, PD)
  • Kew Gardens East Africa Survey 1910 (botanical PD)

These are structured in africa-open-climate-data and east-africa-agricultural-pd.

Part of the East Africa Coordination Stack

This MCP server is one of 32 tools in the Kenya coordination infrastructure. Connect it to africa-coord-bus โ€” the coordination event bus that routes signals between domains automatically.

pip install africa-coord-bus

All 32 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.