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
POST https://greenplotweathertasks.usefulweb.site/api/v1/calculate– run Garden Weather TasksGET https://greenplotweathertasks.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
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). |
timeZone | text | "Europe/Berlin" | Time zone of the place |
days | integer | 7 | Days ahead |
plantings | table | [{"bed":"Raised bed 1","plant":"tomato","areaM2":0.72},{"bed":"Raised bed 1","pl | Plantings |
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)
- Streamable HTTP endpoint:
https://greenplotweathertasks.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
greenplot_weather_tasks - Local stdio connector:
node src/mcp-stdio.ts --tool=greenplot-weather-tasks
{
"mcpServers": {
"greenplot-weather-tasks": { "type": "http", "url": "https://greenplotweathertasks.usefulweb.site/mcp" }
}
}