@pipeworx/mcp-open-meteo 0.1.4 → 0.2.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/tools.json ADDED
@@ -0,0 +1,190 @@
1
+ [
2
+ {
3
+ "name": "forecast",
4
+ "description": "\"What's the weather in [city]\" / \"weather forecast for [location]\" / \"will it rain tomorrow\", \"rain chance / probability this week\" / \"temperature in [place] this week\" / \"wind / precipitation / humidity forecast\" — global weather forecast up to 16 days ahead, hourly or daily, at any lat/lng. Returns temperature, precipitation, wind, humidity, cloud cover, weather codes by default; pass hourly/daily arg for custom variables. Free, keyless, no signup (Open-Meteo / ECMWF + national weather services). Pair with geocode to convert \"Paris\" → lat/lng first.",
5
+ "inputSchema": {
6
+ "type": "object",
7
+ "properties": {
8
+ "latitude": {
9
+ "type": "number"
10
+ },
11
+ "longitude": {
12
+ "type": "number"
13
+ },
14
+ "hourly": {
15
+ "type": "string",
16
+ "description": "Comma-separated hourly variables. Default sensible set."
17
+ },
18
+ "daily": {
19
+ "type": "string",
20
+ "description": "Comma-separated daily variables. Default sensible set."
21
+ },
22
+ "forecast_days": {
23
+ "type": "number",
24
+ "description": "1-16 (default 7)"
25
+ },
26
+ "past_days": {
27
+ "type": "number",
28
+ "description": "0-92 (default 0)"
29
+ },
30
+ "timezone": {
31
+ "type": "string",
32
+ "description": "IANA timezone or \"auto\""
33
+ },
34
+ "temperature_unit": {
35
+ "type": "string",
36
+ "description": "celsius (default) | fahrenheit"
37
+ },
38
+ "wind_speed_unit": {
39
+ "type": "string",
40
+ "description": "kmh | ms | mph | kn"
41
+ }
42
+ },
43
+ "required": [
44
+ "latitude",
45
+ "longitude"
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "name": "historical",
51
+ "description": "\"What was the weather on [date]\" / \"historical weather for [location]\" / \"temperature in [city] last summer\" / \"rainfall during [period]\" / \"past weather data\" — ERA5 reanalysis covering 1940-present at any global lat/lng. Returns hourly or daily temperature, precipitation, wind, humidity etc. for any date range. Use for climate analysis, retrospective event weather, or training data.",
52
+ "inputSchema": {
53
+ "type": "object",
54
+ "properties": {
55
+ "latitude": {
56
+ "type": "number"
57
+ },
58
+ "longitude": {
59
+ "type": "number"
60
+ },
61
+ "start_date": {
62
+ "type": "string",
63
+ "description": "YYYY-MM-DD"
64
+ },
65
+ "end_date": {
66
+ "type": "string",
67
+ "description": "YYYY-MM-DD"
68
+ },
69
+ "hourly": {
70
+ "type": "string"
71
+ },
72
+ "daily": {
73
+ "type": "string"
74
+ },
75
+ "timezone": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "required": [
80
+ "latitude",
81
+ "longitude",
82
+ "start_date",
83
+ "end_date"
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "name": "geocode",
89
+ "description": "\"What are the coordinates of [city]\" / \"lat lng for [place]\" / \"find [town] location\" — resolve a place name (city, village, region) to lat/lng so the other Open-Meteo tools can use them. Free, keyless, multilingual; returns up to 100 matches ranked by population. Use before forecast / historical / air_quality / marine / flood when you only have a place name.",
90
+ "inputSchema": {
91
+ "type": "object",
92
+ "properties": {
93
+ "name": {
94
+ "type": "string",
95
+ "description": "Place name (any language)"
96
+ },
97
+ "count": {
98
+ "type": "number",
99
+ "description": "Max results, 1-100 (default 10)"
100
+ },
101
+ "language": {
102
+ "type": "string",
103
+ "description": "ISO-639 lang for returned names (default en)"
104
+ }
105
+ },
106
+ "required": [
107
+ "name"
108
+ ]
109
+ }
110
+ },
111
+ {
112
+ "name": "air_quality",
113
+ "description": "\"Air quality / AQI in [city]\" / \"is the air safe to breathe in [location]\" / \"pollution levels for [place]\" / \"smoke / smog / wildfire-smoke forecast\" / \"pollen forecast\" — global air quality and pollen forecast at any lat/lng. Returns PM2.5, PM10, ozone (O3), NO2, SO2, CO, dust, and pollen (alder/birch/grass/mugwort/olive/ragweed) up to 5 days ahead, plus European AQI / US AQI. Free, keyless.",
114
+ "inputSchema": {
115
+ "type": "object",
116
+ "properties": {
117
+ "latitude": {
118
+ "type": "number"
119
+ },
120
+ "longitude": {
121
+ "type": "number"
122
+ },
123
+ "hourly": {
124
+ "type": "string",
125
+ "description": "Comma-separated variables. Default pm2_5,pm10,o3,no2,european_aqi"
126
+ },
127
+ "forecast_days": {
128
+ "type": "number",
129
+ "description": "1-5 (default 5)"
130
+ }
131
+ },
132
+ "required": [
133
+ "latitude",
134
+ "longitude"
135
+ ]
136
+ }
137
+ },
138
+ {
139
+ "name": "marine",
140
+ "description": "\"Wave / swell / surf forecast for [beach]\" / \"sea conditions in [bay]\" / \"wave height at [coordinates]\" / \"is it safe to sail\" — global marine weather forecast (wave height, wave period, wave direction, wind waves, swell waves) at any ocean lat/lng. Free, keyless. Use for surf reports, sailing prep, fishing conditions, coastal planning.",
141
+ "inputSchema": {
142
+ "type": "object",
143
+ "properties": {
144
+ "latitude": {
145
+ "type": "number"
146
+ },
147
+ "longitude": {
148
+ "type": "number"
149
+ },
150
+ "hourly": {
151
+ "type": "string",
152
+ "description": "Default wave_height,wave_period,wind_wave_height"
153
+ },
154
+ "forecast_days": {
155
+ "type": "number"
156
+ }
157
+ },
158
+ "required": [
159
+ "latitude",
160
+ "longitude"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "name": "flood",
166
+ "description": "\"Flood risk for [river]\" / \"river discharge forecast\" / \"will [river] flood\" / \"water levels at [location]\" — daily river discharge forecast from the GloFAS global flood model. Returns predicted m³/s discharge up to 30 days ahead for any river-bearing lat/lng worldwide. Use for flood risk assessment, agriculture planning, hydrology research.",
167
+ "inputSchema": {
168
+ "type": "object",
169
+ "properties": {
170
+ "latitude": {
171
+ "type": "number"
172
+ },
173
+ "longitude": {
174
+ "type": "number"
175
+ },
176
+ "daily": {
177
+ "type": "string",
178
+ "description": "Default river_discharge"
179
+ },
180
+ "forecast_days": {
181
+ "type": "number"
182
+ }
183
+ },
184
+ "required": [
185
+ "latitude",
186
+ "longitude"
187
+ ]
188
+ }
189
+ }
190
+ ]