Kilimo Mcp

io.github.gabrielmahia由 GitHub 账号 gabrielmahia 发布v0.1.13更新于 Nov 11, 2026

Kenya farming guides: crop calendar, fertilizer, pests, market timing, varieties, input costs.

概览

AI 生成的概览

本地 MCP 服务器,为助手提供肯尼亚农业指导:作物日历、施肥、病虫害、品种、投入成本、降雨与市场价格。

可以做什么
  • 按地区查询肯尼亚作物播种与收获日历,并获取 KALRO 改良品种推荐
  • 按作物和土壤类型获取施肥建议,以及病虫害识别与防治方法
  • 估算并比较肯尼亚农业投入成本,依据价格周期判断最佳销售时机
  • 获取每日降雨预报,以及按商品(可选按郡)查询最新的 WFP 监测市场价格
适用场景
适合助手回答肯尼亚及东非小农或商业化种植的实际问题,例如何时播种、施什么肥、选哪个品种、何时出售,并结合当前降雨与市场价格信息。
运行要求
以本地进程方式运行,通过 pip 从 PyPI 安装,需要 Python 环境;仅限桌面端,在 MCP 客户端配置中以 kilimo-mcp 命令启动。未声明需要账号、API 密钥或环境变量。降雨与市场价格工具需联网访问外部服务。
安装前请注意
README 说明合成数据会标注为 DEMO,不适用于实际运营决策,运营数据应向相关肯尼亚政府机构核实。实时结果来自第三方服务(Open-Meteo、HDX HAPI)并注明来源;服务不可用时工具返回错误而非数字。README 还提到可通过事件总线与其他服务器进行可选协同。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Kilimo Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

kilimo-mcp

[kilimo-mcp Glama score]

Install: pip install kilimo-mcp · Use with any MCP client.

Kenya precision agriculture via MCP — crop calendar, fertilizer, pest alerts, KALRO varieties

[PyPI] [License] [Layer]

AI Architecture: Agricultural Domain RAG

Agricultural AI for East Africa requires domain-specific retrieval — generic models hallucinate crop varieties, soil types, and local market conditions.

Research basis:

  • AgriIR (Springer 2026): configurable RAG framework for agricultural knowledge retrieval — validates domain-specific retrieval over monolithic agricultural models. Key finding: low computational cost with high accuracy when knowledge base is curated.
  • RAG vs Fine-tuning on Agriculture (arXiv 2401.08406): RAG outperforms fine-tuning for dynamic agricultural knowledge (seasonal, location-specific, real-time market).
  • DPGA 2026 focus: Domain-specific DPGs in agriculture and climate are a 2026 strategic priority for Co-Develop and DPGA members.

Knowledge base pairing:

  • Kenya National Drought Management Authority (NDMA) data → drought → crop risk
  • Kenya Meteorological Department seasonal forecasts → planting calendar
  • East Africa agricultural historical data (1906-1925, HuggingFace: gmahia)

Coordination: Pairs with wapimaji-mcp (water), bima-mcp (insurance), soko-mcp (markets) via africa-coord-bus for full drought response cascade.

Install

bash
pip install kilimo-mcp

What it does

8 MCP tools covering Kenya precision agriculture. 1st world equivalent: Climate Corp / Granular.

ToolDescription
crop_calendarKenya crop planting and harvesting calendar by region
fertilizer_guideFertilizer recommendations by crop and soil type
pest_disease_alertCrop pest and disease identification and management
market_timing_guideBest timing to sell produce based on price cycles
kalro_varietiesKALRO improved crop variety recommendations
input_cost_calculatorKenya farm input cost calculator and comparison
rainfall_forecastDaily rain forecast (mm, chance) for any location, from Open-Meteo
food_market_pricesLatest WFP market prices in Kenya for a commodity, via HDX HAPI

Usage

bash
# Run as standalone MCP serverkilimo-mcp
# Or add to Claude Desktop / any MCP client# Add to your MCP config: {"command": "kilimo-mcp"}

Part of the Kenya Coordination Infrastructure Stack

This is one of the MCP servers covering the coordination infrastructure of East Africa:

Economic: mpesa · mkopo · bima · soko · sifa · remit · kra · faida
Physical: wapimaji · nishati · usafiri · ardhi
Social: afya · afya-ya-akili · elimu · kazi · haki-ya-kazi · kilimo · jumuia
Civic: nyumba · habari · mazingira · civic-agent-kit

→ The Nairobi Stack
→ Full Portfolio

Trust Integrity

All data in this server is clearly labeled DEMO where synthetic. Verify all operational data with the relevant Kenyan government authority before use.

License

MIT © Gabriel Mahia | AI-KungFU | [email protected]

Decision infrastructure for East Africa

Live data

  • 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).
  • food_market_prices: the latest WFP-monitored market prices in Kenya for a commodity, optionally by county, via HDX HAPI (WFP data CC BY-IGO).

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. It connects to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

When this server detects a threshold condition, the bus notifies:

  • bima-mcp — parametric insurance evaluation
  • kilimo-mcp — agricultural advisory
  • afya-mcp — health surveillance activation
  • county-mcp — county office alert
python
pip install africa-coord-bus

All servers: pypi.org/user/gmahia

IP & Collaboration

MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Demo data is labeled DEMO and is not suitable for operational decisions. Full policy: docs/architecture/IP_POLICY.md. Security reports: see SECURITY.md.

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

来源:README.md,提交 5bd21dc

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

11
  1. v0.1.13最新Nov 11, 2026
  2. v0.1.12Nov 7, 2026
  3. v0.1.11Nov 5, 2026
  4. v0.1.10Nov 3, 2026
  5. v0.1.9Oct 23, 2026
  6. v0.1.8Oct 21, 2026
  7. v0.1.7Oct 17, 2026
  8. v0.1.6Oct 13, 2026
  9. v0.1.5Oct 10, 2026
  10. v0.1.4Oct 8, 2026
  11. v0.1.3Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分