Weather Forecast

•

Delivers real-time hourly weather forecasts to AI assistants and applications via both Model Context Protocol (MCP) and REST APIs.

The Weather Forecast service acts as an MCP server, enabling AI assistants like GitHub Copilot to access up-to-the-minute weather information. It extends AI capabilities beyond their training data by connecting to external data sources. Built with FastMCP and FastAPI, it provides a robust, stateless interface for querying hourly forecasts for any given location, backed by the Open-Meteo API and secured with Authentik authentication. Additionally, it exposes a traditional REST API for standard application integration, offering a flexible solution for various development needs.

主な機能

01Offers a FastAPI-driven REST API for direct application access alongside MCP.
02Secures data access with Authentik-based authentication for both MCP and REST endpoints.
03Provides real-time hourly weather forecasts using the Open-Meteo API.
04Supports Model Context Protocol (MCP) for AI assistant integration via stdio and HTTP transport methods.
050 GitHub stars
06Leverages Redis caching to optimize performance for frequently requested geocoding queries.

ユースケース

01Facilitate local development and testing of MCP-compliant services that require external, real-time data.
02Enable AI assistants (like GitHub Copilot) to answer dynamic, location-specific weather queries.
03Integrate real-time hourly weather forecasts into web, mobile, or backend applications via a REST API.