{
  "markdown": "# 💧 WapiMaji MCP — Kenya Water & Drought Intelligence\n<!-- mcp-name: io.github.gabrielmahia/wapimaji-mcp -->\n\n[![wapimaji-mcp Glama score](https://glama.ai/mcp/servers/gabrielmahia/wapimaji-mcp/badges/score.svg)](https://glama.ai/mcp/servers/gabrielmahia/wapimaji-mcp)\n[![smithery badge](https://smithery.ai/badge/@gabrielmahia/wapimaji-mcp)](https://smithery.ai/server/@gabrielmahia/wapimaji-mcp)\n\n\n---\n**Compatible with `claude-sonnet-5`** (released 2026-06-30) — Anthropic's most agentic\nSonnet yet. Runs multi-step tool chains end-to-end without stopping short.\nInstall: `pip install wapimaji-mcp` · Use with any MCP client.\n\n---\n\n\n> 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.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-blue.svg)](https://python.org)\n[![MCP](https://img.shields.io/badge/MCP-Compatible-green)](https://modelcontextprotocol.io)\n\n## What it does\n\nWapiMaji MCP exposes Kenya drought and water stress data as MCP tools. Any Claude, GPT-4, or MCP-compatible AI agent can now:\n\n- Query live drought phase data for any of Kenya's 47 counties\n- Get water stress indices from NDMA drought monitor\n- Send SMS alerts to farmers via Africa's Talking when drought levels spike\n\n**One-prompt examples:**\n\n```\n\"What is the current drought phase in Marsabit County?\"\n→ Gets NDMA Phase 3 classification + rainfall deficit data\n\n\"Which counties are in drought emergency right now?\"\n→ Returns all counties at Phase 3+ with population affected\n\n\"SMS these 500 Garissa farmers: drought phase has escalated to 3\"\n→ Sends alerts via Africa's Talking across Safaricom + Airtel\n```\n\n## Tools\n\n| Tool | Type | Description |\n|------|------|-------------|\n| `get_drought_status` | Read-only | Current NDMA drought phase for a county |\n| `get_county_water_stress` | Read-only | Water stress index, rainfall deficit, river levels |\n| `get_drought_alerts` | Read-only | All counties at or above a given drought phase |\n| `sms_drought_alert` | Destructive | Send drought alert SMS via Africa's Talking |\n\n## Install\n\n```bash\npip install wapimaji-mcp\n# or:\nuvx wapimaji-mcp\n```\n\n## Configure\n\n```json\n{\n  \"mcpServers\": {\n    \"wapimaji\": {\n      \"command\": \"uvx\",\n      \"args\": [\"wapimaji-mcp\"],\n      \"env\": {\n        \"AT_USERNAME\": \"your_username\",\n        \"AT_API_KEY\": \"your_at_key\",\n        \"SANDBOX\": \"true\"\n      }\n    }\n  }\n}\n```\n\n## Data sources\n\n- **NDMA** — National Drought Management Authority drought phase classifications\n- **Kenya Meteorological Department** — rainfall data\n- **FEWS NET** — Famine Early Warning System food security projections\n\n## Related\n\n- [mpesa-mcp](https://pypi.org/project/mpesa-mcp/) — M-Pesa + Africa's Talking MCP server\n- [WapiMaji](https://wapimaji.streamlit.app) — The Streamlit dashboard version\n- [gabrielmahia.github.io](https://gabrielmahia.github.io) — Full civic portfolio\n\n## IP & Collaboration\n\n© 2026 Gabriel Mahia · [contact@aikungfu.dev](mailto:contact@aikungfu.dev)\nLicense: MIT\nNot affiliated with NDMA or Africa's Talking.\n\n\n## Data Sources\n\nThis server draws on open and public domain datasets for drought intelligence:\n\n**Open Government Data (Public Domain)**\n- NASA MODIS NDVI — vegetation index for drought early warning\n- NOAA CHIRPS — daily rainfall estimates (0.05° resolution)\n- NASA TRMM — monthly precipitation\n- USDA FEWS NET — East Africa livelihood zones\n\n**Historical Baseline Data (Public Domain)**\n- East Africa Meteorological Records 1900-1940 (colonial era, PD)\n- Kew Gardens East Africa Survey 1910 (botanical PD)\n\nThese are structured in [africa-open-climate-data](https://huggingface.co/datasets/gmahia/africa-open-climate-data)\nand [east-africa-agricultural-pd](https://huggingface.co/datasets/gmahia/east-africa-agricultural-pd).\n\n## Part of the East Africa Coordination Stack\n\nThis MCP server is one of 32 tools in the Kenya coordination infrastructure.\nConnect it to [`africa-coord-bus`](https://github.com/gabrielmahia/africa-coord-bus) —\nthe coordination event bus that routes signals between domains automatically.\n\n```bash\npip install africa-coord-bus\n```\n\nAll 32 servers: [pypi.org/user/gmahia](https://pypi.org/user/gmahia/)\nLive demo: [coord-cascade-demo](https://github.com/gabrielmahia/coord-cascade-demo)\n\n<!-- interconnect:v1 -->\n## Part of the East Africa coordination stack\n\n- **Install & run:** `pip install reli-cli && reli list` — 33 MCP servers on the [official MCP Registry](https://registry.modelcontextprotocol.io) under `io.github.gabrielmahia`\n- **Evaluate any model on Swahili agent tasks:** [kipimo](https://github.com/gabrielmahia/kipimo) · [dataset](https://huggingface.co/datasets/gmahia/kipimo) · [leaderboard](https://huggingface.co/spaces/gmahia/kipimo-leaderboard)\n- **Coordinate across servers:** [africa-coord-bus](https://pypi.org/project/africa-coord-bus/) — offline-first event bus with a built-in Kenya routing table\n- **Datasets:** [huggingface.co/gmahia](https://huggingface.co/gmahia) · **Docs hub:** [nairobi-stack](https://github.com/gabrielmahia/nairobi-stack)\n\nModel-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.\n<!-- /interconnect:v1 -->\n",
  "bytes": 5366,
  "sha": "acd93c6aabecef2c85f22cb87546adb87b1bd1e6f2557665d6f2ec267f830f73",
  "repo_slug": "gabrielmahia/wapimaji-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_gabrielmahia_wapimaji_mcp_de047b7c/readme"
}