MCP server for Kenya precision agriculture — crop calendar, fertilizer guide, pe
Project description
kilimo-mcp
Compatible with claude-sonnet-5 (released 2026-06-30) — Anthropic's most agentic
Sonnet yet. Runs multi-step tool chains end-to-end without stopping short.
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.
| Tool | Description |
|---|---|
crop_calendar |
Kenya crop planting and harvesting calendar by region |
fertilizer_guide |
Fertilizer recommendations by crop and soil type |
pest_disease_alert |
Crop pest and disease identification and management |
market_timing_guide |
Best timing to sell produce based on price cycles |
kalro_varieties |
KALRO improved crop variety recommendations |
input_cost_calculator |
Kenya 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 23 MCP servers covering the full 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 one of 32 tools in 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 evaluationkilimo-mcp— agricultural advisoryafya-mcp— health surveillance activationcounty-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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kilimo_mcp-0.1.2.tar.gz.
File metadata
- Download URL: kilimo_mcp-0.1.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3dac694335d08e77e310ed76690975ca91f4c5ec5564ffb98fa7bce6f829fe1
|
|
| MD5 |
e95dc56525f73449dc9513cd1d210970
|
|
| BLAKE2b-256 |
a3e8a4596c71aff2cf3f4620cdad91a4eb48013b7978d709b87993f65b625145
|
File details
Details for the file kilimo_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kilimo_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
527675053ed96974193a179e1d80e416c0344d8e47698879de75f15a70860b58
|
|
| MD5 |
c6d72fdf77cb0199b5b3f3a5731e0355
|
|
| BLAKE2b-256 |
886bf8a56eb490fb00271fbbc303636d8c8e3592a5b8af26e92e6039df27387d
|