Weather icon

Weather

Fetches daily weather forecasts for any city using the Open-Meteo API.

关于

Serves as a TypeScript-based Model Context Protocol (MCP) server, offering a streamlined interface to retrieve daily weather forecasts for any city. It leverages public APIs like Open-Meteo to provide structured weather data to MCP clients, demonstrating how custom tools can integrate with external APIs within the MCP framework.

主要功能

  • Communication through standard input/output streams (Stdio Transport)
  • Seamless MCP handling via `@modelcontextprotocol/sdk`
  • Runtime validation of tool parameters using Zod
  • 0 GitHub stars
  • Real-time weather data fetching using Open-Meteo APIs

使用案例

  • Retrieve daily weather forecasts for any specified city
  • Integrate external weather data APIs into an MCP client application
  • Serve as an example for developing custom MCP server tools that interact with external services