get_daily_history

Pack: meteostat · Endpoint: https://gateway.pipeworx.io/meteostat/mcp

Daily historical weather for a Meteostat station between two dates. Returns date-keyed temperature (avg/min/max), precipitation, snow, wind, pressure, sun hours. Get a station_id from find_stations.

Parameters

NameTypeRequiredDescription
station_idstringyesMeteostat station ID (e.g., “72494”) — from find_stations
start_datestringyesYYYY-MM-DD inclusive
end_datestringyesYYYY-MM-DD inclusive

Example call

Arguments

{
  "station_id": "72494",
  "start_date": "2023-01-01",
  "end_date": "2023-12-31"
}

curl

curl -X POST https://gateway.pipeworx.io/meteostat/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_daily_history","arguments":{"station_id":"72494","start_date":"2023-01-01","end_date":"2023-12-31"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_daily_history', {
  "station_id": "72494",
  "start_date": "2023-01-01",
  "end_date": "2023-12-31"
});

More examples

{
  "station_id": "10382",
  "start_date": "2024-01-15",
  "end_date": "2024-02-15"
}

Response shape

Always returns: station_id, start_date, end_date, count, days

FieldTypeDescription
station_idstringMeteostat numeric station ID
start_datestringStart date in YYYY-MM-DD format
end_datestringEnd date in YYYY-MM-DD format
countintegerNumber of daily records returned
daysarrayDaily weather observations
Full JSON Schema
{
  "type": "object",
  "properties": {
    "station_id": {
      "type": "string",
      "description": "Meteostat numeric station ID"
    },
    "start_date": {
      "type": "string",
      "description": "Start date in YYYY-MM-DD format"
    },
    "end_date": {
      "type": "string",
      "description": "End date in YYYY-MM-DD format"
    },
    "count": {
      "type": "integer",
      "description": "Number of daily records returned"
    },
    "days": {
      "type": "array",
      "description": "Daily weather observations",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date in YYYY-MM-DD format"
          },
          "tavg_c": {
            "type": [
              "number",
              "null"
            ],
            "description": "Average temperature in Celsius"
          },
          "tmin_c": {
            "type": [
              "number",
              "null"
            ],
            "description": "Minimum temperature in Celsius"
          },
          "tmax_c": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum temperature in Celsius"
          },
          "precip_mm": {
            "type": [
              "number",
              "null"
            ],
            "description": "Precipitation in millimeters"
          },
          "snow_mm": {
            "type": [
              "number",
              "null"
            ],
            "description": "Snow depth in millimeters"
          },
          "wind_dir_deg": {
            "type": [
              "number",
              "null"
            ],
            "description": "Wind direction in degrees"
          },
          "wind_speed_kmh": {
            "type": [
              "number",
              "null"
            ],
            "description": "Average wind speed in km/h"
          },
          "wind_peak_kmh": {
            "type": [
              "number",
              "null"
            ],
            "description": "Peak wind gust in km/h"
          },
          "pressure_hpa": {
            "type": [
              "number",
              "null"
            ],
            "description": "Atmospheric pressure in hectopascals"
          },
          "sunshine_min": {
            "type": [
              "number",
              "null"
            ],
            "description": "Sunshine duration in minutes"
          }
        },
        "required": [
          "date"
        ]
      }
    }
  },
  "required": [
    "station_id",
    "start_date",
    "end_date",
    "count",
    "days"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "meteostat": {
      "url": "https://gateway.pipeworx.io/meteostat/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026