WeatherSAFE
MCP server that provides hourly weather forecasts using the AccuWeather API
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A simple MCP server that provides hourly weather forecasts using the AccuWeather API.
Setup
- Install dependencies using
uv:
uv venv uv sync
- Create a
.envfile with your AccuWeather API key:
ACCUWEATHER_API_KEY=your_api_key_here
You can get an API key by registering at AccuWeather API.
Running the Server
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["--from", "git+https://github.com/adhikasp/mcp-weather.git", "mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}API Usage
Get Hourly Weather Forecast
Response:
{
"location": "Jakarta",
"location_key": "208971",
"country": "Indonesia",
"current_conditions": {
"temperature": {
"value": 32.2,
"unit": "C"
},
"weather_text": "Partly sunny",
"relative_humidity": 75,
"precipitation": false,
"observation_time": "2024-01-01T12:00:00+07:00"
},
"hourly_forecast": [
{
"relative_time": "+1 hour",
"temperature": {
"value": 32.2,
"unit": "C"
},
"weather_text": "Partly sunny",
"precipitation_probability": 40,
"precipitation_type": "Rain",
"precipitation_intensity": "Light"
}
]
}The API provides:
- Current weather conditions including temperature, weather description, humidity, and precipitation status
- 12-hour forecast with hourly data including:
- Relative time from current time
- Temperature in Celsius
- Weather description
- Precipitation probability, type, and intensity
11a63d1b58dfOBSERVED · 2026-10-08Connect
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 mcp add mcp-weather --env ACCUWEATHER_API_KEY=${ACCUWEATHER_API_KEY} -- uvx mcp-weather{
"mcpServers": {
"mcp-weather": {
"command": "uvx",
"args": [
"mcp-weather"
],
"env": {
"ACCUWEATHER_API_KEY": "${ACCUWEATHER_API_KEY}"
}
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_hourly_weather | read | Get hourly weather forecast for a location. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
11a63d1b58dffull audit observations/trust-audit/mcp-server/adhikasp__weather.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 11a63d1b58df | SAFE | B | 89 | first audit |
Questions
What is the Weather MCP server?
MCP server that provides hourly weather forecasts using the AccuWeather API
What tools does Weather expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
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 (89/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 ACCUWEATHER_API_KEY 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 current is this page?
The grade is for one exact copy of the source (11a63d1b58df), read on 2026-10-08. The repository is watched and re-audited when it changes.