agriculture-mcp-server
Provides access to historical daily climate data since 1981 via the NASA POWER API, enabling AI agents to retrieve and analyze long-term agricultural climate patterns and site assessment data.
Agriculture MCP Server
MCP server providing AI agents with agriculture and farming data — soil conditions, crop weather, climate history, global statistics, and food products.
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 balanceclimate_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 countrycompare_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-serverUsage 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 toolsclimate_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).
food_searchB
Lebensmittel suchen nach Name oder Kategorie.
Args: query: Suchbegriff (z.B. "organic rice", "chocolate") category: Kategorie-Filter (z.B. "cereals", "dairy", "beverages") limit: Max. Ergebnisse (1-50)
Inputs: query (required), category, limit.
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
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
Unlock the power of food transparency with our Open Food Facts MCP server. Easily look up any food
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
380+ live data, validation and utility APIs in one MCP server: IP, DNS, email, FX, weather and more.
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn 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.2MIT
- AlicenseNot gradedqualityDmaintenanceEU 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
- AlicenseNot gradedqualityDmaintenanceMCP Server for global weather, forecasts, air quality, and climate data using Open-Meteo, no API key required.MIT
- AlicenseAqualityDmaintenanceMCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.8MIT