# Historical weather

Daily historical weather for coordinates and a date range (since 1940, about 5 days behind real time): max/min temperature, precipitation, max wind. Needs latitude, longitude, start date and more. Served by Open-Meteo.

Daily historical weather for coordinates and a date range (since 1940, about 5 days behind real time): max/min temperature, precipitation, max wind. Use open-meteo/geocode to get coordinates.

- Tool ID: `open-meteo/historical-weather`
- Name in the catalog: Historical weather (archive)
- Provider: [Open-Meteo](/providers/open-meteo.md)
- Capability: [Weather forecast & history](/tools/weather/forecast.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "longitude": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "start_date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "YYYY-MM-DD"
    },
    "end_date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "YYYY-MM-DD, keep ranges short (one row per day)"
    },
    "daily": {
      "type": "string",
      "maxLength": 300,
      "pattern": "^[a-z0-9_]+(,[a-z0-9_]+)*$",
      "description": "Comma-separated daily variables (Open-Meteo names)",
      "default": "temperature_2m_max,temperature_2m_min,precipitation_sum,wind_speed_10m_max"
    }
  },
  "required": [
    "latitude",
    "longitude",
    "start_date",
    "end_date"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "open-meteo/historical-weather",
  "input": {
    "latitude": 48.85,
    "longitude": 2.35,
    "start_date": "2024-01-01",
    "end_date": "2024-01-07"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: CC BY 4.0.

Attribution: Weather data by Open-Meteo.com (ERA5 reanalysis).

[Provider documentation](https://open-meteo.com/en/docs/historical-weather-api)

[REST inspection](https://api.agentik.cc/v1/tools/open-meteo/historical-weather) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/open-meteo/historical-weather) · [Agent index](/llms.txt)
