Skip to main content

💧 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

Tool Type Description
get_drought_status Read-only Current NDMA drought phase for a county
get_county_water_stress Read-only Water stress index, rainfall deficit, river levels
get_drought_alerts Read-only All counties at or above a given drought phase
sms_drought_alert Destructive Send 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wapimaji_mcp-0.1.8.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wapimaji_mcp-0.1.8-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file wapimaji_mcp-0.1.8.tar.gz.

File metadata

  • Download URL: wapimaji_mcp-0.1.8.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for wapimaji_mcp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 511aeaebb1b2cf35c268cfbc8616d2cb2345a4d59198372b6415992ef2ae0a78
MD5 d598dc1432fd16a170a10beb365085dc
BLAKE2b-256 d1e81fb6eb5c4ffcc6e3c823c2e26dfa743210f679bab00bcf4ebc8f4f35215b

See more details on using hashes here.

File details

Details for the file wapimaji_mcp-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: wapimaji_mcp-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for wapimaji_mcp-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fc2076792af8c60af4a27b05f36d3b15c0f1f8560ab3bcf0df6244a2197831c7
MD5 1983db4309abada39eb0511d1afd9c66
BLAKE2b-256 e78c01f2c5d106c1daf892dc438b99a773ca29552f32376d79c956b626af6404

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page