- Home
- MCP servers
- Juhe Weather
Juhe Weather
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"juhemcp-jweather-mcp-server": {
"command": "uvx",
"args": [
"jweather-mcp-server"
],
"env": {
"JUHE_WEATHER_API_KEY": "your_api_key"
}
}
}
}The Juhe Weather MCP Server lets you query nationwide weather forecasts through a model context protocol (MCP) server. It wires weather data from Juhe to your language model workflows, so you can ask for current forecasts by city or region and incorporate weather insights directly into your prompts and responses.
How to use
You use this MCP server by invoking its weather query tool from your MCP client. The core tool is query_weather, which accepts a city name and returns the local weather forecast as text, images, or embedded resources. You can ask for forecasts by city, region, or district using the required city parameter.
How to install
Prerequisites: Python 3.10 or higher is required. You may install and run the server using either the uvx runner or Python’s pip package.
# Option 1: run with uvx (recommended)
uvx jweather-mcp-server
# Option 2: install with pip and run as a module
pip install jweather-mcp-server
python -m jweather_mcp_server
Additional setup and configuration
Set your API key for the Juhe Weather service so the MCP server can query forecasts.
JUHE_WEATHER_API_KEY=your_api_key
Available tools
query_weather
Query the local weather forecast for a given city or region. Requires a city parameter and returns text content, image content, or embedded resources with the forecast.