LandiWetter MCP server

Integrates with LandiWetter to provide detailed Swiss weather forecasts including temperature ranges, precipitation probability, wind conditions, and sunshine duration.
Back to servers
Provider
Nando Bosshart
Release date
May 04, 2025
Stats
1 star

The LandiWetter MCP server provides Swiss weather forecast data through the Model Context Protocol (MCP). It allows you to search for Swiss locations and retrieve detailed weather forecasts, making it a valuable tool for accessing Switzerland's weather information.

Installation

To set up the LandiWetter MCP server:

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

Usage

Starting the Server

Launch the server using:

npm start

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

Integrating with Claude Desktop

To add the LandiWetter server to Claude Desktop:

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

Example Prompts

After integration, you can use natural language to request weather forecasts:

For current weather:

What's the weather forecast for Bern, Switzerland?

For specific date forecasts:

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

Available Tools

searchLocation

This tool helps you find Swiss locations by name.

Parameters:

  • locationName: The name of the location to search for

Example:

Please search for locations named "Zürich"

getWeatherForecast

Retrieve detailed weather forecasts for specific locations.

Parameters:

  • locationId: The location ID (e.g., G2661552)
  • date (optional): The forecast date in yyyy-MM-dd format (defaults to today)

Example:

Please get the weather forecast for location ID G2661552

Resource Access

weather-forecast

Access forecasts directly through a resource URI.

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

Where:

  • location: Location name (e.g., "Zürich")
  • date (optional): Forecast date in yyyy-MM-dd format (defaults to today)

Example:

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

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later