Skip to main content
Glama

💧 WapiMaji MCP — ケニアの水と干ばつに関するインテリジェンス

AIエージェントがケニアの水ストレスおよび干ばつデータ(全47郡、NDMA干ばつフェーズ分類)にリアルタイムでアクセスし、Africa's Talking経由でSMSアラートを送信できるようにするMCPサーバー。

License: CC BY-NC-ND 4.0 Python 3.10+ MCP

機能

WapiMaji MCPは、ケニアの干ばつおよび水ストレスデータをMCPツールとして公開します。Claude、GPT-4、またはMCP互換のAIエージェントは、以下のことが可能になります:

  • ケニアの全47郡の最新の干ばつフェーズデータを照会

  • NDMA干ばつモニターから水ストレス指数を取得

  • 干ばつレベルが急上昇した際に、Africa's Talking経由で農家にSMSアラートを送信

ワンプロンプトの例:

"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

Related MCP server: DMAP-AI MCP Server

ツール

ツール

タイプ

説明

get_drought_status

読み取り専用

指定した郡の現在のNDMA干ばつフェーズ

get_county_water_stress

読み取り専用

水ストレス指数、降雨不足、河川水位

get_drought_alerts

読み取り専用

指定した干ばつフェーズ以上のすべての郡

sms_drought_alert

書き込み

Africa's Talking経由で干ばつアラートSMSを送信

インストール

pip install wapimaji-mcp
# or:
uvx wapimaji-mcp

設定

{
  "mcpServers": {
    "wapimaji": {
      "command": "uvx",
      "args": ["wapimaji-mcp"],
      "env": {
        "AT_USERNAME": "your_username",
        "AT_API_KEY": "your_at_key",
        "SANDBOX": "true"
      }
    }
  }
}

データソース

  • NDMA — 国家干ばつ管理庁(National Drought Management Authority)の干ばつフェーズ分類

  • ケニア気象局 — 降雨データ

  • FEWS NET — 飢饉早期警戒システム(Famine Early Warning System)の食料安全保障予測

関連プロジェクト

  • mpesa-mcp — M-Pesa + Africa's Talking MCPサーバー(3,000ダウンロード以上)

  • WapiMaji — Streamlitダッシュボード版

  • gabrielmahia.github.io — シビックテックポートフォリオ

知的財産と協力について

© 2026 Gabriel Mahia · contact@aikungfu.dev ライセンス: CC BY-NC-ND 4.0 NDMAまたはAfrica's Talkingとは提携していません。

Available Tools

3 tools
get_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

    A4/5.0

    Scored across 3 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      5
      213 PyPI
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP 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.
      5
      108 PyPI
      MIT