A Model Context Protocol (MCP) implementation for retrieving weather information. This tool provides a command-line interface to access weather data through the MCP protocol.
This project uses pnpm as the package manager. To install dependencies:
pnpm install
To build the project:
pnpm build
This will compile the TypeScript code and create executable scripts in the build
directory.
After building, you can use the weather command:
./build/weather.js [options]
The weather command integrates with MCP to provide weather information in a format that can be consumed by AI models and other applications.
This project is written in TypeScript and uses the following key dependencies:
@modelcontextprotocol/sdk
: Core MCP functionalityzod
: Runtime type checking and validationtypescript
: For type safety and compilation
ISC License