# foehn

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 45
- Author: kayhendriksen
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/kayhendriksen/foehn
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/foehn

## What it 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.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add foehn -- uvx foehn
```
uvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>

### Codex

**Platform CLI**
```bash
codex mcp add foehn -- uvx foehn
```
uvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add foehn uvx foehn
```
uvx runs the command named after the package; if the README names another one, use uvx --from foehn <command>

## When to use it
- 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
- 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.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27669
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49845

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
