LandiWetter MCP Server

by nabossha

LandiWetter MCP Server

This is a Model Context Protocol (MCP) server that provides Swiss weather forecast data from LandiWetter. The server allows you to search for Swiss locations and get detailed weather forecasts.

Features

  • Search for Swiss locations by name
  • Get detailed weather forecasts for a specific location and date
  • Access both hourly and daily forecast data
  • Use as a tool or resource in MCP-compatible clients

Installation

  1. Clone the repository
  2. Install dependencies:
    npm install

Usage

Starting the Server

Run the server with:

npm start

This starts the MCP server using the stdio transport, making it compatible with MCP clients like Claude Desktop.

Integrating with Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings > MCP > Add custom server
  3. Configure with the following details:
    • Name: LandiWetter
    • Command: node /path/to/landiwetter-mcp/src/index.js
  4. Save and enable the server

Example Claude Prompts

Once the server is integrated with Claude Desktop, you can use natural language prompts to access weather forecasts:

To get a weather forecast:

What's the weather forecast for Bern, Switzerland?

To get a weather forecast for a specific date:

What's the weather forecast for Zürich on 2025-05-10?

Available Tools

searchLocation

Search for Swiss locations by name.

Parameters:

  • locationName: The name of the location to search for

Example:

Please search for locations named "Zürich"

getWeatherForecast

Get a detailed weather forecast for a specific location.

Parameters:

  • locationId: The location ID (e.g., G2661552)
  • date (optional): The date for the forecast (yyyy-MM-dd). Defaults to today

Example:

Please get the weather forecast for location ID G2661552

Available Resources

weather-forecast

Access weather forecasts through a resource URI.

URI Template: weather://{location}/{date}

Where:

  • location: The name of the location (e.g., "Zürich")
  • date (optional): The date for the forecast (yyyy-MM-dd). Defaults to today

Example:

Please check the resource at weather://Zürich/2025-05-03

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides Swiss weather forecast data, allowing users to search for Swiss locations and get detailed hourly and daily weather forecasts.

  1. Features
    1. Installation
      1. Usage
        1. Starting the Server
        2. Integrating with Claude Desktop
        3. Example Claude Prompts
      2. Available Tools
        1. searchLocation
        2. getWeatherForecast
      3. Available Resources
        1. weather-forecast

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Provides hourly weather forecasts using the AccuWeather API, enabling users to access current weather conditions and detailed 12-hour forecasts tailored to specific locations.
        Last updated -
        1
        3
        Python
        The Unlicense
      • A
        security
        F
        license
        A
        quality
        Fetches precipitation forecasts for any location using Buienradar and integrates with Claude for Desktop to provide accurate two-hour weather predictions.
        Last updated -
        1
        Python
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        Provides weather forecast data for locations in China using the HeFeng Weather API, with real-time, hourly, or daily forecasts and location-based queries.
        Last updated -
        1
        7
        2
        TypeScript
      • A
        security
        A
        license
        A
        quality
        Fetches tide information for any location using latitude and longitude, providing detailed tide data including high/low tides and station information with automatic UTC time zone handling.
        Last updated -
        1
        11
        Python
        MIT License
        • Apple

      View all related MCP servers

      ID: 12j27mrkki