Skip to main content

🌦️ Saige Weather MCP Server

Saige Weather MCP Banner

PyPI version Python versions License: MIT GitHub stars

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.

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.

🚀 Quick Start

1. Using directly with uvx (No installation needed)

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

MCP Inspector Running Saige Weather


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)

🛠️ 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
    

💻 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.

Metadata

Release files for saige-weather-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saige-weather-mcp 0.1.1
File Size Uploaded Provenance Actions
saige_weather_mcp-0.1.1.tar.gz 233.9 kB Without provenance Details for saige_weather_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for saige-weather-mcp 0.1.1
File Interpreter ABI Platform Actions
saige_weather_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for saige_weather_mcp-0.1.1-py3-none-any.whl

Total release size: 239.1 kB

Release files / saige_weather_mcp-0.1.1.tar.gz

Download URL saige_weather_mcp-0.1.1.tar.gz
Size 233.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c71c1158b32c8483bfe27f19835001862ef6070c98a09fb2c403224155575f27
BLAKE2b-256 checksum
How to use checksums
e24272bf97e4fcc299d12531ba08254b626db3ef7bb809d0602800c30add3170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Release files / saige_weather_mcp-0.1.1-py3-none-any.whl

Download URL saige_weather_mcp-0.1.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cabeee31de0f6832646a9a042cc7b4b8a5a40d9be19e48b88477f7be4c752f98
BLAKE2b-256 checksum
How to use checksums
16fd1abfdba886f14c3b684825061ecdfe1ee33967013fa10bf333345823476b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Security for saige-weather-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page