- Explore MCP Servers
- mcp-turkey-weather
Mcp Turkey Weather
What is Mcp Turkey Weather
mcp-turkey-weather is a Model Context Protocol (MCP) tool that provides weather information for cities in Turkey.
Use cases
Use cases include checking the current weather for a specific city, comparing weather between two cities, receiving hourly weather updates, and getting activity recommendations based on weather conditions.
How to use
To use mcp-turkey-weather, install Python 3.11 or higher, install the required packages with ‘pip install httpx mcp’, obtain an OpenWeatherMap API key, and configure it in the ‘config.py’ file. Start the application by running ‘python weather.py’. Once running, you can send commands using an MCP client.
Key features
Key features include current weather updates for Turkish cities, hourly weather forecasts, air quality information, intercity weather comparisons, activity suggestions based on weather conditions, and weather alerts.
Where to use
mcp-turkey-weather can be used in various fields such as weather forecasting, environmental monitoring, tourism, and outdoor activity planning.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Turkey Weather
mcp-turkey-weather is a Model Context Protocol (MCP) tool that provides weather information for cities in Turkey.
Use cases
Use cases include checking the current weather for a specific city, comparing weather between two cities, receiving hourly weather updates, and getting activity recommendations based on weather conditions.
How to use
To use mcp-turkey-weather, install Python 3.11 or higher, install the required packages with ‘pip install httpx mcp’, obtain an OpenWeatherMap API key, and configure it in the ‘config.py’ file. Start the application by running ‘python weather.py’. Once running, you can send commands using an MCP client.
Key features
Key features include current weather updates for Turkish cities, hourly weather forecasts, air quality information, intercity weather comparisons, activity suggestions based on weather conditions, and weather alerts.
Where to use
mcp-turkey-weather can be used in various fields such as weather forecasting, environmental monitoring, tourism, and outdoor activity planning.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Turkish Weather Application
Bu uygulama, Türkiye’deki şehirler için hava durumu bilgilerini sağlayan bir MCP (Model Context Protocol) aracıdır.
Özellikler
- Türkiye’deki şehirler için güncel hava durumu
- Saatlik hava durumu tahminleri
- Hava kalitesi bilgileri
- Şehirler arası hava karşılaştırması
- Hava durumuna göre aktivite önerileri
- Hava durumu alarmları
Kurulum
- Python 3.11 veya üstünü yükleyin
- Gerekli paketleri yükleyin:
pip install httpx mcp - OpenWeatherMap API anahtarı alın (https://openweathermap.org/api) ve
config.pydosyasında ayarlayın
Kullanım
Uygulamayı başlatmak için:
python weather.py
MCP İstemcisi ile Kullanım
Bu uygulama bir MCP (Model Context Protocol) sunucusu olarak çalışır. MCP, dil modelleri ile araçlar arasında iletişim sağlayan açık bir protokoldür.
-
Uygulamayı başlattıktan sonra, bir MCP istemcisi (örneğin Copilot, ChatGPT veya başka bir MCP destekli dil modeli) kullanarak komutlar gönderebilirsiniz.
-
İstemci üzerinden şu formatta araçları çağırabilirsiniz:
Araçlar
hava_durumu_sehir: Belirli bir şehir için hava durumu bilgisisaatlik_hava_durumu: Saatlik hava durumu tahminlerihava_kalitesi: Hava kalitesi endeksi bilgilerisehirler_karsilastir: İki şehri karşılaştırmahavadurumu_aktivite_onerileri: Hava durumuna göre aktivite önerileri
Proje Yapısı
weather.py: Ana uygulama ve MCP araçlarıapi.py: API istekleri için yardımcı fonksiyonlarutils.py: Yardımcı fonksiyonlarconfig.py: Yapılandırma sabitler ve şehir verileri
Lisans
MIT
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










