tmy
Pack: pvgis · Endpoint: https://gateway.pipeworx.io/pvgis/mcp
Typical Meteorological Year — hourly synthetic year representative of the climate.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | |
longitude | number | yes | |
startyear | number | no | |
endyear | number | no |
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
| Field | Type | Description |
|---|---|---|
inputs | object | Input parameters echoed back |
outputs | object |
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.