Loading...
A FastAPI-based MCP server providing comprehensive weather data, including forecasts, air quality, astronomy, and sports events, accessible via a WeatherAPI key.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
A FastAPI-based MCP server providing comprehensive weather data, including forecasts, air quality, astronomy, and sports events, accessible via a WeatherAPI key.
This server is relatively safe for read-only weather data retrieval. However, proper handling of the WeatherAPI key is crucial. Ensure secure storage and prevent exposure to mitigate potential risks.
Performance depends on the WeatherAPI service's response times and network latency. Caching can be implemented to improve response times for frequently accessed data.
Cost depends on the WeatherAPI subscription plan and the number of API calls made. Monitor API usage to avoid unexpected charges.
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claudeWEATHER_API_KEYcurrent_weatherRetrieves the current weather conditions for a specified location.
Read-only operation, no side effects.
weather_forecastProvides weather forecasts for a specified location, ranging from 1 to 14 days.
Read-only operation, no side effects.
air_qualityFetches air quality information for a given location.
Read-only operation, no side effects.
astronomy_dataReturns astronomy data such as sunrise, sunset, and moon phases for a location.
Read-only operation, no side effects.
location_searchSearches for a location based on a given query.
Read-only operation, no side effects.
timezone_informationProvides timezone information for a specified location.
Read-only operation, no side effects.
sports_eventsRetrieves information about sports events based on location.
Read-only operation, no side effects.
API Key
This server is relatively safe for read-only weather data retrieval. However, proper handling of the WeatherAPI key is crucial. Ensure secure storage and prevent exposure to mitigate potential risks.
The server primarily supports read-only operations, making it suitable for autonomous agents that require weather data without the need for modifications.
Production Tip
Implement robust API key management and rate limiting to prevent abuse and ensure service availability.
The WeatherAPI key is used to authenticate your requests to the WeatherAPI service and track your API usage.
You can obtain a WeatherAPI key by signing up for an account on the WeatherAPI website.
If your WeatherAPI key is compromised, you should immediately revoke the key and generate a new one.
No, a WeatherAPI key is required to access the weather data.
The weather data update frequency depends on the WeatherAPI service's update schedule.
Yes, the server supports retrieving historical weather data through the WeatherAPI.
The units used for the weather data depend on the WeatherAPI service's settings and can typically be configured.