Skip to main content
Glama

💧 WapiMaji MCP — 肯尼亚水资源与干旱情报

MCP 服务器,为 AI 智能体提供肯尼亚水资源压力和干旱数据的实时访问权限 — 涵盖全部 47 个县、NDMA 干旱阶段分类,以及通过 Africa's Talking 发送短信提醒的功能。

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

功能概述

WapiMaji MCP 将肯尼亚干旱和水资源压力数据作为 MCP 工具公开。任何 Claude、GPT-4 或兼容 MCP 的 AI 智能体现在都可以:

  • 查询肯尼亚 47 个县中任意一个的实时干旱阶段数据

  • 从 NDMA 干旱监测器获取水资源压力指数

  • 当干旱水平激增时,通过 Africa's Talking 向农民发送短信提醒

单提示词示例:

"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 发送干旱提醒短信

安装

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 — 国家干旱管理局干旱阶段分类

  • 肯尼亚气象局 — 降雨数据

  • FEWS NET — 饥荒预警系统粮食安全预测

相关项目

知识产权与合作

© 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