wapimaji-mcp
You can query simulated Kenya county drought status/alerts and send gated SMS drought alerts; the schema overstates data, and README documents additional live forecast/coordination tools.
get_drought_status: returns a simulated drought phase for one county (1–5), labelled synthetic; not real NDMA observations despite schema wording.get_drought_alerts: returns simulated counties at or abovemin_phase(default 3); live aggregate alerts are not implemented.sms_drought_alert: sends Africa's Talking SMS to E.164 numbers; sandbox default returnssent: false; live send needsSANDBOX=false,confirm_send=true, and allowlisted recipients, max 20 recipients/160 chars.README also documents tools absent from this schema:
river_discharge_forecastandrainfall_forecast(live Open-Meteo/GloFAS forecasts) andpublish_drought_coordination(coordination-bus event).
💧 WapiMaji MCP — Kenya Water & Drought Intelligence
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.
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=falsethe 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 needsSANDBOX=false,confirm_send=trueand every recipient on the operator'sWAPIMAJI_SMS_ALLOWLIST(empty by default, so live sending is off).Coordination: publish a drought event so downstream MCP servers (insurance, agriculture advisory, health, county alerts) can react.
Related MCP server: DMAP-AI MCP Server
Tools
Tool | Type | Description |
| Read-only, simulated | A simulated drought phase for one county, labelled synthetic |
| Read-only, simulated | Simulated list of counties at or above a phase |
| Sends SMS | Send a drought alert SMS via Africa's Talking (live mode needs |
| Writes an event | Publish a drought coordination event for downstream servers |
| Read-only, live | Forecast daily river flow and peak day, from Copernicus GloFAS via Open-Meteo |
| Read-only, live | Daily rain forecast (mm, chance) for any location, from Open-Meteo |
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
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 SANDBOX=false, confirm_send=true (supplied only after the user explicitly
confirms that send) and an operator-set WAPIMAJI_SMS_ALLOWLIST of the numbers that may receive
alerts, because confirm_send is supplied by the model itself and is not an independent check. At most
WAPIMAJI_MAX_SMS_RECIPIENTS (default 20) recipients and 160 characters per call. 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
mpesa-mcp — M-Pesa + Africa's Talking MCP server
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.
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.
pip install africa-coord-busAll servers: pypi.org/user/gmahia Live demo: coord-cascade-demo
Part of the East Africa coordination stack
Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahiaEvaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Available Tools
3 toolsget_drought_alertsB
Get all Kenya counties at or above a given drought phase. min_phase: 1=Minimal, 2=Stressed, 3=Crisis, 4=Emergency, 5=Famine
Inputs: min_phase.
get_drought_statusA
Get current NDMA drought phase classification for a Kenya county. Returns drought phase (1=Minimal to 5=Famine), rainfall deficit %, and population affected. county: Kenya county name e.g. Turkana, Marsabit, Garissa
Inputs: county (required).
sms_drought_alertA
Send a drought alert SMS via Africa's Talking. DESTRUCTIVE — sends real SMS in production. Use SANDBOX=true for testing. phone_numbers: list of E.164 format numbers e.g. ["+254712345678"] message: SMS text (max 160 chars) sender_id: registered AT sender ID
Inputs: phone_numbers (required), message (required), sender_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: retrieving counties by drought phase, getting detailed status for a specific county, and sending an SMS alert. There is no overlap or ambiguity.
Tool names mostly follow a verb_noun pattern, but 'sms_drought_alert' uses 'sms' as a verb while 'get_drought_alerts' and 'get_drought_status' use 'get'. This minor inconsistency prevents a perfect score.
With only 3 tools, the server is tightly scoped to its purpose of drought alerting for Kenya. Each tool earns its place and the count is appropriate for the domain.
The tool set covers core needs: querying alerts, detailed status, and sending alerts. Minor gaps like listing all counties or historical data exist but are not critical for the primary use case.
Maintenance
Related MCP Connectors
African intelligence infrastructure for AI apps, developers, and data products via MCP.
An MCP server that through www.gdacs.org provides access to web‐based disaster information systems.
MCP server for the GDEX (Geoscience Data Exchange) data portal: datasets, files, metrics, subsetting
Bangladesh's first national public data MCP server and REST API (mcp-bangladesh). Combines 8 live Bangladesh government datasets into a single free, zero-auth endpoint: DGHS dengue and measles stats, FFWC river flood levels (44 stations), BPDB power generation (40 plants), district weather, city air quality (AQI), 6 ministry notice boards, Bangladesh Bank forex/inflation, and geography.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for East African fintech APIs — trigger M-Pesa STK Push payments, check transaction status, send SMS to 20+ African networks, and top up airtime via Africa's Talking.5213 PyPI6MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for DMAP-AI drought monitoring and SPI drought analysis using NASA POWER and ERA5-Land/CDS data.-
- AlicenseAqualityBmaintenanceMCP server for East Africa commodity price intelligence — regional price comparison across 8 markets, trend analysis, and sell/hold decision support for smallholder farmers. 5 tools.5108 PyPIMIT
- AlicenseCqualityBmaintenanceMCP server for Kenya environment — NEMA permits, climate data, conservation areas, environmental rights, climate adaptation.594 PyPIMIT