wapimaji-mcp
This server provides AI agents with real-time access to Kenya's NDMA drought data and SMS alert capabilities across all 47 counties:
Get drought status for a specific county (
get_drought_status): Query the current NDMA drought phase (1=Minimal to 5=Famine) for any Kenyan county, including rainfall deficit percentage and affected population.Get drought alerts across multiple counties (
get_drought_alerts): Retrieve all counties at or above a specified drought phase threshold (default: Phase 3/Crisis) to identify regions in widespread drought emergency.Send SMS drought alerts (
sms_drought_alert): Send real SMS messages via Africa's Talking to lists of phone numbers (E.164 format) with custom messages and a sender ID. Supports sandbox mode for testing before sending to live recipients (Safaricom, Airtel, etc.).
💧 WapiMaji MCP — Kenya Water & Drought Intelligence
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.
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 + AirtelTools
Tool | Type | Description |
| Read-only | Current NDMA drought phase for a county |
| Read-only | Water stress index, rainfall deficit, river levels |
| Read-only | All counties at or above a given drought phase |
| Destructive | Send drought alert SMS via Africa's Talking |
Install
pip install wapimaji-mcp
# or:
uvx wapimaji-mcpConfigure
{
"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
mpesa-mcp — M-Pesa + Africa's Talking MCP server (3,000+ downloads)
WapiMaji — The Streamlit dashboard version
gabrielmahia.github.io — Full civic portfolio
IP & Collaboration
© 2026 Gabriel Mahia · contact@aikungfu.dev License: MIT Not affiliated with NDMA or Africa's Talking.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gabrielmahia/wapimaji-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server