Back to MCP Directory
WMCP
Model Context Protocol moderate risk

Weather

A FastAPI-based MCP server providing comprehensive weather data, including forecasts, air quality, astronomy, and sports events, accessible via a WeatherAPI key.

Connections & Capabilities

Connects To

GitHub

Capabilities

read

Quickstart

Install

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude

Exposed MCP Tools (7)

safe
current_weather

Retrieves the current weather conditions for a specified location.

Read-only operation, no side effects.

safe
weather_forecast

Provides weather forecasts for a specified location, ranging from 1 to 14 days.

Read-only operation, no side effects.

safe
air_quality

Fetches air quality information for a given location.

Read-only operation, no side effects.

safe
astronomy_data

Returns astronomy data such as sunrise, sunset, and moon phases for a location.

Read-only operation, no side effects.

safe
location_search

Searches for a location based on a given query.

Read-only operation, no side effects.

safe
timezone_information

Provides timezone information for a specified location.

Read-only operation, no side effects.

safe
sports_events

Retrieves information about sports events based on location.

Read-only operation, no side effects.

Safety Assessment

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.

  • Requires an API key for access, limiting unauthorized use.
  • Primarily read-only operations for retrieving weather data.
  • No direct file system access or shell execution.
  • Utilizes FastAPI framework, known for security features.
  • Exposure of API key if not handled securely.
  • Potential for data injection if input validation is insufficient.
  • Dependency on external WeatherAPI service introduces third-party risk.
  • Network access required, increasing attack surface.