yr-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
yr-mcp
An MCP server for weather data from Yr / MET Norway — the Norwegian Meteorological Institute's free, open weather API.
Ask your AI assistant things like "Will it rain in Bergen this weekend?" or "Do I need an umbrella in the next hour?" and it can answer with real forecast data. Forecasts work worldwide; minute-by-minute precipitation nowcasts cover the Nordic region.
No API key required.
Tools
Tool | Description |
| Weather forecast (Locationforecast 2.0): hour-by-hour temperature, wind, precipitation and weather symbol, plus a daily summary for the full ~10-day forecast period. Takes a place name or coordinates. Works globally. |
| Minute-by-minute precipitation for the next ~90 minutes (Nowcast 2.0). Nordic region only. |
| Search Yr's location registry. Returns name, region, coordinates, elevation and time zone — useful for disambiguating place names. |
get_forecast and get_nowcast accept either a place name (the top search hit is used) or explicit lat/lon coordinates. Times are converted to the location's local time zone.
Related MCP server: Weather MCP Server
Installation
Requires Node.js 18 or newer.
git clone https://github.com/fredrsat/yr-mcp.git
cd yr-mcp
npm installClaude Code
claude mcp add --scope user yr -- node /path/to/yr-mcp/server.jsClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"yr": {
"command": "node",
"args": ["/path/to/yr-mcp/server.js"]
}
}
}Any other MCP client that supports stdio transport works the same way: run node server.js and speak MCP over stdin/stdout.
Example
User: Will it rain in Trondheim tomorrow?
The assistant calls
get_forecastwithplace: "Trondheim"and answers from the daily summary:Dagsoversikt: 2026-09-12 12.2–13.8°C nedbør 7.8 mm vind opptil 8.9 m/s cloudy ...
Data sources and terms of use
Forecast data: MET Norway Locationforecast 2.0 and Nowcast 2.0, licensed under NLOD / CC BY 4.0.
Location search: Yr's location registry (
www.yr.no/api/v0/locations).
The server follows MET's terms of service: it sends an identifying User-Agent header and truncates coordinates to four decimals. If you fork this project, please change the USER_AGENT constant in server.js to identify your own deployment.
Weather data © MET Norway.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.
Current weather and 7-day forecast for any place (MET Norway). $0.006/call via x402.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Nordic weather: forecasts, warnings, HD radar, rain nowcast, lightning, aurora, satellite AI.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to retrieve current weather, forecasts, and summaries for any global location using the Open-Meteo API, with no API key required.12 npmCreative Commons Zero v1.0 Universal
- AlicenseNot gradedqualityCmaintenanceEnables access to MET Norway weather data including global forecasts, Nordic nowcast, sunrise/sunset times, air quality, and ocean forecasts via natural language queries.301 npmMIT
- FlicenseAqualityBmaintenanceEnables AI assistants to retrieve current weather conditions and forecasts for any location via natural language, with optional AI-generated summaries.1-