Weather App icon

Weather App

Provides current weather conditions, forecasts, and alerts using an MCP server.

About

This example demonstrates how to build an MCP server using Python, offering a command-line interface and MCP-based access to weather data. It leverages the OpenWeatherMap API to fetch current conditions, daily and hourly forecasts, and weather alerts for locations worldwide. The project includes features like automatic location detection, API connection testing, and subscription status checks. Furthermore, it provides a well-structured development environment with pre-commit hooks, linting, and testing configurations, making it an ideal starting point for creating custom MCP servers.

Key Features

  • 0 GitHub stars
  • Supports weather data by coordinates
  • Retrieves weather alerts
  • Includes API connection testing
  • Provides current weather conditions for any location
  • Provides daily and hourly weather forecasts

Use Cases

  • Developing a weather-based application with MCP integration
  • Learning about MCP server implementation in Python
  • Creating custom weather tools and services
Craft Better Prompts with AnyPrompt