foehn — Claude Code MCP server for MeteoSwiss data
foehn lets an AI agent query Switzerland’s open weather data from MeteoSwiss. Use it to ask about station readings, forecasts, or radar data in chat.
claude mcp add foehn -- uvx foehnWhat foehn does
The MCP server connects an agent to MeteoSwiss open data, covering weather observations, forecasts, and radar collections. The project also includes a CLI and Python API for downloading and working with these datasets; the MCP connection lets an agent access them through chat.
In Claude Code, the server runs through foehn with the mcp argument. The package requires Python 3.11 or later. To open gridded datasets as xarray or Zarr, install the foehn[grids] extra; without it, those formats are unavailable.
What it helps with
- query weather conditions for a location
- retrieve observations from a weather station
- check available forecast or radar data
- ask an agent about MeteoSwiss open datasets
Example prompts for the agent
- Check the latest weather data for Bern from MeteoSwiss.
- Find daily readings for station BER and summarize them.
- Look up available radar data and describe what it shows.
How to install foehn
Platform CLI
claude mcp add foehn -- uvx foehnuvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>
Platform CLI
codex mcp add foehn -- uvx foehnuvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>
Config file
{
"mcpServers": {
"foehn": {
"command": "uvx",
"args": [
"foehn"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>
Config file
{
"servers": {
"foehn": {
"type": "stdio",
"command": "uvx",
"args": [
"foehn"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>
Platform CLI
gemini mcp add foehn uvx foehnuvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about foehn
How do I install foehn in Claude Code?
Run claude mcp add foehn -- uvx foehn to add the foehn MCP server.
What does foehn do?
It gives an AI agent access to MeteoSwiss open weather data, including observations, forecasts, and radar collections.
Which Python version does foehn require?
foehn requires Python 3.11 or later. Install foehn[grids] to work with gridded data as xarray or Zarr.