Skip to main content

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.

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.

Project details


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.1.tar.gz (5.7 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.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wapimaji_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for wapimaji_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5fc564cd3ffbd6112705ad78a6da842e3b874ac6b66d0cac1474672451731bc6
MD5 b64d3bd77affb7f28c9a215bafae4bb7
BLAKE2b-256 5d9cbcc8ea2d34caa0c7aa3fae6f72be63f7c2b79776591790a1e928f20f75db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wapimaji_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for wapimaji_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bf4bcdc423c64f029a6fcfe0b31917d555ec57396f2a301509cae3222acb968
MD5 7ec0d2e5ff35c6d21e11b7e4df36afa6
BLAKE2b-256 dc4dde2030713a26cf25b98b7268ed3e77e1acf856bcf8f28ec91af829b3615b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page