Weather MCP Server

by pg-yuly

247 downloads
Not rated
GitHub

About

A weather information server built using Model Context Protocol (MCP) to provide real-time weather data and forecasts

Details

Author
pg-yuly
Downloads
247
Categories
Media

- Real-time weather information
- Daily weather forecasts
- Hourly weather forecasts
- Detailed life indexes (clothing, makeup, cold prevention)

Install dependencies with npm install, then start the server with npm start. The server exposes three APIs: query_weather (current conditions), query_forecast (daily forecasts), and query_hourly_forecast (hourly forecasts). Each API takes a city name as input.

Weather MCP Server

A weather information server built using Model Context Protocol (MCP) to provide real-time weather data and forecasts for Chinese cities.

Features

- Real-time weather information
- Daily weather forecasts
- Hourly weather forecasts
- Detailed life indexes (clothing, makeup, cold prevention, etc.)

Installation

npm install

Usage

npm start

APIs

- query_weather: Get current weather for a city
- query_forecast: Get daily forecasts for a city
- query_hourly_forecast: Get hourly forecasts for a city

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.