tmy

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

Typical Meteorological Year — hourly synthetic year representative of the climate.

Parameters

NameTypeRequiredDescription
latitudenumberyes
longitudenumberyes
startyearnumberno
endyearnumberno

Example call

Arguments

{
  "latitude": 40.7128,
  "longitude": -74.006
}

curl

curl -X POST https://gateway.pipeworx.io/pvgis/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tmy","arguments":{"latitude":40.7128,"longitude":-74.006}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('tmy', {
  "latitude": 40.7128,
  "longitude": -74.006
});

More examples

{
  "latitude": 35.6762,
  "longitude": 139.6503,
  "startyear": 2005,
  "endyear": 2015
}

Response shape

FieldTypeDescription
inputsobjectInput parameters echoed back
outputsobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "inputs": {
      "type": "object",
      "description": "Input parameters echoed back"
    },
    "outputs": {
      "type": "object",
      "properties": {
        "hourly": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "time": {
                "type": "string",
                "description": "ISO timestamp"
              },
              "G(h)": {
                "type": "number",
                "description": "Global irradiance (W/m²)"
              },
              "Gb(n)": {
                "type": "number",
                "description": "Direct normal irradiance (W/m²)"
              },
              "Gd(h)": {
                "type": "number",
                "description": "Diffuse irradiance (W/m²)"
              },
              "T2m": {
                "type": "number",
                "description": "Air temperature at 2m (°C)"
              },
              "WS10m": {
                "type": "number",
                "description": "Wind speed at 10m (m/s)"
              },
              "RH": {
                "type": "number",
                "description": "Relative humidity (%)"
              }
            }
          },
          "description": "Hourly weather data for synthetic year"
        }
      }
    }
  }
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026