@dangahagan/weather-mcp 1.35.15 → 1.35.16
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/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@dangahagan/weather-mcp)
|
|
4
4
|
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.dgahagan/weather-mcp)
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](./docs/testing/TEST_SUITE_README.md)
|
|
7
7
|
[](https://nodejs.org)
|
|
8
8
|
|
|
9
9
|
**Give your AI assistant real weather data — 17 tools, zero API keys, zero signup, zero cost.**
|
|
@@ -58,7 +58,7 @@ Choose this one if you want:
|
|
|
58
58
|
|
|
59
59
|
- **Genuinely free** — every data source is a free public API. No trial that expires, no credit card, no rate-limited "free tier" bait.
|
|
60
60
|
- **No API keys** — install to first forecast in under a minute. Nothing to configure, nothing to leak into a repo. ([Four optional keys](#optional-api-keys) add extras if you want them; the default configuration needs none.)
|
|
61
|
-
- **Fully open source** — MIT licensed, readable TypeScript, 5,
|
|
61
|
+
- **Fully open source** — MIT licensed, readable TypeScript, 5,178 tests. Audit it, fork it, fix it.
|
|
62
62
|
- **Privacy-respecting** — your queries go directly from your machine to public weather APIs. No middleman server, and no telemetry unless you opt in.
|
|
63
63
|
- **Breadth** — 17 tools covering weather, safety hazards (lightning, floods, wildfires), marine conditions, air quality, and historical data back to 1940. Most weather MCPs stop at forecasts.
|
|
64
64
|
|
|
@@ -396,7 +396,7 @@ npm run build # Compile TypeScript
|
|
|
396
396
|
npm run dev # Run in development mode
|
|
397
397
|
npm test # Offline tests: unit + integration (what CI runs)
|
|
398
398
|
npm run test:live # Live-network tests against the real upstreams, by hand
|
|
399
|
-
npm test && npm run test:live # Run all 5,
|
|
399
|
+
npm test && npm run test:live # Run all 5,178 tests
|
|
400
400
|
npm run test:coverage # Coverage report
|
|
401
401
|
npm run audit # Dependency vulnerability scan
|
|
402
402
|
```
|
|
@@ -12,11 +12,14 @@
|
|
|
12
12
|
* `Agent.createSocket` accepts a returned socket or the callback, so its request bookkeeping is
|
|
13
13
|
* unchanged. Every path settles the callback exactly once.
|
|
14
14
|
* - A 200 answer is upgraded to TLS to the origin, as https-proxy-agent 5 does
|
|
15
|
-
* (`dist/agent.js:118-128`).
|
|
16
|
-
*
|
|
17
|
-
* so a
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* (`dist/agent.js:118-128`). No other answer is replayed: the CONNECT leg is not authenticated,
|
|
16
|
+
* and hpa 5's replay (`agent.js:130-152`) hands the proxy's bytes to the request as the origin's
|
|
17
|
+
* HTTPS response, so a `203` with a body would be an accepted answer that no TLS ever covered.
|
|
18
|
+
* A 4xx or 5xx reaches the request as a response built here from the status code alone, so a 407
|
|
19
|
+
* still reaches every service's error mapper as `response.status` 407. Any other status is
|
|
20
|
+
* `ECONNRESET`. No origin request byte reaches the proxy on either path. A proxy that closes
|
|
21
|
+
* before answering is `ECONNRESET`; a socket error keeps its own code (G138) under a fixed
|
|
22
|
+
* message, because Node's names the proxy endpoint.
|
|
20
23
|
* - No pooling: `keepAlive: false`. The tunnel it replaces sent `Connection: close` too.
|
|
21
24
|
* - It logs nothing and never stringifies the proxy URL, which can carry credentials. No error it
|
|
22
25
|
* produces names the proxy host, port or userinfo.
|
|
@@ -41,6 +44,11 @@ export declare function parseConnectResponse(buffered: Buffer): {
|
|
|
41
44
|
statusCode: number;
|
|
42
45
|
headerEnd: number;
|
|
43
46
|
} | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The whole response a refused CONNECT hands to the request: the proxy's status code under a fixed
|
|
49
|
+
* reason, with no header and no body. Nothing the proxy wrote is copied.
|
|
50
|
+
*/
|
|
51
|
+
export declare function buildRefusalResponse(statusCode: number): Buffer;
|
|
44
52
|
/**
|
|
45
53
|
* An agent for one request that tunnels through `proxy`, and destroys its pending proxy socket
|
|
46
54
|
* when `signal` aborts.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxyTunnel.d.ts","sourceRoot":"","sources":["../../src/utils/proxyTunnel.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"proxyTunnel.d.ts","sourceRoot":"","sources":["../../src/utils/proxyTunnel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,MAAM,YAAY,CAAC;AAc/B;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAU3D;AAWD,uGAAuG;AACvG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,MAAM,CAQlF;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,GACf;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAYvD;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAK/D;AAwKD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,GAAG,KAAK,CAAC,KAAK,CAE9E"}
|
|
@@ -12,11 +12,14 @@
|
|
|
12
12
|
* `Agent.createSocket` accepts a returned socket or the callback, so its request bookkeeping is
|
|
13
13
|
* unchanged. Every path settles the callback exactly once.
|
|
14
14
|
* - A 200 answer is upgraded to TLS to the origin, as https-proxy-agent 5 does
|
|
15
|
-
* (`dist/agent.js:118-128`).
|
|
16
|
-
*
|
|
17
|
-
* so a
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* (`dist/agent.js:118-128`). No other answer is replayed: the CONNECT leg is not authenticated,
|
|
16
|
+
* and hpa 5's replay (`agent.js:130-152`) hands the proxy's bytes to the request as the origin's
|
|
17
|
+
* HTTPS response, so a `203` with a body would be an accepted answer that no TLS ever covered.
|
|
18
|
+
* A 4xx or 5xx reaches the request as a response built here from the status code alone, so a 407
|
|
19
|
+
* still reaches every service's error mapper as `response.status` 407. Any other status is
|
|
20
|
+
* `ECONNRESET`. No origin request byte reaches the proxy on either path. A proxy that closes
|
|
21
|
+
* before answering is `ECONNRESET`; a socket error keeps its own code (G138) under a fixed
|
|
22
|
+
* message, because Node's names the proxy endpoint.
|
|
20
23
|
* - No pooling: `keepAlive: false`. The tunnel it replaces sent `Connection: close` too.
|
|
21
24
|
* - It logs nothing and never stringifies the proxy URL, which can carry credentials. No error it
|
|
22
25
|
* produces names the proxy host, port or userinfo.
|
|
@@ -84,6 +87,13 @@ export function parseConnectResponse(buffered) {
|
|
|
84
87
|
const match = /^HTTP\/1\.[01] (\d{3})(?: |$)/.exec(firstLine);
|
|
85
88
|
return { statusCode: match ? Number(match[1]) : 0, headerEnd };
|
|
86
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* The whole response a refused CONNECT hands to the request: the proxy's status code under a fixed
|
|
92
|
+
* reason, with no header and no body. Nothing the proxy wrote is copied.
|
|
93
|
+
*/
|
|
94
|
+
export function buildRefusalResponse(statusCode) {
|
|
95
|
+
return Buffer.from(`HTTP/1.1 ${statusCode} Proxy refused CONNECT\r\nContent-Length: 0\r\nConnection: close\r\n\r\n`, 'latin1');
|
|
96
|
+
}
|
|
87
97
|
function abortError() {
|
|
88
98
|
return Object.assign(new Error('proxy CONNECT aborted'), { code: 'ECONNABORTED' });
|
|
89
99
|
}
|
|
@@ -99,7 +109,7 @@ class TunnelAgent extends https.Agent {
|
|
|
99
109
|
this.proxy = proxy;
|
|
100
110
|
this.signal = signal;
|
|
101
111
|
}
|
|
102
|
-
/** Stash the request: a
|
|
112
|
+
/** Stash the request: a refusal's status is delivered onto it, and `createConnection` never sees it. */
|
|
103
113
|
addRequest(req, ...rest) {
|
|
104
114
|
this.request = req;
|
|
105
115
|
https.Agent.prototype.addRequest.call(this, req, ...rest);
|
|
@@ -194,15 +204,21 @@ class TunnelAgent extends https.Agent {
|
|
|
194
204
|
settle(null, tls.connect({ ...tlsOptions, socket, servername }));
|
|
195
205
|
return;
|
|
196
206
|
}
|
|
197
|
-
// Any other answer: destroy the proxy socket before a request byte is written
|
|
198
|
-
// the proxy's own response to the request so its status reaches axios.
|
|
207
|
+
// Any other answer: destroy the proxy socket before a request byte is written.
|
|
199
208
|
socket.on('error', () => undefined);
|
|
200
209
|
socket.destroy();
|
|
201
210
|
if (req === undefined) {
|
|
202
211
|
settle(resetError('proxy refused CONNECT'));
|
|
203
212
|
return;
|
|
204
213
|
}
|
|
205
|
-
|
|
214
|
+
// Only a 4xx or 5xx is a refusal. A 1xx, another 2xx or a 3xx delivered to the request would
|
|
215
|
+
// be read as the origin's own answer (a success, or a redirect to follow) with no TLS.
|
|
216
|
+
if (answer.statusCode < 400 || answer.statusCode > 599) {
|
|
217
|
+
settle(resetError('proxy sent an unexpected CONNECT status'));
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
// The status reaches axios; the proxy's headers and body do not.
|
|
221
|
+
const response = buildRefusalResponse(answer.statusCode);
|
|
206
222
|
const fake = new net.Socket({ writable: false });
|
|
207
223
|
fake.readable = true;
|
|
208
224
|
req.once('socket', (s) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxyTunnel.js","sourceRoot":"","sources":["../../src/utils/proxyTunnel.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"proxyTunnel.js","sourceRoot":"","sources":["../../src/utils/proxyTunnel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,GAAG,MAAM,UAAU,CAAC;AAG3B,OAAO,EAAE,cAAc,EAAE,MAA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ants 17 weather tools with zero API keys: global forecasts, current conditions, alerts, air quality, marine conditions, lightning detection, radar imagery, river levels, wildfire tracking, and historical weather back to 1940. Built entirely on free public APIs (NOAA, Open-Meteo, USGS, NIFC).",
|
|
5
5
|
"mcpName": "io.github.dgahagan/weather-mcp",
|
|
6
6
|
"main": "dist/index.js",
|