meteoswiss_search
Pack: meteoswiss · Endpoint: https://gateway.pipeworx.io/meteoswiss/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/meteoswiss_search for the schema, then POST the same URL with its arguments for the data.
Search Swiss weather stations and federal geodata by area, returning one item per station or map tile with its coordinates, human name and direct CSV/GeoTIFF download URLs. AUTHORITATIVE for which MeteoSwiss stations cover a Swiss location and exactly which files to fetch for them. NOTE an item’s datetime is when the file was published, not when the weather happened — one item is a station, not an observation, and the measurements (back to 1980 for SwissMetNet) are inside the CSV assets. bbox is WGS84 degrees, [west, south, east, north]; Switzerland is roughly [5.9, 45.8, 10.5, 47.9].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
collections | array | no | Collection ids to restrict to, e.g. [“ch.meteoschweiz.ogd-smn”]. Optional — omit to search the whole Swiss catalogue, which mixes weather stations with topographic tiles. List ids with meteoswiss_collections. |
items | string | no | |
bbox | array | no | Bounding box in WGS84 degrees as [west, south, east, north], e.g. [7.4, 46.9, 7.5, 47.0] for Bern or [5.9, 45.8, 10.5, 47.9] for all of Switzerland. Longitude first. |
items | number | no | |
datetime | string | no | RFC 3339 instant or interval filtering on PUBLICATION time, not observation time — see the note in this tool’s description. Usually leave it out. |
ids | array | no | Fetch specific item ids. For SwissMetNet these are three-letter station abbreviations, e.g. [“abo”, “sma”]. |
items | string | no | |
limit | number | no | Items to return, 1-100. Default 10. |
max_assets | number | no | Asset entries per item, 1-50. Default 8 — a SwissMetNet station lists ~16 CSV files across five resolutions, so raise this to see the full set for one station. |
Example call
Arguments
{
"collections": [
"ch.meteoschweiz.ogd-smn"
],
"bbox": [
7.4,
46.9,
7.5,
47
],
"limit": 3,
"max_assets": 4
}
curl
curl -X POST https://gateway.pipeworx.io/meteoswiss/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"meteoswiss_search","arguments":{"collections":["ch.meteoschweiz.ogd-smn"],"bbox":[7.4,46.9,7.5,47],"limit":3,"max_assets":4}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('meteoswiss_search', {
"collections": [
"ch.meteoschweiz.ogd-smn"
],
"bbox": [
7.4,
46.9,
7.5,
47
],
"limit": 3,
"max_assets": 4
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"meteoswiss": {
"url": "https://gateway.pipeworx.io/meteoswiss/mcp"
}
}
}
See Getting Started for client-specific install steps.