drio
Open app

Juhe Weather MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Juhe Weather MCP Server is a Model Context Protocol server that provides nationwide weather forecast query functionality, enabling large language models (LLMs) to access weather forecasts for cities and regions across the country.

To use the server, you can either run it using the recommended uv tool or install it via pip. After installation, you need to configure it with your API key and can then query the weather by providing the city name.

  • Real-time weather forecast queries based on city or region names. - Easy installation and configuration. - Supports integration with large language models for enhanced functionality.
  1. Querying real-time weather information for various cities.
  2. Integrating weather data into applications that require location-based services.
  3. Enhancing conversational AI systems with weather-related queries.

Add to your AI client

Use these steps to connect Juhe 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": {
    "jweather-mcp-server-juhemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

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": {
    "jweather-mcp-server-juhemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "jweather-mcp-server-juhemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "jweather-mcp-server-juhemcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "jweather-mcp-server-juhemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "jweather-mcp-server-juhemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jweather-mcp-server-juhemcp"
      ]
    }
  }
}

FAQ

What programming language is the server built with?

The server is built using Python 3.10 or higher.

How do I obtain the API key?

You can get the API key from [Juhe's API documentation](https://www.juhe.cn/docs/api/id/73).

Can I run the server without installing it?

Yes, you can run it directly using the `uv` tool without specific installation.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3380,"uuid":"49e1f6c8-4e1f-4c91-a420-758c5e18019f","name":"jweather-mcp-server","title":"Juhe Weather MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/203600343?v=4","created_at":"2025-03-19T06:38:52.012Z","updated_at":"2025-03-19T06:52:34.730Z","status":"created","author_name":"juhemcp","author_avatar_url":"https://avatars.githubusercontent.com/u/203600343?v=4","tags":"jweather,weather-server,weather-api","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/juhemcp/jweather-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-19 13:28:59\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]