Skip to main content
Glama
Saige Weather MCP Server

Saige Weather MCP Server

🌦️ Saige Weather MCP Server

A lightweight, production-ready Model Context Protocol (MCP) server that delivers real-time weather information for any city or country worldwide using the free Open-Meteo API.

📦 PyPI Release: https://pypi.org/project/saige-weather-mcp/0.1.1/

Compatible with Claude Desktop, Cursor, Windsurf, and custom AI agent workflows (LangChain, Groq, AutoGen).


✨ Features

  • 🌍 Worldwide Coverage: Query weather for any city, country, or location worldwide (e.g., Tokyo, London, Paris, Mumbai, New York).

  • 🔑 Zero API Keys Required: Uses Open-Meteo’s public geocoding and forecast APIs out of the box.

  • ⚡ Instant Execution with uvx: Run immediately from PyPI without manual dependency installation or virtual environment clutter.

  • 🔌 Multiple Transports Supported: Supports standard input/output (stdio) for desktop AI clients and Server-Sent Events (SSE) for network deployments.


Related MCP server: MCP Weather Server

🚀 Quick Start

1. Using directly with uvx (No installation needed)

Available on PyPI at https://pypi.org/project/saige-weather-mcp/0.1.1/. You can launch and test the server immediately with Astral's uvx:

uvx saige-weather-mcp

Or test it interactively with the MCP Inspector:

npx @modelcontextprotocol/inspector uvx saige-weather-mcp

2. Adding to Claude Desktop

Add the following to your claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": ["saige-weather-mcp"]
    }
  }
}

Restart Claude Desktop, and the hammer icon (🛠️) will appear with the get_weather tool available in your chat!


3. Using in Custom AI Assistants (e.g. LangChain / Groq)

In your MCP configuration file (e.g. browser_mcp.json):

{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": ["saige-weather-mcp"]
    }
  }
}

Then run your assistant (app.py):

from mcp_use import MCPClient, MCPAgent
from langchain_groq import ChatGroq

client = MCPClient("browser_mcp.json")
agent = MCPAgent(llm=ChatGroq(model_name="openai/gpt-oss-120b"), client=client)

4. Adding to VS Code (Copilot Chat)

Add to your VS Code MCP configuration (.vscode/mcp.json or %APPDATA%\Code\User\mcp.json):

{
  "servers": {
    "weather": {
      "type": "stdio",
      "command": "uvx",
      "args": ["saige-weather-mcp"]
    }
  }
}

Reload VS Code (Ctrl+Shift+P -> Developer: Reload Window), start a new chat, and Copilot will have access to get_weather.


🛠️ Tools Provided

get_weather

Fetch live atmospheric conditions for any location.

  • Parameter:

    • location (string, required): The city, country, or landmark name. (e.g. "London", "Tokyo", "Paris").

  • Example Output:

    Weather for London, United Kingdom:
    - Temperature: 10.2 °C
    - Humidity: 88%
    - Wind Speed: 12.4 km/h

💬 Example Prompts

Test that your AI client uses the MCP server directly instead of its built-in knowledge or web search:

  1. Current City Weather:

    "What is the current weather in Tokyo? (Use the weather MCP tool, do not use built-in search or training data)"

  2. Multi-City Comparison:

    "Compare the current weather between Paris and Sydney right now. (Use the weather MCP tool only, do not use built-in estimates)"

  3. Detailed Conditions:

    "What is the current temperature, humidity, and wind speed in New York? (Fetch using the get_weather MCP tool, not built-in knowledge)"


💻 Local Development

If you want to contribute or modify this project locally:

  1. Clone the repository:

    git clone https://github.com/hackershanmukha/mcp-weather.git
    cd mcp-weather
  2. Install dependencies using uv:

    uv sync
  3. Run the development server with Inspector:

    uv run mcp dev --with "mcp[cli]" server/wheater.py

📄 License

This project is open-source and available under the MIT License.

Available Tools

1 tool
get_weatherB

Get current weather for any city or country worldwide.

Args: location: City or country name (e.g. London, Tokyo, Paris, Mumbai, New York)

Inputs: location (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only a single tool, there is no possibility of confusing it with another operation. Its purpose—fetching current weather for a location—is unambiguous.

    Naming Consistency4/5

    The single name get_weather follows a clean verb_noun snake_case convention. A pattern cannot really be established with one tool, so it falls just short of a perfect score.

    Tool Count2/5

    A weather server with exactly one tool is thin; users would reasonably expect forecast, multi-day, or historical queries. The single operation leaves the server under-scoped for its domain.

    Completeness2/5

    Only current conditions are exposed; there is no forecast, historical data, alerts, or unit/format options. These are significant gaps for a weather service and will force agents to fail on common forecast requests.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to fetch global current conditions, air quality (PM2.5, PM10, O₃, NO₂, SO₂, CO, US/EU AQI), UV index, wind, sunrise/sunset and 1–16 day forecasts with optional hourly rows via Open-Meteo, no API key needed. Returns a localized human-readable summary plus complete JSON, resolving locations by city name, coordinates, or public IP over stdio MCP.
      MIT