LandiWetter MCP Server

by nabossha

2 stars
85 downloads
Not rated
GitHub

About

a simple PoC on how to integrate a custom data-provider in an MCP Server

Details

Author
nabossha
GitHub stars
2
Downloads
85
Categories
Other

- Search for Swiss locations by name
- Get detailed hourly and daily weather forecasts
- Access forecasts for a specific location and date
- Use as a tool or resource in MCP clients
- Defaults to today’s forecast if no date given

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name LandiWetter MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm install, then start with npm start for stdio transport. Integrate with Claude Desktop by adding a custom MCP server configured with the command node /path/to/landiwetter-mcp/src/index.js. Invoke the tools searchLocation (by name) and getWeatherForecast (by location ID and optional date), or access the resource at weather://{location}/{date}.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "landiwetter mcp server": {
            "LandiWetter": {
                "command": "node",
                "args": [
                    "/path/to/landiwetter-mcp/src/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "LandiWetter": {
        "command": "node",
        "args": [
            "/path/to/landiwetter-mcp/src/index.js"
        ]
    }
}

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.

<a href="https://glama.ai/mcp/servers/@nabossha/mcp-landiwetter">
LandiWetter Server MCP server
</a>

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.