Skip to main content
Glama

agrisignal-mcp

An MCP server for farm and land decision support, built entirely on free, keyless public data: Open-Meteo (weather, soil moisture/temperature, evapotranspiration) and SoilGrids (ISRIC's global 250m-resolution soil map). No API keys, no signup, no OAuth — every tool works out of the box.

Unlike general-purpose weather/soil API wrappers, this server doesn't just hand back raw data — it synthesizes weather and soil into farming decisions: whether to irrigate and how much, frost and heat stress risk windows, growing degree day accumulation for predicting crop development, and drought tracking. The goal is to be useful to someone without access to expensive precision-agriculture services — a smallholder farmer, an agronomy student, an extension worker, an NGO.

Every recommendation shows its underlying numbers and is framed as a data-grounded estimate, not certified agronomic advice. These are simplified models (see each tool's caveats below) meant for triage and planning, not a substitute for site-specific expertise.

Tools

Tool

Description

geocode_location

Resolve a place name to coordinates (required first step for the others)

get_soil_profile

Soil texture, pH, organic carbon at multiple depths (SoilGrids)

get_growing_conditions

Current weather + soil snapshot + short forecast

get_irrigation_advice

Soil water balance estimate: should you irrigate, and how much?

get_frost_and_heat_risk

Scans the forecast for frost/freeze and heat-stress risk days

get_growing_degree_days

GDD accumulation over a date range (crop development/maturity tracking)

get_dry_spell_status

Consecutive dry days and total precipitation — a rough drought indicator

Related MCP server: agribrain

Setup

No API keys needed. Add it to your MCP client and go.

Claude Code:

claude mcp add --transport stdio agrisignal -- npx -y agrisignal-mcp

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "agrisignal": {
      "command": "npx",
      "args": ["-y", "agrisignal-mcp"]
    }
  }
}

Any other MCP client that supports stdio servers can run this the same way: npx -y agrisignal-mcp.

Example usage

  • "Should I irrigate my field near Ames, Iowa this week?" → geocode_location then get_irrigation_advice

  • "What's the soil like at this location — good for growing tomatoes?" → get_soil_profile

  • "Is there a frost risk in the next 10 days?" → get_frost_and_heat_risk

  • "How many growing degree days have accumulated since I planted on May 15?" → get_growing_degree_days

  • "Has this region been in a dry spell?" → get_dry_spell_status

Notes on the models used

  • Irrigation advice is a simplified single-layer soil water balance (in the spirit of FAO-56 accounting): total available water = (field capacity − wilting point) × root zone depth, projected forward using forecast precipitation minus reference evapotranspiration (ET0, not crop-specific actual ET). It ignores runoff and drainage below the root zone. Field capacity and wilting point come from SoilGrids at 15–30cm depth; current soil moisture from Open-Meteo's 9–27cm band — a reasonable but approximate match to a generic root zone, not a specific crop's.

  • Growing degree days use the modified method common in US extension-service guidance for corn: Tmin is floored at the base temperature before averaging, and an optional Tmax cap can be applied. Set floor_tmin_at_base: false for the plain average method if that fits your crop better.

  • Dry spell severity thresholds (mild >7 days, moderate >14, severe >21) are a general rule of thumb, not a calibrated meteorological drought index (e.g. SPI).

  • SoilGrids no-data pixels: geocoded place coordinates often land on a town/city center, which can be a no-data pixel in SoilGrids' 250m grid (buildings, pavement). Soil-data tools automatically retry ~1km away and say so in the response when this happens — for a real field, pass its actual coordinates rather than a town center for a more accurate reading.

Rate limits

Open-Meteo and SoilGrids are free services. Be considerate — avoid hammering either API with rapid repeated calls; SoilGrids in particular can take several seconds per request.

Development

npm install
npm run build
npm test

License

MIT

Available Tools

7 tools
geocode_locationGeocode a place nameA

Resolve a free-text place name to ranked latitude/longitude matches. Required first step before using the other tools, which take coordinates rather than place names.

Inputs: name (required), count, country_code.

get_dry_spell_statusCheck dry spell / drought statusB

Check how many consecutive dry days a location has had and total precipitation over a lookback window, as a rough drought-risk indicator. Severity thresholds are a general rule of thumb, not a calibrated meteorological drought index.

Inputs: latitude (required), longitude (required), lookback_days, dry_day_threshold_mm.

get_frost_and_heat_riskScan forecast for frost and heat stress riskA

Scan the daily forecast for temperature extremes that threaten crops: frost/freeze risk (low temperatures) and heat stress risk (high temperatures). Flags each day with any risk found.

Inputs: latitude (required), longitude (required), days, frost_c, +3 more.

get_growing_conditionsGet current growing conditionsA

Snapshot of current weather, recent soil temperature/moisture readings, and a short daily forecast for a location — a general-purpose 'what's happening at this field right now' summary.

Inputs: latitude (required), longitude (required), forecast_days.

get_growing_degree_daysCalculate growing degree daysA

Calculate accumulated growing degree days (GDD) over a date range using the modified method (floors Tmin at the base temperature, optionally caps Tmax). GDD tracks crop heat accumulation and is commonly used to predict development stage, maturity, and pest/disease emergence windows. Supports past dates (via historical reanalysis) and future dates (via forecast, up to 16 days out).

Inputs: end_date (required), latitude (required), longitude (required), start_date (required), +3 more.

get_irrigation_adviceGet an irrigation estimateA

Estimate whether irrigation is needed by combining soil water-holding capacity (SoilGrids), current soil moisture, and the forecast balance of precipitation vs. reference evapotranspiration (Open-Meteo). Returns a data-grounded estimate with all inputs shown, not a certified recommendation.

Inputs: latitude (required), longitude (required), forecast_days, root_zone_depth_mm, +1 more.

get_soil_profileGet soil properties for a locationA

Fetch soil texture, pH, organic carbon, and water-holding properties for a coordinate from SoilGrids (ISRIC's global 250m-resolution soil map), at multiple depths.

Inputs: latitude (required), longitude (required), depths.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct agricultural or weather-related function: geocoding, dry spell, frost/heat risk, general conditions, GDD, irrigation advice, and soil profile. There is no overlap in purpose; the descriptions clearly differentiate them.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case, primarily using 'get_' or 'geocode_' as verbs. This makes the tool surface predictable and easy to navigate.

    Tool Count5/5

    With 7 tools, the set is well-scoped for an agricultural signal MCP server. Each tool addresses a key aspect of agronomic decision-making without being overly numerous or sparse.

    Completeness4/5

    The tool set covers the core workflow: location resolution, drought, frost/heat, general conditions, GDD, irrigation, and soil data. A minor gap is the lack of a tool for direct crop stage prediction, but GDD provides a foundation for that.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for agriculture and farming data. 8 tools: soil conditions (temperature, moisture), crop weather forecasts, historical climate data (NASA POWER, since 1981), global agriculture statistics (World Bank, 20+ indicators), and food product database (Open Food Facts, 3M+ products). All APIs free, no keys required.
      8
      34 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to access free, open agronomic data for field briefings, spray windows, water balance, pest pressure, and more, using only public data sources without API keys.
      1
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      Enables AI assistants to assess any parcel for micro-farm viability (climate, water, farmland context, access, flood risk) and dwelling feasibility, and to find real land for sale from free, keyless public data sources.
      5
      1
      MIT