met-mcp

v0.2.0
io.github.trondbjoroy/met-mcp Checked 3 days ago Published 3 months ago

Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

Values you need

VariableWhat it is
MET_USER_AGENToptional Identifying User-Agent with contact info, sent to api.met.no per MET terms of service. Optional; a package-level default is used if unset.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add met-mcp -- npx -y met-mcp@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "met-mcp": {
      "args": [
        "-y",
        "met-mcp@0.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "met-mcp": {
      "args": [
        "-y",
        "met-mcp@0.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "met-mcp": {
      "args": [
        "-y",
        "met-mcp@0.2.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.met-mcp]
command = "npx"
args = ["-y", "met-mcp@0.2.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http met-mcp https://met-mcp.met-mcp-worker.workers.dev/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "met-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://met-mcp.met-mcp-worker.workers.dev/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "met-mcp": {
      "url": "https://met-mcp.met-mcp-worker.workers.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "met-mcp": {
      "type": "http",
      "url": "https://met-mcp.met-mcp-worker.workers.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.met-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://met-mcp.met-mcp-worker.workers.dev/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: geocode_location, get_forecast, get_nowcast, get_weather_alerts, get_sun_events, get_ocean_forecast, find_weather_stations, get_historical_weather.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json