WeatherMCP
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.
WeatherMCP
FastMCP tabanlı basit bir hava durumu MCP sunucusu. Open-Meteo kullanır, API anahtarı gerekmez. stdio taşımacı ChatGPT MCP için, http taşımacı lokal/uzak test için uygundur.
Kurulum
Python 3.10+
Bağımlılıklar:
fastmcp,httpxYükleme:
pip install fastmcp httpx(veyauv pip install fastmcp httpx)
Related MCP server: Weather MCP Server
Çalıştırma
HTTP ile:
fastmcp run weather_server.py:mcp --transport http --port 8000Stdio ile (ChatGPT MCP uyumlu):
fastmcp run weather_server.py:mcp
ChatGPT MCP entegrasyonu
~/.mcp/servers/weather.json örneği:
{
"command": ["fastmcp", "run", "/full/path/to/weather_server.py:mcp"],
"transport": { "type": "stdio" },
"name": "WeatherMCP"
}ChatGPT ayarlarından Model Context Protocol → Add a server → bu dosyayı gösterin. Komut örnekleri:
get_weather_by_city city="Istanbul"get_weather lat=41.01 lon=28.97 unit="metric"get_forecast city="Hamburg" day_offset=1(1=yarın, 0=bugün)
Dosyalar
weather_server.py: MCP sunucusu,get_weather,get_weather_by_city,get_forecastaraçları.
Notlar
Open-Meteo ücretsiz ve anahtarsızdır; kota ve gecikme için istek başına 8s timeout tanımlıdır.
İsteğe göre
fetch_weatheriçine retry veya cache eklenebilir; ücretli servis anahtarı kullanmak isterseniz aynı yapı korunur, yalnızca HTTP isteğini değiştirmeniz yeterlidir.
This server cannot be deployed
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Current temperature for a city via Open-Meteo. Query discarded after the call.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
Weather MCP — wraps Open-Meteo API (free, no auth)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather and forecasts via Open-Meteo, supporting queries by coordinates or city name.16 PyPI-
- FlicenseBqualityDmaintenanceProvides current weather conditions and forecasts for any location using the Open-Meteo API.2-
- FlicenseNot gradedqualityDmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.45 npm-
- AlicenseNot gradedqualityDmaintenanceProvides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.MIT