smhi.weather.forecast
Get an 82-step hourly weather forecast (~10 days) for any point in Europe from the Swedish Meteorological and Hydrological Institute (SMHI). Uses SMHI's high-resolution NWP model (snow1g) covering most of Europe at ~2.5 km grid spacing. Each hourly step includes 25 parameters: air temperature (°C...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/smhi.weather.forecast.md
What smhi.weather.forecast does on Apibase
AI agents call smhi.weather.forecast to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
latitude | number | Yes | Latitude in decimal degrees (WGS84). Covers most of Europe. Examples: 59.3293 = Stockholm, 57.7089 = Göteborg, 67.8558 = Umeå, 51.5074 = London. |
longitude | number | Yes | Longitude in decimal degrees (WGS84). Covers most of Europe. Examples: 18.0686 = Stockholm, 11.9746 = Göteborg, 20.2253 = Umeå, -0.1278 = London. |
Parameters from the server's own tool schema.
Why smhi.weather.forecast is rated Low
Retrieves weather forecast data from SMHI with no side effects.
From the tool's definition Get an 82-step hourly weather forecast for any point
Attacks that exploit this kind of access
The rule that runs smhi.weather.forecast safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For smhi.weather.forecast, this is the rule to start with:
smhi.weather.forecast is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every smhi.weather.forecast call is checked against it from then on.
Questions about smhi.weather.forecast
Get an 82-step hourly weather forecast (~10 days) for any point in Europe from the Swedish Meteorological and Hydrological Institute (SMHI). Uses SMHI's high-resolution NWP model (snow1g) covering most of Europe at ~2.5 km grid spacing. Each hourly step includes 25 parameters: air temperature (°C), wind speed (m/s), wind direction (°), wind gust (m/s), relative humidity (%), sea-level pressure (hPa), visibility (km), thunderstorm probability (%), cloud cover (%), precipitation amount (mm/h, with min/max/median), precipitation probability (%), frozen precipitation probability (%), symbol_code (WMO weather symbol 1–27). Swedish weather symbol codes: 1=clear sky, 2=nearly clear, 3=variable cloudiness, 4=half-cloudy, 5=cloudy, 6=overcast, 7=fog, 8=light rain, 9=moderate rain, 10=heavy rain, 11=thunderstorm, 12=light sleet, 13=moderate sleet, 14=heavy sleet, 15=light snow, 16=moderate snow, 17=heavy snow. No API key required — SMHI open data, Creative Commons BY 4.0. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
smhi.weather.forecast accepts 2 parameters: latitude, longitude. Required: latitude, longitude. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for smhi.weather.forecast: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
smhi.weather.forecast is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the smhi.weather.forecast rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for smhi.weather.forecast. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
smhi.weather.forecast is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue