Skip to main content
Glama
sajonaro

weather-server

by sajonaro

TL/DR;

This project is a hello world MCP, And is based on this quickstart tutorial

How to deploy our mcp server to use it with mcp client e.g. claude desktop

Step 1: build and run docker image

$ docker build -t weather-server .
$ docker run -d --name weather-mcp -i --restart unless-stopped weather-server

#or simply run 
$./start.sh

Step 2: put WSl bridge (i.e. a script to be invoked by client from windows) to the known location

# /usr/local/bin/wsl-bridge-weather-mcp.sh becomes the command to be invoked by mcp client
$ cp wsl-bridge-weather-mcp.sh  /usr/local/bin/

Step 3: update client's config to point to wsl bridge above

e.g.

  • locate claude desktop's config: %APPDATA%\Claude\claude_desktop_config.json

  • update mcpServers section with new record: my-weather-mcp-server

    {
    "mcpServers": {
        "my-weather-mcp-server": {
        "command": "wsl",
        "args": ["/usr/local/bin/wsl-bridge-weather-mcp.sh"]
        }
    }
    }

Step 4: you can now use the tools (i.e. methods marked by @mcp.tool()) from my-weather-mcp-server in Claude

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Docker-based MCP server that provides current weather information for cities worldwide. Enables AI assistants like Claude to fetch temperature, weather conditions, and humidity data through a standardized interface.
    -
  • F
    license
    B
    quality
    D
    maintenance
    A basic MCP server adapted from the official quickstart guide that provides weather data functionality and works with OpenAI chat completions API. Demonstrates MCP server setup with configuration examples for Claude Desktop and development tools.
    2
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.
    9 npm
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    A proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.
    -