Weather Real-Time
0
Provides real-time weather information for cities by integrating with the Open-Meteo API within a Model Context Protocol (MCP) server.
About
This project offers an MCP-based server designed to fetch and deliver current weather conditions for specified cities. Built with TypeScript and leveraging the `@modelcontextprotocol/sdk`, it meticulously validates city inputs using Zod before querying the public Open-Meteo API. Developed as an introductory example for MCP, it serves as a robust demonstration of integrating external APIs and data validation within an MCP server environment, providing clear textual weather descriptions.
Key Features
- Defines a 'get-weather' tool for weather queries
- Validates city input using Zod schema validation
- Integrates with the Open-Meteo API for real-time weather data
- Returns textual descriptions of current weather conditions
- Built on Model Context Protocol (MCP) using TypeScript
- 0 GitHub stars
Use Cases
- Integrating real-time weather data into MCP applications
- Learning and demonstrating MCP server development principles
- Building conversational AI tools requiring current weather information