pypi kilimo-mcpstdioMITupdated 1mo ago
Kenya precision agriculture via MCP — crop calendar, fertilizer, pest alerts, KALRO varieties
What can you do with kilimo mcp?
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.
Part of the East Africa coordination stack
- Install & run:
pip install reli-cli && reli list— 33 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.
Install
Add kilimo mcp to your client. Pick the one you use.
claude mcp add kilimo-mcp -- uvx kilimo-mcpcodex mcp add kilimo-mcp -- uvx kilimo-mcpamp mcp add kilimo-mcp -- uvx kilimo-mcp{
"mcpServers": {
"kilimo-mcp": {
"command": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"kilimo-mcp": {
"command": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"kilimo-mcp","command":"uvx","args":["kilimo-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"kilimo-mcp": {
"command": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"kilimo-mcp": {
"command": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"kilimo-mcp": {
"command": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"kilimo-mcp": {
"type": "local",
"command": "uvx",
"args": [
"kilimo-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"kilimo-mcp": {
"command": {
"path": "uvx",
"args": [
"kilimo-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx kilimo-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance16/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 44 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.3Latest | Jul 18, 2026 |
| 0.1.2 | Jul 4, 2026 |