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 Servercompare weather in London, Paris, and Berlin"
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 simple weather MCP server built with FastMCP that provides current weather data and city comparisons.
Features
Get current weather for any city
Compare weather between multiple cities
Support for metric and imperial units
Optional detailed forecasts
Related MCP server: Weather MCP Server
Quick Start
Installing via Smithery
To install Weather Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @glassBead-tc/weather-mcp --client claudeManual Installation
Install dependencies:
pip install -r requirements.txtRun locally:
python src/weather_server.pyTest with Claude Desktop/Code: Add to your MCP configuration:
{ "mcpServers": { "weather": { "command": "python", "args": ["/path/to/weather-mcp/src/weather_server.py"] } } }
Tools
get_weather
Get current weather for a city.
city(string): City nameunits(string, optional): "metric" or "imperial" (default: "metric")detailed(boolean, optional): Include 3-day forecast (default: false)
compare_weather
Compare weather between multiple cities (max 5).
cities(array): List of city namesmetric(string, optional): Sort by "temperature", "humidity", or "wind" (default: "temperature")
Deploy to Smithery
Push to GitHub
Go to smithery.ai/new
Connect your repository
Deploy!
Example Usage
# Get weather for London
await get_weather("London")
# Get detailed weather with forecast
await get_weather("Tokyo", units="imperial", detailed=True)
# Compare temperatures across cities
await compare_weather(["New York", "Los Angeles", "Chicago"], metric="temperature")EOF < /dev/null
This server cannot be deployed
Maintenance
Related MCP Connectors
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
Weather data, forecast API, climate data, historical weather, alerts, agricultural & travel weather.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides current weather conditions and 5-day forecasts for any location using the OpenWeatherMap API. Supports flexible location queries including city names, coordinates, and zip codes.MIT
- AlicenseNot gradedqualityDmaintenanceProvides access to real-time weather data, 5-day forecasts, air quality information, and weather comparisons across multiple cities using the free OpenWeatherMap API.MIT
- AlicenseBqualityDmaintenanceProvides current weather data for any location using the OpenWeatherMap API.1GPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the OpenWeatherMap API.-