MCP server for Kenya water stress and drought intelligence
Project description
💧 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 + 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
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wapimaji_mcp-0.1.0.tar.gz.
File metadata
- Download URL: wapimaji_mcp-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b48c9d3602f8e133122b19415992b3797587bc565a96eda1b076c028f3868c2
|
|
| MD5 |
02d3a23f3e3127d16c28e70fb877b742
|
|
| BLAKE2b-256 |
9214d94cfdd783f09f4a33f3f72049da1488217caaec5375214ddff1a1ac7c38
|
File details
Details for the file wapimaji_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wapimaji_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e5ff90b193c05945a7de0899d91304d6d9693f13679ec17791f5d392ad5f4ce
|
|
| MD5 |
6e6ed351fe6e3e14c7073160556e9b9a
|
|
| BLAKE2b-256 |
8e272df9ac8edcfa475b790035f349a949c39094f3a0d33040261b6bdc5f2655
|