Atlas / MCP servers / weather-mcp / Weather

WeatherSAFE

mcp/weather-mcp/weather-114

Free, open-source MCP server giving AI assistants 17 weather tools — a one-call weather summary plus forecasts, alerts, air quality, marine, radar, lightning, rivers, wildfires, and historical data back to 1940. Ask by city name or coordinates. Built on free public APIs (NOAA, Open-Meteo). No API ke

Verdict
SAFE
Grade
B
Trust score
82 /100
Exposed tools
—
Transport
stdio
License
MIT
Stars
48
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.npmjs.com/package/@dangahagan/weather-mcp) [](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.dgahagan/weather-mcp) [](https://opensource.org/licenses/MIT) [](./docs/testing/TESTSUITEREADME.md) [](https://nodejs.org)

Give your AI assistant real weather data — 17 tools, zero API keys, zero signup, zero cost.

Weather MCP is a Model Context Protocol server that connects AI assistants (Claude, Cursor, Cline, Zed, and any other MCP client) to live weather data: forecasts, current conditions, alerts, air quality, marine conditions, lightning, radar, rivers, wildfires, and 85+ years of historical weather. It's built entirely on free public data sources — NOAA, Open-Meteo, MET Norway, USGS, NIFC, NASA FIRMS, RainViewer, and Blitzortung.org — so there is nothing to sign up for and no key to paste in. (A few optional keys unlock extras — see Optional API keys — but no tool ever requires one.)

claude mcp add weather -- npx -y @dangahagan/weather-mcp@latest

That's the whole install for Claude Code. For any other MCP client, add this to its MCP config:

{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "@dangahagan/weather-mcp@latest"]
}
}
}

Then just ask:

"What's the weather in Tokyo this weekend?" "Is there any lightning near the lake right now?" "How does today compare to normal for this time of year?" "Are there wildfires within 50 miles of my cabin?" "Will there be a full moon this weekend?" *"Is this a record h
Read from source at commit cb2ece07935bOBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add weather-mcp -- npx -y @dangahagan/[email protected]
03

Trust audit

SAFEgrade B · trust 82/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (7 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/utils/jmaParse.ts:173
const stripped = xml.replace(/^/, '').trimStart();
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcp.json.example
.mcp.json.example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
tests/archived-cdo-tests/test_cdo_debug.ts:11
console.log('Token configured:', !!token);
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/lib/derived-facts.mjs:38
const TOOLS_TS = new URL('../../src/config/tools.ts', import.meta.url);
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/lib/derived-facts.mjs:219
const REPO_ROOT = new URL('../../', import.meta.url);
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/analytics/config.ts:21
readFileSync(join(__dirname, '../../package.json'), 'utf-8')
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/utils/version.ts:15
readFileSync(join(__dirname, '../../package.json'), 'utf-8')
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/integration/almanac.test.ts:40
import { handleGetForecast } from '../../src/handlers/forecastHandler.js';
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
tests/unit/v1.6.1-fixes.test.ts:91
const malicious = 'Seattle"\\n![exfil](https://attacker.example/pixel)';
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/unit/cap-parse.test.ts:433
expect(isAllowedFeedUrl('https://169.254.169.254/output/gfa/x.cap', feed)).toBe(false);
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/unit/national-cap-service.test.ts:809
linkLocal: 'https://169.254.169.254/cap_public_website/x',
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
GOTCHAS.md:1602
`https://121.58.193.10/output/gfa/...` instead of `publicalert.pagasa.dost.gov.ph`.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
GOTCHAS.md:6397
`HTTPS_PROXY=http://127.0.0.1:9` and `HTTP_PROXY=http://127.0.0.1:9`, when the file talks to its
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/analytics/LOCAL_ANALYTICS_GUIDE.md:41
- use a domain name, not an IP address — neither IPv4 (`https://10.0.0.1/`) nor IPv6
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/integration/imagery-transport-bounds.test.ts:48
const url = new URL(req.url ?? '/', 'http://127.0.0.1');
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/integration/imagery-transport-bounds.test.ts:106
origin = `http://127.0.0.1:${(server.address() as AddressInfo).port}`;
LOWObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
tests/unit/air-quality-forecast.test.ts:47
current_units: { time: 'iso8601', interval: 'seconds', us_aqi: '', pm2_5: 'μg/m3' },
LOWObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
tests/unit/air-quality-forecast.test.ts:418
buildAQCurrentResponse({ ammonia: null }, { ammonia: 'μg/m3' })
LOWObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
tests/unit/air-quality-google-pollen.test.ts:58
current_units: { time: 'iso8601', interval: 'seconds', us_aqi: '', pm2_5: 'μg/m3' },
LOWObfuscation / stealth · obf.homoglyph · CWE-506, CWE-94
tests/unit/air-quality-pollen.test.ts:32
current_units: { time: 'iso8601', interval: 'seconds', us_aqi: '', pm2_5: 'μg/m3' },
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, axios, dotenv, fast-xml-parser, luxon, pngjs, @eslint/js, @types/luxon
Why it matters. 21 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
CHANGELOG.md:222
You can point the lightning tool at your own broker with `BLITZORTUNG_MQTT_URL`, and that address can carry a username and password. The server wrote the whole address, credentials included, to its lo
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
CHANGELOG.md:389
- **Tool registration and the dispatch moved out of `src/index.ts` into `src/server/weatherServer.ts`, behind `createWeatherServer({ locationStore })`.** The factory returns an **unconnected** `Server
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:298
| [`NCEI_API_TOKEN`](https://www.ncdc.noaa.gov/cdo-web/token) | Free registration (email) | Official NOAA station climate normals for US locations | Normals are computed from the Open-Meteo reanalysis
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha cb2ece07935bfull audit observations/trust-audit/mcp-server/weather-mcp__weather-114.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08cb2ece07935bSAFEB82first audit
05

Questions

What is the Weather MCP server?

Free, open-source MCP server giving AI assistants 17 weather tools — a one-call weather summary plus forecasts, alerts, air quality, marine, radar, lightning, rivers, wildfires, and historical data back to 1940. Ask by city name or coordinates. Built on free public APIs (NOAA, Open-Meteo). No API ke

Is Weather safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (82/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Weather need?

It reads FIRMS_MAP_KEY, GOOGLE_POLLEN_API_KEY, GOOGLE_WEATHER_API_KEY, NCEI_API_TOKEN and NOAA_CDO_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Weather run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @dangahagan/weather-mcp at 1.34.4.

How current is this page?

The grade is for one exact copy of the source (cb2ece07935b), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement