weather-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π¦οΈ Weather MCP Server
A Model Context Protocol (MCP) server built with FastMCP that provides live weather information for any city using the Open-Meteo APIs.
Features
Get current weather for any city
Uses Open-Meteo Geocoding API
Uses Open-Meteo Weather API
Built using FastMCP
Modular project structure
Logging and exception handling
Configuration management
Related MCP server: MCP Weather Server Demo
Tech Stack
Python 3
FastMCP
MCP (Model Context Protocol)
HTTPX
Open-Meteo API
Project Structure
weather-mcp-server/
β
βββ server.py
βββ weather_api.py
βββ config.py
βββ logger.py
βββ requirements.txt
βββ .gitignore
βββ README.mdInstallation
Clone the repository
git clone https://github.com/your-username/weather-mcp-server.gitCreate a virtual environment
python -m venv .venvActivate the virtual environment
Windows:
.venv\Scripts\activateInstall dependencies
pip install -r requirements.txtRun the Server
python server.pyExample Tool
get_weather
Input:
HyderabadOutput:
π Hyderabad, India
π‘ Temperature : 30.2Β°C
π¨ Wind Speed : 18.7 km/h
β Condition : Moderate DrizzleFuture Improvements
Weather forecast
Air quality information
Multiple MCP tools
Docker support
Unit tests
Author
Rishitha Reddy
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
OpenWeather MCP β wraps the OpenWeatherMap API (openweathermap.org)
Weather MCP β wraps Open-Meteo API (free, no auth)
Open-Meteo MCP β weather forecast + historical reanalysis + sister APIs
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides weather information through MCP tools integrated with a FastAPI backend, enabling users to query current weather for single or multiple cities and check API health status.-
- AlicenseNot gradedqualityDmaintenanceFetches current weather information for any city using the Open-Meteo API through a simple MCP tool interface.2,530 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather information for any location using FastMCP.-
- FlicenseBqualityDmaintenanceProvides real-time weather information for cities worldwide using the OpenWeatherMap API, accessible through natural language queries via the MCP protocol.1-