trackmcp
Back to directory
nabossha

mcp-landiwetter

View on GitHub

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

1 stars JavaScriptServers & Infrastructure Updated May 6, 2025

Documentation

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:

code
npm install

Usage

Starting the Server

Run the server with:

code
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:

    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:

    code
    What's the weather forecast for Bern, Switzerland?

    To get a weather forecast for a specific date:

    code
    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:

    code
    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:

    code
    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:

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

    Frequently asked questions

    What is mcp-landiwetter?

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

    How do I install mcp-landiwetter?

    Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

    Is mcp-landiwetter open source?

    Yes — it is hosted on GitHub at https://github.com/nabossha/mcp-landiwetter and has 1 stars.

    Related MCP tools

    Run your own MCP server? See who uses it and what to fix.

    Measure it with TrackMCP