weather-forecast-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@weather-forecast-serverWhat's the weather in Tokyo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather Forecast MCP Server
A Model Context Protocol (MCP) server for retrieving weather information using the wttr.in service.
Overview
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.
Related MCP server: mcp-weather-server
Features
Get current weather for any location
Get multi-day weather forecasts (up to 3 days)
Support for both Chinsee/English and other language location names
Easy integration with MCP client applications
Installation
From pip
You can install the MCP Weather Server using uv:
uv pip install weather-forecast-serverOr using pip:
pip install weather-forecast-serverFrom source
git clone https://github.com/shibing624/mcp-server-weather.git
cd weather-forecast-server
pip install -e .Usage
Python Demo
from weather_forecast_server import get_weather
print(get_weather('baoding')) # can be "baoding" or "保定"
Running as a standalone MCP server
Run the server with the stdio transport:
uvx weather-forecast-serveror
uv run weather-forecast-serveror
python -m weather_forecast_serverThen, you can use the server with any MCP client that supports stdio transport.
Integrating with Cursor
To add the weather MCP server to Cursor, add stdio MCP with command:
uv run weather-forecast-server
Tools available
get_weather- Get current weather conditions for a location (up to 3 days)
Contact
Issues and suggestions:
Email: xuming624@qq.com
WeChat: Add me (WeChat ID: xuming624) with the message: "Name-Company-NLP" to join our NLP discussion group.
License
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.
Contribute
We welcome contributions to improve this project! Before submitting a pull request, please:
Add appropriate unit tests in the
testsdirectoryRun
python -m pytestto ensure all tests passSubmit your PR with clear descriptions of the changes
Acknowledgements
Weather data provided by wttr.in
Built with MCP Python SDK
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.8MIT
- Flicense-qualityDmaintenanceEnables MCP clients like Kiro and Claude to access current weather conditions and forecasts for any location using the OpenWeatherMap API.
- FlicenseBqualityDmaintenanceProvides real-time weather information for cities worldwide using the OpenWeatherMap API, accessible through natural language queries via the MCP protocol.1
- Alicense-qualityBmaintenanceProvides weather data including current conditions, forecasts, and summaries via Open-Meteo with no API key required, enabling natural language queries through an MCP interface.MIT
Related MCP Connectors
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shibing624/weather-forecast-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server