# vedurstofa-mcp

Gives your agent Icelandic weather observations, forecasts, storm alerts and earthquake data from vedur.is. Useful when your work touches locations in Iceland.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: sandsower
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sandsower/vedurstofa-mcp
- Updated: 2026-04-16
- HTML: https://affpapa.org/en/nevibecode/mcp/vedurstofa-mcp

## What it does

Six tools come with the server. `get_weather_now` returns station observations — temperature, wind, pressure, humidity, precipitation. `get_weather_forecast` covers multi-day outlooks per station, `get_weather_text` serves prose forecasts and text warnings in English or Icelandic, `get_weather_warnings` returns structured CAP v1 alerts, `get_earthquakes` lists recent quakes with region presets such as Reykjanes, Katla and Bárðarbunga, and `list_weather_stations` resolves place names to station IDs.

Station arguments take IDs (`"1470"`) or names with and without diacritics (`"Reykjavík"`, `"reykjavik"`). A misspelled name comes back as a suggestion rather than a hard failure. Responses arrive as a JSON envelope carrying `attribution`, `source`, `fetched_at` and `data`, plus `errors`, `degraded` or `truncated` when relevant. Measurements are metric: °C, m/s, hPa, mm, km. Timestamps use ISO 8601 UTC, and Iceland stays on UTC all year.

Node 18+ is required. No API key, no auth. Per-station forecasts are scraped from inline JavaScript on vedur.is pages, so a markup change breaks the scraper: the server then falls back to the national text forecast and flags the response with `degraded: true`. Check that flag before presenting a structured forecast as reliable. Forecast coverage stops at roughly 13 major named stations. The data is CC BY-SA 4.0; the MIT license in the repo covers the server code only.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add vedurstofa-mcp -- npx -y vedurstofa-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add vedurstofa-mcp -- npx -y vedurstofa-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vedurstofa-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "vedurstofa-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vedurstofa-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "vedurstofa-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add vedurstofa-mcp npx -y vedurstofa-mcp
```

## When to use it
- check current temperature and wind at an Icelandic station
- pull forecasts for both ends of a planned drive
- see which severe-weather alerts are active in Iceland
- list earthquakes near a volcanic system
- turn a place name into a station ID

## Example prompts
- What's the weather in Reykjavík right now?
- Are there any weather warnings active for Iceland?
- Show me earthquakes near Reykjanes in the last 24 hours above magnitude 2.

## Similar
- [kronan-mcp](https://affpapa.org/en/nevibecode/mcp/kronan-mcp.md) — MCP server · ★ 16
- [Switzerland MCP 🇨🇭](https://affpapa.org/en/nevibecode/mcp/switzerland-mcp.md) — MCP server · ★ 25
- [Weather Markets Edge Desk](https://affpapa.org/en/nevibecode/mcp/weather-markets-edge-desk.md) — MCP server
- [Datalastic Vessel Tracking & Maritime Intelligence](https://affpapa.org/en/nevibecode/mcp/datalastic-vessel-tracking-maritime-intelligence.md) — MCP server
- [earth2studio-discover](https://affpapa.org/en/nevibecode/skills/earth2studio-discover.md) — skill · 1900 installs
- [weather-query](https://affpapa.org/en/nevibecode/skills/weather-query.md) — skill · 822 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
