kilimo-mcp

v0.1.13
io.github.gabrielmahia/kilimo-mcp Checked 2 days ago Published 24 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

crop_calendar Crop Calendar

Planting calendar for a Kenyan crop by region, with the long and short rains seasons. Use when a farmer asks when to plant or harvest. Looks the crop up in a small sample table (spaces become underscores) and the region (default highland, falling back to an all-regions entry); a crop not in the table returns the note 'Crop not in sample dataset' with only the season dates. Returns the source label, crop, region, the calendar entry, long and short rains dates and a KALRO pointer. Sample data labelled DEMO: confirm with KALRO or the county agriculture office. Read-only; no side effects.

ParameterTypeDescription
crop *stringCrop name such as maize or beans; spaces become underscores.
regionRegion such as highland (default); falls back to an all-regions entry.

fertilizer_guide Fertilizer Guide

Fertilizer recommendation for a crop: basal, top-dressing and organic options per acre. Use when a farmer asks what fertilizer to apply. Crops in the sample table get specific advice; any other crop gets a general note (DAP at planting, CAN at six weeks). soil_type is only echoed back. Returns the source label, crop, soil_type, the recommendation, a soil-test pointer (about KES 1,000 per sample) and a note on the fertilizer subsidy. Sample guidance labelled DEMO: confirm with a soil test and KALRO. Read-only; no side effects.

ParameterTypeDescription
crop *stringCrop name such as maize, beans or tomato.
soil_typeSoil type; only echoed back (default medium).

pest_disease_alert Pest Disease Alert

Common pests and diseases of a crop with their symptoms and management. Use when a farmer describes damage and asks what it might be. symptom filters the sample list by matching text; if nothing matches, ALL the crop's entries are returned. Returns the source label, crop, the pests or diseases, an emergency KEPHIS number and the fall armyworm reporting line. Sample data labelled DEMO and not a diagnosis: confirm with a county extension officer or KEPHIS. Read-only; no side effects.

ParameterTypeDescription
crop *stringCrop name such as maize or tomato.
symptomOptional symptom text to filter by, such as holes in leaves.

market_timing_guide Market Timing Guide

Best and worst months to sell a commodity, with a storage tip. Use when a farmer asks when to sell. Only commodities in the sample table (such as maize and tomatoes) have month lists; any other returns a pointer to WFP market monitoring. county is only echoed back. Returns the source label, commodity, county, the timing entry and pointers to vam.wfp.org and soko-mcp for current prices. Seasonal patterns labelled DEMO, not price forecasts. Read-only; no side effects.

ParameterTypeDescription
commodity *stringCommodity such as maize or tomatoes.
countyOptional county; only echoed back.

kalro_varieties Kalro Varieties

Recommended KALRO varieties for a crop and growing condition, with days to maturity, suited conditions and typical yield. Use when a farmer asks which variety to plant. condition filters by matching text; if nothing matches, ALL varieties for the crop are returned. Returns the source label, crop, condition, recommended_varieties, certified-seed advice (KEPHIS-registered agrodealers) and a KALRO contact. Sample data labelled DEMO: confirm with KALRO. Read-only; no side effects.

ParameterTypeDescription
crop *stringCrop name such as maize.
conditionOptional growing condition to filter by, such as highland or drought.

input_cost_calculator Input Cost Calculator

Estimate the cost of growing a crop in KES per acre and in total for an acreage: seed, fertilizer, labour and other items. Use when a farmer is budgeting a season. Only crops in the sample table are costed; for any other crop the per-acre entry is a note and estimated_total_kes is null, never zero. Returns the source label, crop, acreage, input_costs_per_acre_kes, estimated_total_kes, a subsidy note and a prices disclaimer. Indicative 2025 agrovet prices labelled DEMO: get quotes from a local agrodealer. Read-only; no side effects.

ParameterTypeDescription
crop *stringCrop name such as maize, tomato or beans.
acreagenumberNumber of acres (default 1.0); the per-acre cost is multiplied by it.

rainfall_forecast Rainfall Forecast

Get the daily rainfall forecast for a location in Kenya (or anywhere) for up to 16 days, from the free Open-Meteo weather service: expected millimetres and the chance of rain each day. Use when someone is planning planting, irrigation, water storage, travel or flood preparation and needs the rain outlook for a place. Returns one row per day with rain in mm and the maximum chance of rain in percent, the total, the source, its attribution and the retrieval time; on a network or service failure it returns an error instead of a forecast. Read-only; contacts an external service.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees, for example -1.29 for Nairobi or -0.09 for Kisumu; between -90 and 90.
longitude *numberLongitude in decimal degrees, for example 36.82 for Nairobi; between -180 and 180.
daysintegerHow many days ahead to forecast, between 1 and 16.

food_market_prices Food Market Prices

Get recent food prices in Kenyan markets for a commodity (for example maize, beans, rice, sorghum, milk or sugar), from the World Food Programme's market monitoring, served by the free Humanitarian Data Exchange API (HDX HAPI). Use when someone is deciding when or where to buy or sell, checking whether a price is fair, or tracking food costs in a county. Returns the latest price per market and unit with its date, the source, its licence and the retrieval time; on a network or service failure it returns an error instead of prices. Read-only; contacts an external service.

ParameterTypeDescription
commodity *stringCommodity name or part of it, for example maize, beans, rice, sorghum, milk or sugar.
countyOptional county name to filter on, for example Turkana or Marsabit (WFP monitors mainly arid and semi-arid counties).
monthsintegerHow far back to look for the latest prices, in months, between 1 and 60.