Skip to main content
Glama
agriculture-mcp-server

agriculture-mcp-server

by AiAgentKarl

Agriculture MCP Server

MCP server providing AI agents with agriculture and farming data — soil conditions, crop weather, climate history, global statistics, and food products.

agriculture-mcp-server MCP server

8 Tools in 4 Categories

Soil Conditions

  • soil_conditions — Soil temperature (0-54cm), moisture, evapotranspiration forecast

Crop Weather

  • crop_weather_forecast — Agricultural weather: temp, rain, wind, radiation, water balance

  • climate_history — Historical daily climate data since 1981 (NASA POWER)

  • climate_averages — Long-term monthly climate averages for site assessment

Global Statistics (World Bank)

  • country_agriculture_profile — Full agriculture profile of any country

  • compare_countries — Compare agriculture indicators across countries

Food Products (Open Food Facts)

  • food_product_lookup — Look up food products by barcode (nutrition, eco-scores)

  • food_search — Search 3M+ food products by name or category

Related MCP server: CropProphEU

Installation

pip install agriculture-mcp-server

Usage with Claude Code

.mcp.json:

{
  "mcpServers": {
    "agriculture": {
      "type": "stdio",
      "command": "python",
      "args": ["-m", "src.server"]
    }
  }
}

Data Sources

All APIs are free and require no API key:

API

Data

Open-Meteo

Soil temperature, moisture, evapotranspiration, crop weather

NASA POWER

Historical climate data since 1981 (agricultural community)

World Bank

Country-level agriculture statistics (20+ indicators)

Open Food Facts

3M+ food products with nutrition and eco-scores

License

MIT

Available Tools

8 tools
climate_averagesA

Langjährige Klimamittelwerte für einen Standort (NASA POWER).

Zeigt monatliche Durchschnittswerte für Temperatur, Niederschlag, Solarstrahlung und Bodenfeuchtigkeit (2001-2020). Ideal zur Standortbewertung für neue Anbauflächen.

Args: lat: Breitengrad lon: Längengrad

Inputs: lat (required), lon (required).

climate_historyA

Historische Agrar-Klimadaten für einen Standort (NASA POWER, ab 1981).

Zeigt Temperatur, Niederschlag, Solarstrahlung, Bodenfeuchtigkeit und Evapotranspiration. Perfekt für Standortbewertung und Klimaanalyse.

Args: lat: Breitengrad lon: Längengrad start_date: Startdatum (YYYYMMDD, z.B. "20240601") end_date: Enddatum (YYYYMMDD, z.B. "20240630")

Inputs: lat (required), lon (required), start_date (required), end_date (required).

compare_countriesB

Agrar-Indikator zwischen Ländern vergleichen.

Args: countries: Länder-Codes getrennt mit Semikolon (z.B. "DEU;USA;BRA;IND;CHN") indicator: Indikator-Name (z.B. "cereal_yield", "arable_land_pct", "fertilizer_consumption", "agriculture_gdp_pct") year_range: Zeitbereich (z.B. "2020" oder "2018:2023")

Inputs: countries (required), indicator, year_range.

country_agriculture_profileA

Komplettes Agrar-Profil eines Landes.

Zeigt Ernteerträge, Landnutzung, Produktionsindizes, Düngereinsatz, Agrar-Anteil am BIP und Beschäftigung. Quelle: World Bank.

Args: country: ISO3-Ländercode (z.B. "DEU", "USA", "BRA", "IND", "CHN")

Inputs: country (required).

crop_weather_forecastA

Agrar-Wetter-Vorhersage für einen Standort.

Zeigt Temperatur, Niederschlag, Wind, Sonnenstrahlung und Evapotranspiration — optimiert für Landwirtschaft und Pflanzenbau.

Args: lat: Breitengrad lon: Längengrad days: Vorhersage-Tage (1-16)

Inputs: lat (required), lon (required), days.

food_product_lookupA

Lebensmittel per Barcode nachschlagen.

Zeigt Nährwerte, Nutri-Score, Eco-Score und NOVA-Gruppe. Quelle: Open Food Facts (3+ Millionen Produkte).

Args: barcode: EAN/UPC Barcode (z.B. "3017620422003" für Nutella)

Inputs: barcode (required).

soil_conditionsA

Aktuelle und prognostizierte Bodenbedingungen für einen Standort.

Zeigt Bodentemperatur (0-54cm Tiefe), Bodenfeuchtigkeit und FAO-Evapotranspiration. Ideal für Aussaat-Entscheidungen und Bewässerungsplanung.

Args: lat: Breitengrad (z.B. 52.52 für Berlin) lon: Längengrad (z.B. 13.41 für Berlin) days: Vorhersage-Tage (1-16, Standard: 7)

Inputs: lat (required), lon (required), days.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 8 tools

    Disambiguation4/5

    Tools are generally well-differentiated by domain (climate vs. soil vs. country stats vs. food). The pair `climate_averages` and `climate_history` could cause slight confusion as both retrieve historical NASA POWER climate data for a location, though they are distinguished by monthly averages versus specific date ranges. Food tools are clearly separated by barcode lookup versus text search.

    Naming Consistency4/5

    Most tools follow a consistent noun_phrase pattern (e.g., `climate_averages`, `soil_conditions`, `country_agriculture_profile`). However, `compare_countries` uses a verb_noun structure, creating a minor deviation from the otherwise consistent convention. All use snake_case consistently.

    Tool Count5/5

    Eight tools is an appropriate count for this scope, covering field-level environmental data (climate averages, history, forecasts, soil), macro-level country agricultural statistics (profile and comparison), and food product databases (search and lookup) without redundancy or bloat.

    Completeness4/5

    The toolset provides comprehensive read-only coverage across distinct agricultural data domains: temporal climate data (past averages, historical range, forecasts), soil conditions, country-level indicators, and food product information. No obvious CRUD gaps exist for a data-retrieval server, though it lacks analytical tools that might combine these datasets (e.g., crop suitability scoring).

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides real-time weather data, hourly forecasts, and daily summaries using the free Open-Meteo API with no API key required. It enables users to search for weather conditions by specific coordinates or city names across multiple measurement units.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      EU Crop Intelligence MCP Server — Yield forecasts, weather analysis, and phenology models for 15 countries. AI agent-native, multi-source intelligence (NASA POWER, Eurostat, Open-Meteo).
      MIT