
Kilimo Mcp
io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.1.13Updated Nov 11, 2026
Kenya farming guides: crop calendar, fertilizer, pests, market timing, varieties, input costs.
Overview
Local MCP server giving assistants Kenya-focused farming guidance: crop calendars, fertilizer, pests, varieties, input costs, rainfall and market prices.
- What you can do
- Look up Kenya crop planting and harvest calendars by region, plus KALRO improved variety recommendations
- Get fertilizer advice by crop and soil type, and pest and disease identification and management
- Estimate and compare Kenya farm input costs, and find best selling windows from price cycles
- Fetch live daily rain forecasts and latest WFP-monitored market prices for a commodity, optionally by county
- When to use it
- Useful when an assistant needs to answer practical smallholder or commercial farming questions for Kenya and East Africa, such as when to plant, what to apply, which variety to choose, or when to sell, including current rainfall and market price context.
- Requirements
- Runs as a local process installed from PyPI with pip, so a Python environment is needed; it is desktop-only and started via the kilimo-mcp command in an MCP client config. No accounts, API keys or environment variables are declared. Live rainfall and market price tools need network access to external services.
Installation
In SourceWeft
- Open Kilimo Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
What it does
8 MCP tools covering Kenya precision agriculture. 1st world equivalent: Climate Corp / Granular.
Usage
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 evaluationkilimo-mcp— agricultural advisoryafya-mcp— health surveillance activationcounty-mcp— county office alert
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
- Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahia - Evaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
- Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
- Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Source: README.md at commit 5bd21dc
Tools
0Version history
11- v0.1.13LatestNov 11, 2026
- v0.1.12Nov 7, 2026
- v0.1.11Nov 5, 2026
- v0.1.10Nov 3, 2026
- v0.1.9Oct 23, 2026
- v0.1.8Oct 21, 2026
- v0.1.7Oct 17, 2026
- v0.1.6Oct 13, 2026
- v0.1.5Oct 10, 2026
- v0.1.4Oct 8, 2026
- v0.1.3Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts