
Vedurstofa Mcp
io.github.sandsower由 GitHub 账号 sandsower 发布v1.0.0更新于 Oct 24, 2026
MCP server for Icelandic weather, forecasts, warnings, and earthquakes from vedur.is.
概览
本地 MCP 服务器,让助手获取 vedur.is 的冰岛天气实况、预报、预警和近期地震数据。
- 可以做什么
- 查询各气象站的当前观测和多日分站预报,抓取失败时回退到全国文字预报,并读取英文或冰岛语的文字预报与文字预警,以及结构化的恶劣天气警报。按火山区域预设或经纬度半径检索近期地震,并列出气象站目录以解析地名或站点编号。每个响应都是带署名、来源和获取时间的 JSON 封装,降级响应会被标记。
- 适用场景
- 适合用户询问冰岛的天气、预报、预警或地震时使用,例如雷克雅未克的当前天气、冰岛城镇之间的出行路况、生效中的警报,或某火山系统附近的地震活动。它无法回答冰岛以外的天气问题。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 18 或更高版本。无需账号、API 密钥或环境变量。需要能访问 vedur.is 的网络,并且需要桌面版 MCP 客户端,因为它不是远程服务器。
安装
在 SourceWeft 中
- 打开 控制台中的 Vedurstofa Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
vedurstofa-mcp
MCP server for Icelandic weather, forecasts, warnings, and earthquakes. Data comes from the Icelandic Meteorological Office (Veðurstofa Íslands, vedur.is). Works with Claude Desktop, Claude Code, and any other MCP client.
What it does
Six tools:
Station inputs accept IDs ("1470") or names with or without diacritics ("Reykjavík", "reykjavik"). Unknown names return a typo-tolerant "did you mean..." error.
For agents
Read this section if you're an AI agent picking tools from this server.
- No auth, no API key, no setup. Just run
npx vedurstofa-mcpover stdio. - All data is Icelandic. If the user asks about weather outside Iceland, stop — this server can't help.
- Every response is a JSON envelope with
attribution,source,fetched_at,data, and optionallyerrors,degraded,truncated. Always cite theattributionfield when surfacing data to users. - Units are metric. °C, m/s, hPa, mm, km. Convert only when the user asks.
- Timestamps are ISO 8601 UTC. Iceland is on UTC year-round (no DST).
Tool selection guide
Multi-tool workflows
- "What's the weather like in Iceland today?" →
get_weather_nowfor the user's city +get_weather_warningsto surface any active alerts. Addget_weather_textwithcategory: "national"only if the user wants a narrative. - "Should I drive from Reykjavík to Akureyri tomorrow?" →
get_weather_forecastfor both endpoints +get_weather_warnings. Don't pullget_weather_nowunless the user asks about right now. - "Are there any earthquakes near me?" →
get_earthquakeswithregionpreset if the user names a volcanic system (Reykjanes, Katla, etc.), otherwisenear: { lat, lon, radius_km }.
Degraded responses
get_weather_forecast scrapes HTML and can fail when the upstream site changes. When this happens, the response carries degraded: true and degraded_reason, and falls back to the national text forecast. Surface this to the user rather than pretending the structured forecast is available.
Install & run
Node 18+ required.
The server speaks MCP over stdio, so you won't see interactive output. Plug it into a client.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
Cursor
~/.cursor/mcp.json:
Cline (VS Code)
In VS Code, open the Cline extension → MCP servers → Edit MCP settings, and add:
ChatGPT
ChatGPT's MCP support (Developer Mode, Plus/Pro and higher) currently accepts only remote MCP servers exposed over an SSE URL, not local stdio servers like this one. To use vedurstofa-mcp with ChatGPT you'd need to wrap it behind an stdio→SSE bridge (e.g. mcp-proxy, supergateway) and point ChatGPT at the bridge URL. See OpenAI's MCP docs for setup.
Example output
get_weather_now with stations: ["Reykjavík"]:
get_earthquakes with region: "reykjanes" returns a sorted list of events with timestamp, latitude, longitude, depth_km, magnitude, magnitude_type, location, reviewed. Fields default to null when upstream omits them.
Example prompts
- "What's the weather in Reykjavík right now?"
- "Compare current conditions in Akureyri, Ísafjörður and Höfn."
- "Any weather warnings active for Iceland?"
- "Earthquakes near Grindavík in the last 24 hours above magnitude 2."
- "Show me the Icelandic multi-day text forecast."
Data attribution
Data comes from the Icelandic Meteorological Office under CC BY-SA 4.0. Every response includes an attribution field. The MIT license in this repo covers the server code only, not the data.
Limitations
- Forecast scraping is fragile. Per-station forecasts are extracted from inline JavaScript on vedur.is pages. When the HTML changes, the scraper falls back to the national text forecast and marks the response
degraded: true. File an issue when you see it. - Forecast station coverage is limited to ~13 major named stations. Others share a regional page or have no scrapeable forecast.
- Units are metric: °C, m/s, hPa, mm, km. Claude converts on request.
- Timestamps are ISO 8601 UTC. Iceland is on UTC year-round (no DST).
Development
VEDURSTOFA_DEBUG=1 enables debug-level logs on stderr. Stdout is reserved for the MCP protocol.
License
MIT for the server code. Data is the property of the Icelandic Meteorological Office under CC BY-SA 4.0.
来源:README.md,提交 3300117
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。