weather-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@weather-mcp-serverWhat's the current weather in London?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š¦ļø 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
This server cannot be deployed
Maintenance
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.1,026 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-