Weather Forecast MCP Server
@shibing624
weather-forecast-server, MCP server, without api key, free. Get weather for cities around the world. 免费天气预报MCP工具。
概要
What is Weather Forecast MCP Server?
It is a Model Context Protocol (MCP) server for retrieving weather information using the wttr.in service. It provides tools for accessing current weather conditions and forecasts for locations worldwide and can be integrated with MCP clients, including Claude and other LLM applications.
How to use Weather Forecast MCP Server?
Install via pip (pip install weather-forecast-server) or from source. Run as a standalone server with stdio transport using uvx weather-forecast-server or python -m weather_forecast_server. Then use with any MCP client that supports stdio transport. The available tool is get_weather, which returns current weather conditions for a location (up to 3 days).
Key features of Weather Forecast MCP Server
- Get current weather for any location
- Get multi-day weather forecasts (up to 3 days)
- Support for Chinese/English and other language location names
- Easy integration with MCP client applications
Use cases of Weather Forecast MCP Server
- Retrieve current weather for a city during a conversation with an LLM
- Get a 3-day forecast for travel planning
- Integrate weather data into AI-powered personal assistants
FAQ from Weather Forecast MCP Server
What data source does Weather Forecast MCP Server use?
It uses the wttr.in service for weather data.
What transport does the server support?
It supports stdio transport for integration with MCP clients.
How do I install Weather Forecast MCP Server?
Install via pip: pip install weather-forecast-server, or from source by cloning the repository.
What tool is available?
The server provides the get_weather tool to get current weather conditions for a location (up to 3 days).
Can I use location names in Chinese?
Yes, the server supports Chinese and English location names.