Overview
Weather MCP Server is a weather information service based on the MCP protocol that retrieves real-time meteorological data using the HeWeather API.
To use the Weather MCP Server, you need to set up the server with your HeWeather API key and configure it in CherryStudio to start querying weather information.
- Real-time weather information for specified cities. - Integration with HeWeather API for accurate weather data. - Detailed weather information including temperature, humidity, wind speed, and precipitation.
- Providing real-time weather updates for applications.
- Integrating weather data into chatbots or virtual assistants.
- Enabling weather-related features in games or interactive applications.
Add to your AI client
Use these steps to connect 🌦️ Weather MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-weather-python-yestarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-weather-python-yestarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-weather-python-yestarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-weather-python-yestarz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-weather-python-yestarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-weather-python-yestarz": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-weather-python-yestarz"
]
}
}
}FAQ
What programming language is used for this project?
The project is developed in Python.
Do I need a special key to access the weather data?
Yes, you need a HeWeather API key to access the weather data.
Is Docker required to run the server?
Docker is optional; you can run the server without it if you prefer.