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 分