weather_mcp_server

jomejia23/weather_mcp_server

3.1

If you are the rightful owner of weather_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Weather MCP Server is a specialized server designed to provide weather data using the Model Context Protocol (MCP).

The Weather MCP Server is a robust and efficient server designed to deliver real-time weather data through the Model Context Protocol (MCP). It is tailored to meet the needs of applications requiring accurate and timely weather information, such as weather forecasting services, climate research, and mobile applications. The server leverages the capabilities of MCP to ensure seamless integration with various client applications, providing a standardized way to access and manipulate weather data. With its scalable architecture, the Weather MCP Server can handle a large number of requests simultaneously, making it suitable for both small-scale and enterprise-level deployments. The server supports a wide range of weather data types, including temperature, humidity, wind speed, and precipitation, and can be customized to include additional data as needed. Its user-friendly interface and comprehensive documentation make it accessible to developers and researchers alike, facilitating the development of innovative weather-related applications.

Features

  • Real-time Data: Provides up-to-the-minute weather data for accurate forecasting and analysis.
  • Scalable Architecture: Designed to handle a large number of simultaneous requests, suitable for various deployment sizes.
  • Comprehensive Data Types: Supports a wide range of weather data, including temperature, humidity, wind speed, and precipitation.
  • Customizable: Easily customizable to include additional weather data types as needed.
  • User-friendly Interface: Offers an intuitive interface and detailed documentation for easy integration and use.

Usages

usage with local integration stdio

python
mcp.run(transport='stdio')  # Tools defined via @mcp.tool() decorator

usage with local integration ide plugin

{
  "mcpServers": {
    "weather": {
      "command": "python",
      "args": ["weather.py"]
    }
  }
}

usage with remote integration sse

python
mcp.run(transport='sse', host="0.0.0.0", port=8000)  # Specify SSE endpoint

usage with remote integration streamable http

yaml
paths:
  /mcp:
    post:
      x-ms-agentic-protocol: mcp-streamable-1.0  # Copilot Studio integration

usage with platform integration github

{"command": "docker", "args": ["run", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"]}

usage with development framework fastmcp

python
from mcp.server import FastMCP
app = FastMCP('demo')
@app.tool()
async def query(): ...