MCP.so
Sign In

China Weather MCP Server

@DLYZZT

About China Weather MCP Server

MCP server to query weather in Chinese cities

Basic information

Category

Media & Design

License

MIT

Runtime

python

Transports

stdio

Publisher

DLYZZT

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "china-weather-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "."
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is China Weather MCP Server?

China Weather MCP Server is a Model Context Protocol (MCP) server that provides real-time weather information for Chinese cities using the AMap (AutoNavi) Weather API. It enables AI assistants to access current weather conditions across China.

How to use China Weather MCP Server?

Install Python 3.12+, install uv, clone the repository, and install dependencies with uv pip install .. Obtain an AMap API key and set it as the environment variable AMAP_API_KEY. For Claude Desktop, add a configuration entry pointing to the server directory and the weather.py script. The server exposes a single tool get_weather(city: str) to retrieve current weather for a specified Chinese city.

Key features of China Weather MCP Server

  • Real-time weather data retrieval for Chinese cities
  • Integration with AMap Weather API
  • Asynchronous request handling
  • Easy-to-use MCP interface

Use cases of China Weather MCP Server

  • AI assistants answering "What's the weather in Beijing?"
  • Automated weather checks for Chinese cities in conversational agents
  • Integrating current weather data into MCP‑compatible workflows

FAQ from China Weather MCP Server

What does China Weather MCP Server do?

It provides real‑time weather information for Chinese cities via the AMap Weather API, accessible through the Model Context Protocol.

How do I install and configure China Weather MCP Server?

You need Python 3.12+, uv, and an AMap API key. Clone the repo, install dependencies with uv pip install ., set the AMAP_API_KEY environment variable, and configure your MCP client (e.g., Claude Desktop) to run weather.py with uv.

What tool does China Weather MCP Server provide?

It provides one tool: get_weather(city: str), which returns current weather data for the given Chinese city name.

What are the runtime requirements?

Python 3.12 or higher and the uv package manager. The server uses asynchronous request handling.

Where do I get an API key?

Obtain an API key from the AMap Developer Platform at https://lbs.amap.com/.

Comments

More Media & Design MCP servers