# CropProphEU

EU Crop Intelligence MCP Server - Yield forecasts, market values & risk analysis for EU agriculture.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add crop-mcp/CropProphEU

# Browse available tools
npx -y smithery tool list crop-mcp/CropProphEU

# Get full schema for a tool
npx -y smithery tool get crop-mcp/CropProphEU weather_outlook

# Call a tool
npx -y smithery tool call crop-mcp/CropProphEU weather_outlook '{}'
```

## Direct MCP Connection

Endpoint: `https://croppropheu--crop-mcp.run.tools`

**Optional config:**
- `default_region` (query) — NUTS2-Region für Standard-Abfragen (z.B. DEE0 = Sachsen-Anhalt)
- `language` (query) — Ausgabesprache für Zusammenfassungen
- `confidence_threshold` (query) — Minimale Konfidenz für Ertragsprognosen

## Tools (10)

- `weather_outlook` — 16-day weather forecast for an EU agricultural region. Returns temperature, precipitation, and wind data. Call this bef…
- `crop_forecast` — Crop-specific yield outlook for a region. Combines current weather, historical comparison, and crop phenology models. R…
- `season_comparison` — Compare the current growing season to historical years for a specific crop and region. Returns GDD, precipitation, fros…
- `list_regions` — List available EU agricultural regions with their NUTS2 codes, coordinates, and major crops. Filter by country code (e.…
- `list_crops` — List all supported crop types with their agronomic parameters (GDD base temperature, growing season, water sensitivity)…
- `region_health` — Comprehensive health overview for an entire agricultural region. Returns crop_forecast for ALL crops grown in the regio…
- `yield_forecast` — Predict crop yield in t/ha using analog-year matching. Compares current season's weather (GDD, precipitation, solar rad…
- `europe_yield_forecast` — Pan-European yield forecast for 3 verified crops (wheat, corn, barley). Uses Random Forest trained on Eurostat yield da…
- `climate_scenario` — Climate What-If scenario analysis for EU crop yields. Use this to answer 'What if May-June is 2°C warmer?' or 'What if …
- `yield_and_value` — Combined yield forecast + market value estimation. Returns yield in t/ha AND expected revenue in EUR/ha at current mark…

```bash
# Get full input/output schema for a tool
npx -y smithery tool get crop-mcp/CropProphEU <tool-name>
```

## Resources

- `crops://parameters` — Agronomische Parameter aller unterstützten Kulturen: GDD-Basistemperatur, Wachstumsperiode, Wasserbedarf
- `regions://list` — Alle verfügbaren EU NUTS2-Regionen mit Koordinaten, Ländern und Hauptkulturen

## Prompts (3)

- `analyze-region` (region) — Complete health check for a region: yield forecast + market value + weather for all crops
- `compare-regions` (crop, region_a, region_b) — Compare two EU regions across all metrics for a specific crop
- `market-overview` (crop) — Current market prices and yield outlook for top EU producers
