Weather

•

Exposes weather tools, file resources, and prompt templates to AI clients via the Model Context Protocol.

The Weather tool is a TypeScript-based Model Context Protocol (MCP) server designed to enhance AI clients like Claude Desktop with external capabilities. It communicates with AI clients using Standard Input/Output (stdio) transport, providing a robust integration for weather-related data and contextual information. By connecting to this server, AI clients gain access to a 'get_weather' tool to fetch current weather by city, a 'project-info.txt' resource for project overviews, and a 'weather-report-template' prompt for generating weather-aware project summaries.

主要功能

01Provides a `get_weather` tool to fetch current weather for any city
02Exposes a `file:///project-info.txt` resource for project context to AI clients
03Offers a `weather-report-template` prompt for generating contextual weather reports
04Communicates with AI clients via Standard Input/Output (stdio) transport
05Built using the official `@modelcontextprotocol/sdk`
060 GitHub stars

使用案例

01AI clients can call the `get_weather` tool to retrieve current weather information for specified cities.
02AI clients can read the `project-info.txt` resource to understand project context.
03AI clients can utilize the `weather-report-template` prompt to generate weather-aware summaries and reports.