Skip to main content
Glama

MCP Weather Server

A Model Context Protocol (MCP) server that provides weather information tools and resources.

Features

  • Current Weather: Get real-time weather conditions for any location

  • Weather Forecast: 5-day weather forecast with detailed information

  • Location Support: Major world cities, coordinates, and ZIP codes

  • Units: Support for both Celsius and Fahrenheit

  • Resources: Weather location data and API information

  • Prompts: Weather summary generation for activity planning

Related MCP server: Weather MCP Service

Tools

get_current_weather

Get current weather information for a location.

Parameters:

  • location (required): City name, coordinates, or ZIP code

  • units (optional): "celsius" or "fahrenheit" (default: celsius)

get_weather_forecast

Get multi-day weather forecast for a location.

Parameters:

  • location (required): City name, coordinates, or ZIP code

  • days (optional): Number of days (1-5, default: 3)

Resources

  • weather://locations: List of supported locations and formats

  • weather://api-info: Weather API and data source information

Prompts

  • weather_summary: Generate weather summary for activity planning

Usage

With Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sse"],
      "env": {
        "SSE_URL": "https://your-server.fly.dev/mcp"
      }
    }
  }
}

Local Development

npm install
npm start

Docker Deployment

docker build -t mcp-weather-server .
docker run -p 8080:8080 mcp-weather-server

Health Check

The server includes a health check endpoint at /health that returns server status and version information.

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides real-time weather information and forecasts, connecting AI assistants with live weather data for current conditions and multi-day forecasts for any location worldwide.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    Provides live weather data and forecasts for any location worldwide through both REST API and MCP endpoints. Supports current weather, multi-day forecasts, and various location formats including city names, coordinates, ZIP codes, and airport codes.
    Last updated
    1
  • A
    license
    -
    quality
    C
    maintenance
    Provides real-time, historical, and forecasted weather data for any location worldwide using the Open-Meteo API. It includes specialized tools for agricultural growing conditions, weather alerts, and up to 16 days of forecasts across multiple transport modes.
    Last updated
    29
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1broseidon/test-mcp-weather-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server