get_climate_projection

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

Get historical and future temperature and precipitation projections for a location (1950–2050). Returns daily forecasts with temperature, precipitation, and weather conditions.

Parameters

NameTypeRequiredDescription
latitudenumberyesLatitude of the location in decimal degrees.
longitudenumberyesLongitude of the location in decimal degrees.
start_datestringyesStart date in YYYY-MM-DD format (must be between 1950 and 2050).
end_datestringyesEnd date in YYYY-MM-DD format (must be between 1950 and 2050).

Example call

Arguments

{
  "latitude": 40.7128,
  "longitude": -74.006,
  "start_date": "2020-01-01",
  "end_date": "2020-12-31"
}

curl

curl -X POST https://gateway.pipeworx.io/climate/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_climate_projection","arguments":{"latitude":40.7128,"longitude":-74.006,"start_date":"2020-01-01","end_date":"2020-12-31"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_climate_projection', {
  "latitude": 40.7128,
  "longitude": -74.006,
  "start_date": "2020-01-01",
  "end_date": "2020-12-31"
});

More examples

{
  "latitude": 51.5074,
  "longitude": -0.1278,
  "start_date": "2030-06-01",
  "end_date": "2030-08-31"
}

Response shape

Always returns: latitude, longitude, timezone, units, days

FieldTypeDescription
latitudenumberLatitude of the location in decimal degrees
longitudenumberLongitude of the location in decimal degrees
timezonestringTimezone identifier for the location
unitsobjectUnits for each daily variable (e.g., °C, mm)
daysarrayArray of daily climate projections
Full JSON Schema
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": "number",
      "description": "Latitude of the location in decimal degrees"
    },
    "longitude": {
      "type": "number",
      "description": "Longitude of the location in decimal degrees"
    },
    "timezone": {
      "type": "string",
      "description": "Timezone identifier for the location"
    },
    "units": {
      "type": "object",
      "description": "Units for each daily variable (e.g., °C, mm)",
      "additionalProperties": {
        "type": "string"
      }
    },
    "days": {
      "type": "array",
      "description": "Array of daily climate projections",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date in YYYY-MM-DD format"
          },
          "temperature_2m_mean": {
            "type": [
              "number",
              "null"
            ],
            "description": "Mean temperature in °C"
          },
          "precipitation_sum": {
            "type": [
              "number",
              "null"
            ],
            "description": "Total precipitation in mm"
          }
        },
        "required": [
          "date"
        ]
      }
    }
  },
  "required": [
    "latitude",
    "longitude",
    "timezone",
    "units",
    "days"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026