Weather MCP Server

by codebywaqas

Not rated
GitHub

About

Provides weather information using the OpenWeatherMap API.

Details

Author
codebywaqas
Categories
Cloud Service, Other, API
Tags
#weather

Setup

Install Weather MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/codebywaqas/weather-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

Provides weather information using the OpenWeatherMap API.

A Modern Code Protocol (MCP) server that provides weather information using the OpenWeatherMap API.

- Real-time weather data retrieval
- Metric units for temperature
- Detailed weather information including:

- Temperature
- Humidity
- Wind Speed
- Sunrise/Sunset times
- Weather description

- Python 3.12 or higher
- OpenWeatherMap API key

To install Weather MCP Server for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @CodeByWaqas/weather-mcp-server --client claude

- Clone the repository
- Create a virtual environment:

python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# claude_desktop_config.json # Can find location through: # Claude -> Settings -> Developer -> Edit Config { "mcpServers": { "mcp-weather-project": { "command": "uv", "args": [ "--directory", "/<absolute-path>/weather-mcp-server/src/resources", "run", "server.py" ], "env": { "WEATHER_API_KEY": "YOUR_API_KEY" } } } }

git clone https://github.com/CodeByWaqas/weather-mcp-server

cd weather-mcp-server # Create virtual environment and activate it uv venv source .venv/bin/activate # MacOS/Linux # OR .venv/Scripts/activate # Windows # Install dependencies uv add "mcp[cli]" python-dotenv requests httpx

- Copysrc/resources/env.exampletosrc/resources/.env
- Add your OpenWeatherMap API key to the.envfile:

Run the Claude Desktop and use LLM to retrieve weather info

This project is licensed under the MIT License - see the LICENSE file for details.

Fetches precipitation forecast data for a specific location using the Buienradar service.

Query weather information and meteorological warnings for Chinese cities using the QWeather API.

A server for fetching weather information using the OpenWeather API.

Provides hourly weather forecasts using the AccuWeather API.

Access global weather forecasts and historical data through the Open-Meteo API.

Access global weather data and forecasts using the OpenMeteo API, including current conditions, historical data, and location search.

Provides comprehensive weather data and forecasts using the OpenWeatherMap API.

An MCP server providing weather tools from the National Weather Service (weather.gov) API, built with Spring Boot.

Provides real-time weather alerts for US states using the National Weather Service API.

An MCP server for accessing real-time weather data and forecasts.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.