# Weather MCP China

> Weather MCP China is an open-source MCP server for maps and travel. Current weather and up to 7-day forecasts for cities worldwide, in Chinese or English. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, Self-hosted
- **Repository:** https://github.com/boy-373/weather-mcp-china
- **MCP Registry name:** cn.pianam/weather-mcp-china
- **Categories:** [maps and travel](https://ai-powered.com/categories/maps-and-travel)
- **Listing updated:** 2026-11-23

## About

One tool, query_weather, takes a Chinese or English city name (for example 青岛, 北京 or Tokyo) and a day count from 1 to 7, defaulting to 3. It returns current conditions with temperature, feels-like, humidity and wind, plus a daily forecast with highs, lows and precipitation probability. Output is in Chinese, with weather codes and wind directions translated.

Open-Meteo supplies the data, with wttr.in as an automatic fallback. City resolution ranks administrative cities first so a name does not land on a village of the same name. Results are cached for 600 seconds, and the hosted endpoint is limited to 200 requests per minute per IP.

The registry entry frames it as a China weather server, but the README says it covers cities worldwide. A free hosted endpoint needs no key, and the MIT-licensed Python code can be self-hosted, including as a Docker image.

## Features

- **Bilingual city names:** Accepts Chinese or English names such as 青岛 or Tokyo.
- **Forecast length:** Returns 1 to 7 days, defaulting to 3.
- **Current conditions:** Shows temperature, feels-like, humidity and wind.
- **Dual data sources:** Falls back to a second feed if the primary one fails.
- **Chinese output:** Weather codes and wind directions are translated to Chinese.
- **Self-hostable:** Runs from one Python file or a Docker image.

## Good for

- Check the weather in a Chinese city by name
- Get a 7-day forecast for a trip
- Add weather lookups to an agent workflow
- Compare conditions between two cities

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http weather-mcp-china https://pianam.cn/weather-mcp/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "type": "http",
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://pianam.cn/weather-mcp/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "type": "http",
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://pianam.cn/weather-mcp/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add weather-mcp-china --url https://pianam.cn/weather-mcp/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.weather-mcp-china]
url = "https://pianam.cn/weather-mcp/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "httpUrl": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http weather-mcp-china https://pianam.cn/weather-mcp/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "serverUrl": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "type": "streamableHttp",
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://pianam.cn/weather-mcp/mcp
```

Enter a Name (for example "Weather MCP China"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "weather-mcp-china": {
      "type": "http",
      "url": "https://pianam.cn/weather-mcp/mcp"
    }
  }
}
```

## Tools

Going by the tool names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `query_weather` (name suggests: reads): 查询全球城市的实时天气和未来几天预报。city城市名中英文均可，days预报天数1~7默认3天。主源Open-Meteo，备源wttr.in。

## FAQ

### Does Weather MCP China only cover China?

The README says it covers cities worldwide.

### Do I need an API key?

No. Hosted and self-hosted versions need no key or account.

### How long are results cached?

600 seconds.

### What is the longest forecast?

Seven days.

### Is Weather MCP China free?

Yes. Weather MCP China is open source, so you can use and self-host it for free.

### How do I add Weather MCP China to Claude Code?

Run this command in your terminal: claude mcp add --transport http weather-mcp-china https://pianam.cn/weather-mcp/mcp

### What are the best alternatives to Weather MCP China?

The closest alternatives to Weather MCP China are Atli, CAD2GIS, Mighty Travels historical deals, DACHmap Geo & Routing and City Contacts.

## Where this comes from

- Description: written from the project's README.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Atli](https://ai-powered.com/mcp/atli): Atli is a free MCP server for maps and travel.
- [CAD2GIS](https://ai-powered.com/mcp/cad2gis): CAD2GIS is an open-source MCP server for engineering simulation.
- [Mighty Travels historical deals](https://ai-powered.com/mcp/mighty-travels-historical-deals): Mighty Travels historical deals is a free MCP server for maps and travel.
- [DACHmap Geo & Routing](https://ai-powered.com/mcp/dachmap-geo-and-routing): DACHmap Geo & Routing is an MCP server for maps and travel.
- [City Contacts](https://ai-powered.com/mcp/city-contacts): City Contacts is a freemium MCP server for maps and travel.
- [Parking MCP](https://ai-powered.com/mcp/parking-mcp): Parking MCP is an MCP server for maps and travel.
- [CTC Stays](https://ai-powered.com/mcp/ctc-stays): CTC Stays is a free MCP server for maps and travel.
- [Keyset booking pages](https://ai-powered.com/mcp/keyset-booking-pages): Keyset booking pages is a free MCP server for maps and travel.

---
Source: https://ai-powered.com/mcp/weather-mcp-china
