monthly_radiation
Pack: pvgis · Endpoint: https://gateway.pipeworx.io/pvgis/mcp
Long-term monthly average global / diffuse / direct irradiation on horizontal / inclined plane.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | |
longitude | number | yes | |
horirrad | boolean | no | Include horizontal irradiation (default true) |
optrad | boolean | no | Include optimum-angle irradiation (default true) |
startyear | number | no | Earliest year, defaults to climate database start |
endyear | number | no | Latest year |
angle | number | no | Specific tilt angle (default optimum) |
Example call
Arguments
{
"latitude": 40.7128,
"longitude": -74.006,
"horirrad": true,
"optrad": true
}
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":"monthly_radiation","arguments":{"latitude":40.7128,"longitude":-74.006,"horirrad":true,"optrad":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('monthly_radiation', {
"latitude": 40.7128,
"longitude": -74.006,
"horirrad": true,
"optrad": true
});
More examples
{
"latitude": 48.8566,
"longitude": 2.3522,
"startyear": 2010,
"endyear": 2020,
"angle": 25
}
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": {
"months": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "integer",
"description": "Month number (1-12)"
},
"Hh": {
"type": "number",
"description": "Horizontal irradiation (kWh/m²)"
},
"Dh": {
"type": "number",
"description": "Diffuse irradiation (kWh/m²)"
},
"Bn": {
"type": "number",
"description": "Direct normal irradiation (kWh/m²)"
},
"H_opt": {
"type": "number",
"description": "Optimum-angle irradiation (kWh/m²)"
}
}
}
}
}
}
}
}
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.