Met MCP logo

Met MCP

Weather MCP server for MET Norway forecasts, alerts, sun events, ocean data, stations, and historical observations.

Install Met MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://met-mcp.met-mcp-worker.workers.dev/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http met-mcp https://met-mcp.met-mcp-worker.workers.dev/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

The met-mcp MCP server provides weather data from MET Norway (Yr), with Open-Meteo geocoding for place names. It exposes tools for worldwide hourly forecasts, Nordic nowcasts, Norwegian alerts, sun events, coastal ocean conditions, weather stations, and historical observations. Run it locally over stdio with npm or connect to the deployed Streamable HTTP endpoint. Use it when an agent needs location-aware weather information or MET Norway observations.

Use cases

  • Find coordinates for a named location
  • Retrieve hourly weather forecasts
  • Check Norwegian weather alerts
  • Query historical observations by station
  • Inspect Nordic precipitation nowcasts

Key features

  • Open-Meteo place-name geocoding
  • Worldwide hourly MET forecasts
  • Nordic radar precipitation nowcasts
  • Norwegian danger warnings
  • Frost station and historical weather data
  • Streamable HTTP and stdio transports

Tools8

What Met MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 77d

What it can do

From the 8 tools this server returned when we ran it.

Read-only tools · 8

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Met MCP works

What met-mcp MCP server does

The met-mcp MCP server gives MCP clients access to weather services from MET Norway, also known as Yr. It can turn a place name into coordinates, retrieve current and forecast information, and query several specialized weather datasets. Geocoding is handled through the free Open-Meteo geocoder because MET Norway does not provide a geocoding API.

The available data covers different geographic areas and time ranges:

  • Hourly forecasts work worldwide, with best coverage or relevance in the Nordic region.
  • Radar-based precipitation nowcasts cover the Nordic countries and extend up to two hours.
  • Official danger warnings cover Norway.
  • Sunrise, sunset, and solar noon calculations work worldwide.
  • Wave height and sea temperature forecasts cover the Norwegian coast.
  • Frost provides nearby official stations and historical daily observations, including records that may extend back more than a century.

How it works

The local implementation communicates over MCP using JSON-RPC on standard input and output. MCP clients read each tool's Zod-defined input schema and provide validated arguments. Results are returned as JSON inside text content blocks; responses are reduced from the larger MET payload to fields intended for language-model use.

The same tool definitions are shared by the local stdio server and the remote Cloudflare Workers deployment. The remote endpoint uses MCP Streamable HTTP and is available at https://met-mcp.met-mcp-worker.workers.dev/mcp. The project also includes a worker implementation under worker/, using the MCP SDK's createMcpHandler.

Setup and configuration

Install the npm package or build the repository locally. A repository checkout can be installed, built, and tested with:

Terminal
npm install
npm run build
npm test

To use the local process with Claude Code, register the compiled entry point with an MCP command such as:

Terminal
claude mcp add met-weather -- node C:\Users\trond\met-mcp\dist\index.js

Most tools require no credentials. The two Frost-based tools, find_weather_stations and get_historical_weather, require a free Frost client ID in FROST_CLIENT_ID. The worker uses the equivalent Cloudflare secret. Requests to MET Norway should identify the caller with MET_USER_AGENT, including contact information.

Tools and capabilities

The met-mcp MCP server exposes these operations:

  • geocode_location(name, count) finds coordinates for a place name.
  • get_forecast(latitude, longitude, hours) retrieves hourly MET Locationforecast 2.0 data.
  • get_nowcast(latitude, longitude) returns radar precipitation for the next two hours.
  • get_weather_alerts(latitude?, longitude?) retrieves Norwegian danger warnings, or all warnings in Norway when coordinates are omitted.
  • get_sun_events(latitude, longitude, date, utc_offset) returns sunrise, sunset, and solar noon.
  • get_ocean_forecast(latitude, longitude, hours) retrieves wave height and sea temperature along the Norwegian coast.
  • find_weather_stations(latitude, longitude, count) locates nearby official Frost stations.
  • get_historical_weather(station_id, from, to, elements) retrieves daily observations from the Frost archive.

Limitations and notes

Nowcasts and ocean forecasts are geographically limited, while weather alerts are specifically Norwegian. Coordinates are rounded to a maximum of four decimal places before requests are sent. Applications displaying MET data must follow the stated NLOD / CC BY 4.0 licensing terms and credit MET Norway.

The local server must not write logs to stdout because that stream carries the MCP protocol. Diagnostic output should go to stderr instead. Tests call the live APIs, so successful test execution depends on those services being available. The remote worker currently describes the same two-tool deployment in its setup notes, while the npm server exposes the full tool list above.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Met MCP

met-mcp is an MCP server that connects AI clients to MET Norway weather services and the Open-Meteo geocoder. Its main tools find locations, retrieve hourly forecasts, check precipitation nowcasts and Norwegian alerts, calculate sun events, query coastal ocean forecasts, locate Frost stations, and read historical weather observations.

Install the npm package or clone the repository, then run `npm install` and `npm run build`. Register the compiled stdio entry point with your MCP client, such as Claude Code. The project also provides a deployed Streamable HTTP endpoint.

Only the Frost station and historical-weather tools require credentials. Request a free Frost client ID and set it as `FROST_CLIENT_ID`; the other tools do not require credentials.

Add the compiled server with `claude mcp add met-weather -- node path\to\met-mcp\dist\index.js`. After registration, Claude Code can call the weather tools, including location lookup and forecasts.

Set `MET_USER_AGENT` with identifying contact information for MET Norway requests, and set `FROST_CLIENT_ID` when using Frost station or historical-data tools. The other tools need no environment variables.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMet MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/met-mcp?style=directory)](https://allmcps.com/mcp/met-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/met-mcp"><img src="https://allmcps.com/api/badge/met-mcp?style=directory" alt="Met MCP on AllMCPs" /></a>