open-meteo-mcp-server 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +317 -0
- package/dist/client.d.ts +28 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +141 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +255 -0
- package/dist/index.js.map +1 -0
- package/dist/tools.d.ts +13 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +644 -0
- package/dist/tools.js.map +1 -0
- package/dist/types.d.ts +256 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +137 -0
- package/dist/types.js.map +1 -0
- package/package.json +58 -0
package/dist/tools.js
ADDED
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
export const WEATHER_FORECAST_TOOL = {
|
|
2
|
+
name: 'weather_forecast',
|
|
3
|
+
description: 'Get weather forecast data for coordinates using Open-Meteo API. Supports hourly and daily data with various weather variables.',
|
|
4
|
+
inputSchema: {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
latitude: {
|
|
8
|
+
type: 'number',
|
|
9
|
+
minimum: -90,
|
|
10
|
+
maximum: 90,
|
|
11
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
12
|
+
},
|
|
13
|
+
longitude: {
|
|
14
|
+
type: 'number',
|
|
15
|
+
minimum: -180,
|
|
16
|
+
maximum: 180,
|
|
17
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
18
|
+
},
|
|
19
|
+
hourly: {
|
|
20
|
+
type: 'array',
|
|
21
|
+
items: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
enum: [
|
|
24
|
+
'temperature_2m', 'relative_humidity_2m', 'dewpoint_2m', 'apparent_temperature',
|
|
25
|
+
'pressure_msl', 'surface_pressure', 'cloud_cover', 'wind_speed_10m', 'wind_direction_10m',
|
|
26
|
+
'wind_gusts_10m', 'shortwave_radiation', 'precipitation', 'rain', 'snowfall',
|
|
27
|
+
'precipitation_probability', 'weather_code', 'visibility', 'uv_index'
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
description: 'Hourly weather variables to retrieve'
|
|
31
|
+
},
|
|
32
|
+
daily: {
|
|
33
|
+
type: 'array',
|
|
34
|
+
items: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
enum: [
|
|
37
|
+
'temperature_2m_max', 'temperature_2m_min', 'apparent_temperature_max', 'apparent_temperature_min',
|
|
38
|
+
'precipitation_sum', 'weather_code', 'sunrise', 'sunset', 'wind_speed_10m_max',
|
|
39
|
+
'wind_gusts_10m_max', 'wind_direction_10m_dominant', 'shortwave_radiation_sum', 'uv_index_max'
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
description: 'Daily weather variables to retrieve'
|
|
43
|
+
},
|
|
44
|
+
current_weather: {
|
|
45
|
+
type: 'boolean',
|
|
46
|
+
description: 'Include current weather conditions'
|
|
47
|
+
},
|
|
48
|
+
temperature_unit: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
enum: ['celsius', 'fahrenheit'],
|
|
51
|
+
default: 'celsius',
|
|
52
|
+
description: 'Temperature unit'
|
|
53
|
+
},
|
|
54
|
+
wind_speed_unit: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
57
|
+
default: 'kmh',
|
|
58
|
+
description: 'Wind speed unit'
|
|
59
|
+
},
|
|
60
|
+
precipitation_unit: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
enum: ['mm', 'inch'],
|
|
63
|
+
default: 'mm',
|
|
64
|
+
description: 'Precipitation unit'
|
|
65
|
+
},
|
|
66
|
+
timezone: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
description: 'Timezone for timestamps (e.g., Europe/Paris, America/New_York)'
|
|
69
|
+
},
|
|
70
|
+
past_days: {
|
|
71
|
+
type: 'integer',
|
|
72
|
+
enum: [1, 2],
|
|
73
|
+
description: 'Include past days data'
|
|
74
|
+
},
|
|
75
|
+
forecast_days: {
|
|
76
|
+
type: 'integer',
|
|
77
|
+
minimum: 1,
|
|
78
|
+
maximum: 16,
|
|
79
|
+
default: 7,
|
|
80
|
+
description: 'Number of forecast days'
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
required: ['latitude', 'longitude']
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export const WEATHER_ARCHIVE_TOOL = {
|
|
87
|
+
name: 'weather_archive',
|
|
88
|
+
description: 'Get historical weather data from ERA5 reanalysis (1940-present) for specific coordinates and date range.',
|
|
89
|
+
inputSchema: {
|
|
90
|
+
type: 'object',
|
|
91
|
+
properties: {
|
|
92
|
+
latitude: {
|
|
93
|
+
type: 'number',
|
|
94
|
+
minimum: -90,
|
|
95
|
+
maximum: 90,
|
|
96
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
97
|
+
},
|
|
98
|
+
longitude: {
|
|
99
|
+
type: 'number',
|
|
100
|
+
minimum: -180,
|
|
101
|
+
maximum: 180,
|
|
102
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
103
|
+
},
|
|
104
|
+
start_date: {
|
|
105
|
+
type: 'string',
|
|
106
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
107
|
+
description: 'Start date in YYYY-MM-DD format'
|
|
108
|
+
},
|
|
109
|
+
end_date: {
|
|
110
|
+
type: 'string',
|
|
111
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
112
|
+
description: 'End date in YYYY-MM-DD format'
|
|
113
|
+
},
|
|
114
|
+
hourly: {
|
|
115
|
+
type: 'array',
|
|
116
|
+
items: {
|
|
117
|
+
type: 'string',
|
|
118
|
+
enum: [
|
|
119
|
+
'temperature_2m', 'relative_humidity_2m', 'precipitation', 'pressure_msl',
|
|
120
|
+
'wind_speed_10m', 'wind_direction_10m', 'shortwave_radiation'
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
description: 'Hourly weather variables to retrieve'
|
|
124
|
+
},
|
|
125
|
+
daily: {
|
|
126
|
+
type: 'array',
|
|
127
|
+
items: {
|
|
128
|
+
type: 'string',
|
|
129
|
+
enum: [
|
|
130
|
+
'temperature_2m_max', 'temperature_2m_min', 'precipitation_sum',
|
|
131
|
+
'wind_speed_10m_max', 'shortwave_radiation_sum'
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
description: 'Daily weather variables to retrieve'
|
|
135
|
+
},
|
|
136
|
+
temperature_unit: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
enum: ['celsius', 'fahrenheit'],
|
|
139
|
+
default: 'celsius'
|
|
140
|
+
},
|
|
141
|
+
timezone: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
description: 'Timezone for timestamps'
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
required: ['latitude', 'longitude', 'start_date', 'end_date']
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
export const AIR_QUALITY_TOOL = {
|
|
150
|
+
name: 'air_quality',
|
|
151
|
+
description: 'Get air quality forecast data including PM2.5, PM10, ozone, nitrogen dioxide and other pollutants.',
|
|
152
|
+
inputSchema: {
|
|
153
|
+
type: 'object',
|
|
154
|
+
properties: {
|
|
155
|
+
latitude: {
|
|
156
|
+
type: 'number',
|
|
157
|
+
minimum: -90,
|
|
158
|
+
maximum: 90,
|
|
159
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
160
|
+
},
|
|
161
|
+
longitude: {
|
|
162
|
+
type: 'number',
|
|
163
|
+
minimum: -180,
|
|
164
|
+
maximum: 180,
|
|
165
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
166
|
+
},
|
|
167
|
+
hourly: {
|
|
168
|
+
type: 'array',
|
|
169
|
+
items: {
|
|
170
|
+
type: 'string',
|
|
171
|
+
enum: [
|
|
172
|
+
'pm10', 'pm2_5', 'carbon_monoxide', 'nitrogen_dioxide', 'ozone',
|
|
173
|
+
'sulphur_dioxide', 'ammonia', 'dust', 'aerosol_optical_depth'
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
description: 'Air quality variables to retrieve'
|
|
177
|
+
},
|
|
178
|
+
timezone: {
|
|
179
|
+
type: 'string',
|
|
180
|
+
description: 'Timezone for timestamps'
|
|
181
|
+
},
|
|
182
|
+
past_days: {
|
|
183
|
+
type: 'integer',
|
|
184
|
+
minimum: 1,
|
|
185
|
+
maximum: 7,
|
|
186
|
+
description: 'Include past days data'
|
|
187
|
+
},
|
|
188
|
+
forecast_days: {
|
|
189
|
+
type: 'integer',
|
|
190
|
+
minimum: 1,
|
|
191
|
+
maximum: 16,
|
|
192
|
+
default: 7,
|
|
193
|
+
description: 'Number of forecast days'
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
required: ['latitude', 'longitude']
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
export const MARINE_WEATHER_TOOL = {
|
|
200
|
+
name: 'marine_weather',
|
|
201
|
+
description: 'Get marine weather forecast including wave height, wave period, wave direction and sea surface temperature.',
|
|
202
|
+
inputSchema: {
|
|
203
|
+
type: 'object',
|
|
204
|
+
properties: {
|
|
205
|
+
latitude: {
|
|
206
|
+
type: 'number',
|
|
207
|
+
minimum: -90,
|
|
208
|
+
maximum: 90,
|
|
209
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
210
|
+
},
|
|
211
|
+
longitude: {
|
|
212
|
+
type: 'number',
|
|
213
|
+
minimum: -180,
|
|
214
|
+
maximum: 180,
|
|
215
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
216
|
+
},
|
|
217
|
+
hourly: {
|
|
218
|
+
type: 'array',
|
|
219
|
+
items: {
|
|
220
|
+
type: 'string',
|
|
221
|
+
enum: [
|
|
222
|
+
'wave_height', 'wave_direction', 'wave_period',
|
|
223
|
+
'wind_wave_height', 'wind_wave_direction', 'wind_wave_period',
|
|
224
|
+
'swell_wave_height', 'swell_wave_direction', 'swell_wave_period',
|
|
225
|
+
'sea_surface_temperature'
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
description: 'Marine weather variables to retrieve'
|
|
229
|
+
},
|
|
230
|
+
daily: {
|
|
231
|
+
type: 'array',
|
|
232
|
+
items: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
enum: [
|
|
235
|
+
'wave_height_max', 'wind_wave_height_max', 'swell_wave_height_max'
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
description: 'Daily marine weather variables to retrieve'
|
|
239
|
+
},
|
|
240
|
+
timezone: {
|
|
241
|
+
type: 'string',
|
|
242
|
+
description: 'Timezone for timestamps'
|
|
243
|
+
},
|
|
244
|
+
past_days: {
|
|
245
|
+
type: 'integer',
|
|
246
|
+
minimum: 1,
|
|
247
|
+
maximum: 7,
|
|
248
|
+
description: 'Include past days data'
|
|
249
|
+
},
|
|
250
|
+
forecast_days: {
|
|
251
|
+
type: 'integer',
|
|
252
|
+
minimum: 1,
|
|
253
|
+
maximum: 16,
|
|
254
|
+
default: 7,
|
|
255
|
+
description: 'Number of forecast days'
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
required: ['latitude', 'longitude']
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
export const ELEVATION_TOOL = {
|
|
262
|
+
name: 'elevation',
|
|
263
|
+
description: 'Get elevation data for given coordinates using digital elevation models.',
|
|
264
|
+
inputSchema: {
|
|
265
|
+
type: 'object',
|
|
266
|
+
properties: {
|
|
267
|
+
latitude: {
|
|
268
|
+
type: 'number',
|
|
269
|
+
minimum: -90,
|
|
270
|
+
maximum: 90,
|
|
271
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
272
|
+
},
|
|
273
|
+
longitude: {
|
|
274
|
+
type: 'number',
|
|
275
|
+
minimum: -180,
|
|
276
|
+
maximum: 180,
|
|
277
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
required: ['latitude', 'longitude']
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
export const WEATHER_MODEL_TOOLS = [
|
|
284
|
+
{
|
|
285
|
+
name: 'dwd_icon_forecast',
|
|
286
|
+
description: 'Get weather forecast from German DWD ICON model with high resolution data for Europe and global coverage.',
|
|
287
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'gfs_forecast',
|
|
291
|
+
description: 'Get weather forecast from US NOAA GFS model with global coverage and high-resolution data for North America.',
|
|
292
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'meteofrance_forecast',
|
|
296
|
+
description: 'Get weather forecast from French Météo-France models including AROME (high-resolution France) and ARPEGE (Europe).',
|
|
297
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: 'ecmwf_forecast',
|
|
301
|
+
description: 'Get weather forecast from European Centre for Medium-Range Weather Forecasts with high-quality global forecasts.',
|
|
302
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: 'jma_forecast',
|
|
306
|
+
description: 'Get weather forecast from Japan Meteorological Agency with high-resolution data for Japan and Asia.',
|
|
307
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'metno_forecast',
|
|
311
|
+
description: 'Get weather forecast from Norwegian weather service with high-resolution data for Nordic countries.',
|
|
312
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'gem_forecast',
|
|
316
|
+
description: 'Get weather forecast from Canadian weather service GEM model with high-resolution data for Canada and North America.',
|
|
317
|
+
inputSchema: WEATHER_FORECAST_TOOL.inputSchema
|
|
318
|
+
}
|
|
319
|
+
];
|
|
320
|
+
export const FLOOD_FORECAST_TOOL = {
|
|
321
|
+
name: 'flood_forecast',
|
|
322
|
+
description: 'Get river discharge and flood forecasts from GloFAS (Global Flood Awareness System).',
|
|
323
|
+
inputSchema: {
|
|
324
|
+
type: 'object',
|
|
325
|
+
properties: {
|
|
326
|
+
latitude: {
|
|
327
|
+
type: 'number',
|
|
328
|
+
minimum: -90,
|
|
329
|
+
maximum: 90,
|
|
330
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
331
|
+
},
|
|
332
|
+
longitude: {
|
|
333
|
+
type: 'number',
|
|
334
|
+
minimum: -180,
|
|
335
|
+
maximum: 180,
|
|
336
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
337
|
+
},
|
|
338
|
+
daily: {
|
|
339
|
+
type: 'array',
|
|
340
|
+
items: {
|
|
341
|
+
type: 'string',
|
|
342
|
+
enum: [
|
|
343
|
+
'river_discharge', 'river_discharge_mean', 'river_discharge_median',
|
|
344
|
+
'river_discharge_max', 'river_discharge_min', 'river_discharge_p25', 'river_discharge_p75'
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
description: 'River discharge variables to retrieve'
|
|
348
|
+
},
|
|
349
|
+
timezone: {
|
|
350
|
+
type: 'string',
|
|
351
|
+
description: 'Timezone for timestamps'
|
|
352
|
+
},
|
|
353
|
+
past_days: {
|
|
354
|
+
type: 'integer',
|
|
355
|
+
minimum: 1,
|
|
356
|
+
maximum: 7,
|
|
357
|
+
description: 'Include past days data'
|
|
358
|
+
},
|
|
359
|
+
forecast_days: {
|
|
360
|
+
type: 'integer',
|
|
361
|
+
minimum: 1,
|
|
362
|
+
maximum: 210,
|
|
363
|
+
default: 92,
|
|
364
|
+
description: 'Number of forecast days (up to 210 days possible)'
|
|
365
|
+
},
|
|
366
|
+
ensemble: {
|
|
367
|
+
type: 'boolean',
|
|
368
|
+
description: 'If true, all forecast ensemble members will be returned'
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
required: ['latitude', 'longitude']
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
export const SEASONAL_FORECAST_TOOL = {
|
|
375
|
+
name: 'seasonal_forecast',
|
|
376
|
+
description: 'Get long-range seasonal forecasts for temperature and precipitation up to 9 months ahead.',
|
|
377
|
+
inputSchema: {
|
|
378
|
+
type: 'object',
|
|
379
|
+
properties: {
|
|
380
|
+
latitude: {
|
|
381
|
+
type: 'number',
|
|
382
|
+
minimum: -90,
|
|
383
|
+
maximum: 90,
|
|
384
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
385
|
+
},
|
|
386
|
+
longitude: {
|
|
387
|
+
type: 'number',
|
|
388
|
+
minimum: -180,
|
|
389
|
+
maximum: 180,
|
|
390
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
391
|
+
},
|
|
392
|
+
hourly: {
|
|
393
|
+
type: 'array',
|
|
394
|
+
items: {
|
|
395
|
+
type: 'string',
|
|
396
|
+
enum: [
|
|
397
|
+
'pressure_msl', 'temperature_2m', 'temperature_2m_max', 'temperature_2m_min', 'shortwave_radiation',
|
|
398
|
+
'cloud_cover', 'precipitation', 'showers', 'wind_speed_10m', 'wind_direction_10m',
|
|
399
|
+
'relative_humidity_2m', 'soil_temperature_0_to_10cm', 'soil_moisture_0_to_10cm', 'soil_moisture_10_to_40cm',
|
|
400
|
+
'soil_moisture_40_to_100cm', 'soil_moisture_100_to_200cm'
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
description: '6-hourly weather variables to retrieve'
|
|
404
|
+
},
|
|
405
|
+
daily: {
|
|
406
|
+
type: 'array',
|
|
407
|
+
items: {
|
|
408
|
+
type: 'string',
|
|
409
|
+
enum: [
|
|
410
|
+
'temperature_2m_max', 'temperature_2m_min', 'shortwave_radiation_sum',
|
|
411
|
+
'precipitation_sum', 'rain_sum', 'precipitation_hours',
|
|
412
|
+
'wind_speed_10m_max', 'wind_direction_10m_dominant'
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
description: 'Daily weather variables to retrieve'
|
|
416
|
+
},
|
|
417
|
+
forecast_days: {
|
|
418
|
+
type: 'integer',
|
|
419
|
+
enum: [45, 92, 183, 274],
|
|
420
|
+
default: 92,
|
|
421
|
+
description: 'Number of forecast days: 45 days, 3 months (default), 6 months, or 9 months'
|
|
422
|
+
},
|
|
423
|
+
past_days: {
|
|
424
|
+
type: 'integer',
|
|
425
|
+
minimum: 0,
|
|
426
|
+
maximum: 92,
|
|
427
|
+
description: 'Include past days data'
|
|
428
|
+
},
|
|
429
|
+
start_date: {
|
|
430
|
+
type: 'string',
|
|
431
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
432
|
+
description: 'Start date in YYYY-MM-DD format'
|
|
433
|
+
},
|
|
434
|
+
end_date: {
|
|
435
|
+
type: 'string',
|
|
436
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
437
|
+
description: 'End date in YYYY-MM-DD format'
|
|
438
|
+
},
|
|
439
|
+
temperature_unit: {
|
|
440
|
+
type: 'string',
|
|
441
|
+
enum: ['celsius', 'fahrenheit'],
|
|
442
|
+
default: 'celsius'
|
|
443
|
+
},
|
|
444
|
+
wind_speed_unit: {
|
|
445
|
+
type: 'string',
|
|
446
|
+
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
447
|
+
default: 'kmh'
|
|
448
|
+
},
|
|
449
|
+
precipitation_unit: {
|
|
450
|
+
type: 'string',
|
|
451
|
+
enum: ['mm', 'inch'],
|
|
452
|
+
default: 'mm'
|
|
453
|
+
},
|
|
454
|
+
timezone: {
|
|
455
|
+
type: 'string',
|
|
456
|
+
description: 'Timezone for timestamps'
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
required: ['latitude', 'longitude']
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
export const CLIMATE_PROJECTION_TOOL = {
|
|
463
|
+
name: 'climate_projection',
|
|
464
|
+
description: 'Get climate change projections from CMIP6 models for different warming scenarios.',
|
|
465
|
+
inputSchema: {
|
|
466
|
+
type: 'object',
|
|
467
|
+
properties: {
|
|
468
|
+
latitude: {
|
|
469
|
+
type: 'number',
|
|
470
|
+
minimum: -90,
|
|
471
|
+
maximum: 90,
|
|
472
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
473
|
+
},
|
|
474
|
+
longitude: {
|
|
475
|
+
type: 'number',
|
|
476
|
+
minimum: -180,
|
|
477
|
+
maximum: 180,
|
|
478
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
479
|
+
},
|
|
480
|
+
daily: {
|
|
481
|
+
type: 'array',
|
|
482
|
+
items: {
|
|
483
|
+
type: 'string',
|
|
484
|
+
enum: [
|
|
485
|
+
'temperature_2m_max', 'temperature_2m_min', 'temperature_2m_mean',
|
|
486
|
+
'cloud_cover_mean', 'relative_humidity_2m_max', 'relative_humidity_2m_min',
|
|
487
|
+
'relative_humidity_2m_mean', 'soil_moisture_0_to_10cm_mean',
|
|
488
|
+
'precipitation_sum', 'rain_sum', 'snowfall_sum', 'wind_speed_10m_mean',
|
|
489
|
+
'wind_speed_10m_max', 'pressure_msl_mean', 'shortwave_radiation_sum'
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
description: 'Climate projection variables to retrieve'
|
|
493
|
+
},
|
|
494
|
+
start_date: {
|
|
495
|
+
type: 'string',
|
|
496
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
497
|
+
description: 'Start date in YYYY-MM-DD format'
|
|
498
|
+
},
|
|
499
|
+
end_date: {
|
|
500
|
+
type: 'string',
|
|
501
|
+
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
502
|
+
description: 'End date in YYYY-MM-DD format'
|
|
503
|
+
},
|
|
504
|
+
models: {
|
|
505
|
+
type: 'array',
|
|
506
|
+
items: {
|
|
507
|
+
type: 'string',
|
|
508
|
+
enum: [
|
|
509
|
+
'meteofrance_arome_france_hd', 'meteofrance_arome_france', 'meteofrance_arpege_europe',
|
|
510
|
+
'icon_eu', 'icon_global', 'ecmwf_ifs025', 'gfs013'
|
|
511
|
+
]
|
|
512
|
+
},
|
|
513
|
+
description: 'Climate models to use'
|
|
514
|
+
},
|
|
515
|
+
temperature_unit: {
|
|
516
|
+
type: 'string',
|
|
517
|
+
enum: ['celsius', 'fahrenheit'],
|
|
518
|
+
default: 'celsius'
|
|
519
|
+
},
|
|
520
|
+
wind_speed_unit: {
|
|
521
|
+
type: 'string',
|
|
522
|
+
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
523
|
+
default: 'kmh'
|
|
524
|
+
},
|
|
525
|
+
precipitation_unit: {
|
|
526
|
+
type: 'string',
|
|
527
|
+
enum: ['mm', 'inch'],
|
|
528
|
+
default: 'mm'
|
|
529
|
+
},
|
|
530
|
+
disable_bias_correction: {
|
|
531
|
+
type: 'boolean',
|
|
532
|
+
default: false,
|
|
533
|
+
description: 'Disable statistical downscaling and bias correction'
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
required: ['latitude', 'longitude', 'start_date', 'end_date', 'models', 'daily']
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
export const ENSEMBLE_FORECAST_TOOL = {
|
|
540
|
+
name: 'ensemble_forecast',
|
|
541
|
+
description: 'Get ensemble forecasts showing forecast uncertainty with multiple model runs.',
|
|
542
|
+
inputSchema: {
|
|
543
|
+
type: 'object',
|
|
544
|
+
properties: {
|
|
545
|
+
latitude: {
|
|
546
|
+
type: 'number',
|
|
547
|
+
minimum: -90,
|
|
548
|
+
maximum: 90,
|
|
549
|
+
description: 'Latitude in WGS84 coordinate system'
|
|
550
|
+
},
|
|
551
|
+
longitude: {
|
|
552
|
+
type: 'number',
|
|
553
|
+
minimum: -180,
|
|
554
|
+
maximum: 180,
|
|
555
|
+
description: 'Longitude in WGS84 coordinate system'
|
|
556
|
+
},
|
|
557
|
+
models: {
|
|
558
|
+
type: 'array',
|
|
559
|
+
items: {
|
|
560
|
+
type: 'string',
|
|
561
|
+
enum: [
|
|
562
|
+
'meteofrance_arome_france_hd', 'meteofrance_arome_france', 'meteofrance_arpege_europe',
|
|
563
|
+
'icon_eu', 'icon_global', 'ecmwf_ifs025', 'gfs013'
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
description: 'Ensemble models to use'
|
|
567
|
+
},
|
|
568
|
+
hourly: {
|
|
569
|
+
type: 'array',
|
|
570
|
+
items: {
|
|
571
|
+
type: 'string',
|
|
572
|
+
enum: [
|
|
573
|
+
'temperature_2m', 'relative_humidity_2m', 'dew_point_2m', 'apparent_temperature',
|
|
574
|
+
'precipitation', 'rain', 'snowfall', 'snow_depth', 'weather_code',
|
|
575
|
+
'pressure_msl', 'surface_pressure', 'cloud_cover', 'visibility',
|
|
576
|
+
'wind_speed_10m', 'wind_direction_10m', 'wind_gusts_10m',
|
|
577
|
+
'wind_speed_80m', 'wind_direction_80m', 'wind_speed_100m', 'wind_direction_100m',
|
|
578
|
+
'surface_temperature', 'soil_temperature_0_to_10cm', 'cape',
|
|
579
|
+
'et0_fao_evapotranspiration', 'vapour_pressure_deficit', 'shortwave_radiation'
|
|
580
|
+
]
|
|
581
|
+
},
|
|
582
|
+
description: 'Hourly weather variables to retrieve'
|
|
583
|
+
},
|
|
584
|
+
daily: {
|
|
585
|
+
type: 'array',
|
|
586
|
+
items: {
|
|
587
|
+
type: 'string',
|
|
588
|
+
enum: [
|
|
589
|
+
'temperature_2m_mean', 'temperature_2m_min', 'temperature_2m_max',
|
|
590
|
+
'apparent_temperature_mean', 'apparent_temperature_min', 'apparent_temperature_max',
|
|
591
|
+
'wind_speed_10m_mean', 'wind_speed_10m_min', 'wind_speed_10m_max',
|
|
592
|
+
'wind_direction_10m_dominant', 'wind_gusts_10m_mean', 'wind_gusts_10m_min', 'wind_gusts_10m_max',
|
|
593
|
+
'precipitation_sum', 'precipitation_hours', 'rain_sum', 'snowfall_sum',
|
|
594
|
+
'pressure_msl_mean', 'pressure_msl_min', 'pressure_msl_max',
|
|
595
|
+
'cloud_cover_mean', 'cloud_cover_min', 'cloud_cover_max',
|
|
596
|
+
'relative_humidity_2m_mean', 'relative_humidity_2m_min', 'relative_humidity_2m_max',
|
|
597
|
+
'cape_mean', 'cape_min', 'cape_max', 'shortwave_radiation_sum'
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
description: 'Daily weather variables to retrieve'
|
|
601
|
+
},
|
|
602
|
+
forecast_days: {
|
|
603
|
+
type: 'integer',
|
|
604
|
+
minimum: 1,
|
|
605
|
+
maximum: 35,
|
|
606
|
+
default: 7,
|
|
607
|
+
description: 'Number of forecast days'
|
|
608
|
+
},
|
|
609
|
+
temperature_unit: {
|
|
610
|
+
type: 'string',
|
|
611
|
+
enum: ['celsius', 'fahrenheit'],
|
|
612
|
+
default: 'celsius'
|
|
613
|
+
},
|
|
614
|
+
wind_speed_unit: {
|
|
615
|
+
type: 'string',
|
|
616
|
+
enum: ['kmh', 'ms', 'mph', 'kn'],
|
|
617
|
+
default: 'kmh'
|
|
618
|
+
},
|
|
619
|
+
precipitation_unit: {
|
|
620
|
+
type: 'string',
|
|
621
|
+
enum: ['mm', 'inch'],
|
|
622
|
+
default: 'mm'
|
|
623
|
+
},
|
|
624
|
+
timezone: {
|
|
625
|
+
type: 'string',
|
|
626
|
+
description: 'Timezone for timestamps'
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
required: ['latitude', 'longitude', 'models']
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
export const ALL_TOOLS = [
|
|
633
|
+
WEATHER_FORECAST_TOOL,
|
|
634
|
+
WEATHER_ARCHIVE_TOOL,
|
|
635
|
+
AIR_QUALITY_TOOL,
|
|
636
|
+
MARINE_WEATHER_TOOL,
|
|
637
|
+
ELEVATION_TOOL,
|
|
638
|
+
FLOOD_FORECAST_TOOL,
|
|
639
|
+
SEASONAL_FORECAST_TOOL,
|
|
640
|
+
CLIMATE_PROJECTION_TOOL,
|
|
641
|
+
ENSEMBLE_FORECAST_TOOL,
|
|
642
|
+
...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