io.github.gabrielmahia/kilimo-mcp

السجل الرسمي الإنتاجية

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package kilimo-mcp
Claude Code
claude mcp add kilimo-mcp -- uvx kilimo-mcp==0.1.9
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "kilimo-mcp": {
            "command": "uvx",
            "args": [
                "kilimo-mcp==0.1.9"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. kilimo-mcp
  2. AI Architecture: Agricultural Domain RAG
  3. Install
  4. What it does
  5. Usage
  6. Part of the Kenya Coordination Infrastructure Stack
  7. Trust Integrity
  8. License
  9. Part of the East Africa Coordination Stack
  10. IP & Collaboration
  11. Part of the East Africa coordination stack

kilimo-mcp

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

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

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

pip install kilimo-mcp

What it does

6 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

Usage

# Run as standalone MCP server
kilimo-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 | contact@aikungfu.dev

Decision infrastructure for East Africa

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
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.

الأسئلة الشائعة

ما هو io.github.gabrielmahia/kilimo-mcp؟

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

كيف أثبّت io.github.gabrielmahia/kilimo-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add kilimo-mcp -- uvx kilimo-mcp==0.1.9. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.gabrielmahia/kilimo-mcp إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.gabrielmahia/kilimo-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.gabrielmahia/kilimo-mcp؟

ينشره gabrielmahia. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.