compare_models

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

Compare temperature projections across climate models for the same location and date range. Returns side-by-side daily mean temperatures to assess model agreement and uncertainty.

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": 35.6762,
  "longitude": 139.6503,
  "start_date": "2040-01-01",
  "end_date": "2040-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":"compare_models","arguments":{"latitude":35.6762,"longitude":139.6503,"start_date":"2040-01-01","end_date":"2040-12-31"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('compare_models', {
  "latitude": 35.6762,
  "longitude": 139.6503,
  "start_date": "2040-01-01",
  "end_date": "2040-12-31"
});

More examples

{
  "latitude": -33.8688,
  "longitude": 151.2093,
  "start_date": "1980-07-01",
  "end_date": "1980-09-30"
}

Response shape

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

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
daysarrayArray of daily temperature projections from multiple models
modelsarrayList of climate models compared
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",
      "additionalProperties": {
        "type": "string"
      }
    },
    "days": {
      "type": "array",
      "description": "Array of daily temperature projections from multiple models",
      "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"
          }
        },
        "required": [
          "date"
        ]
      }
    },
    "models": {
      "type": "array",
      "description": "List of climate models compared",
      "items": {
        "type": "string"
      },
      "enum": [
        [
          "EC_Earth3P_HR",
          "MPI_ESM1_2_XR",
          "FGOALS_f3_H"
        ]
      ]
    }
  },
  "required": [
    "latitude",
    "longitude",
    "timezone",
    "units",
    "days",
    "models"
  ]
}

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