loading…
Search for a command to run...
loading…
Provides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.
Provides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.
MseeP.ai Security Assessment Badge
A Model Context Protocol (MCP) server for retrieving weather information using the wttr.in service.
This MCP server provides tools for accessing current weather conditions and forecasts for locations worldwide. It can be easily integrated with MCP clients, including Claude and other LLM applications supporting the MCP protocol.
You can install the MCP Weather Server using uv:
uv pip install weather-forecast-server
Or using pip:
pip install weather-forecast-server
git clone https://github.com/shibing624/mcp-server-weather.git
cd weather-forecast-server
pip install -e .
from weather_forecast_server import get_weather
print(get_weather('baoding')) # can be "baoding" or "保定"

Run the server with the stdio transport:
uvx weather-forecast-server
or
uv run weather-forecast-server
or
python -m weather_forecast_server
Then, you can use the server with any MCP client that supports stdio transport.
To add the weather MCP server to Cursor, add stdio MCP with command:
uv run weather-forecast-server

get_weather - Get current weather conditions for a location (up to 3 days)
This project is licensed under The Apache License 2.0 and can be used freely for commercial purposes.
Please include a link to the weather-forecast-server project and the license in your product description.
We welcome contributions to improve this project! Before submitting a pull request, please:
tests directorypython -m pytest to ensure all tests passRun in your terminal:
claude mcp add weather-forecast-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.