API & MCP

Everything a person can do on Garden Weather Tasks, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Garden Weather Tasks

Reads the MET Norway forecast for your garden and turns it into garden tasks for the coming days: frost and cold-night warnings for tender plants in the ground, days when rain makes watering unnecessary, hot days, and how many litres each bed needs from FAO-56 crop water use — with the best days to water.

Inputs of Garden Weather Tasks
FieldTypeDefaultDescription
place (required)text"52.47, 13.40"Place (latitude, longitude). Decimal degrees such as “52.47, 13.40”. Rounded to 0.01° (about 1 km).
timeZonetext"Europe/Berlin"Time zone of the place
daysinteger7Days ahead
plantingstable[{"bed":"Raised bed 1","plant":"tomato","areaM2":0.72},{"bed":"Raised bed 1","plPlantings

Example request

Berlin: tomatoes, basil and strawberries

curl -X POST https://greenplotweathertasks.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"place":"52.47, 13.40","timeZone":"Europe/Berlin","days":7,"plantings":[{"bed":"Raised bed 1","plant":"tomato","areaM2":0.72},{"bed":"Raised bed 1","plant":"basil","areaM2":0.18},{"bed":"Raised bed 2","plant":"strawberry","areaM2":1.08}]}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "greenplot-weather-tasks": { "type": "http", "url": "https://greenplotweathertasks.usefulweb.site/mcp" }
  }
}