Weather MCP server for Chinese cities

Weather MCP server for Chinese cities

china-weather-mcp-server•bydlyzzt

An MCP server that exposes real-time weather information for Chinese cities by integrating with the AMap Weather API.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Retrieves real-time weather data for Chinese cities.
  • •Integrates with the AMap (AutoNavi) Weather API.
  • •Offers an MCP tool get_weather that takes a city string and returns current weather.
  • •Handles requests asynchronously through an easy-to-use MCP interface.

BEST FOR

  • •AI assistants needing current weather conditions across China.
  • •Looking up current weather information for a specified Chinese city.

ABOUT CHINA-WEATHER-MCP-SERVER

Weather MCP server for Chinese cities is cataloged as an MCP server attributed to dlyzzt. An MCP server that exposes real-time weather information for Chinese cities by integrating with the AMap Weather API. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Weather MCP server for Chinese cities are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What API does this server use for weather data?

It uses the AMap (AutoNavi) Weather API.

What input does the weather tool take?

The get_weather tool takes a city as a string argument.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7d4654f02e09 · 采集于 2026-11-13 10:52:24 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

China Weather MCP Server

English | 中文

English

Introduction

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. This server enables AI assistants to access current weather conditions across China.

Features

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

Installation

  1. Ensure Python 3.12 or higher is installed
  2. Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone this repository:
git clone https://github.com/DLYZZT/china-weather-mcp-server.git
cd china-weather-mcp-server
  1. Install dependencies with uv:
uv pip install .

Configuration

  1. Get an API key from AMap Developer Platform
  2. Set your API key as an environment variable:
export AMAP_API_KEY="your_api_key_here"

Usage

To use with Claude Desktop, add the following configuration to your Claude Desktop config file:

On Windows: %APPDATA%/Claude/claude_desktop_config.json On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "--directory",
        "path/china-weather-mcp-server",
        "run",
        "weather.py"
      ],
      "env": {
        "AMAP_API_KEY": "your_api_key_here"
      }
    }
  }
}

The server provides the following tool:

  • get_weather(city: str): Get current weather information for a specified Chinese city

License

This project is licensed under the MIT License - see the LICENSE file for details.


中文

简介

中国天气 MCP 服务器是一个基于模型上下文协议(Model Context Protocol,MCP)的服务器,使用高德地图天气 API 提供中国城市的实时天气信息。该服务器使 AI 助手能够访问中国各地的当前天气状况。

特性

  • 获取中国城市的实时天气数据
  • 集成高德地图天气 API
  • 异步请求处理
  • 简单易用的 MCP 接口

安装方法

  1. 确保已安装 Python 3.12 或更高版本
  2. 安装 uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. 克隆此仓库:
git clone https://github.com/DLYZZT/china-weather-mcp-server.git
cd china-weather-mcp-server
  1. 使用 uv 安装依赖:
uv pip install .

配置

  1. 从高德开放平台获取 API 密钥
  2. 设置 API 密钥环境变量:
export AMAP_API_KEY="你的API密钥"

使用方法

要在 Claude Desktop 中使用,请在 Claude Desktop 配置文件中添加以下配置:

Windows系统:%APPDATA%/Claude/claude_desktop_config.json MacOS系统:~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "--directory",
        "path/china-weather-mcp-server",
        "run",
        "weather.py"
      ],
      "env": {
        "AMAP_API_KEY": "你的API密钥"
      }
    }
  }
}

服务器提供以下工具:

  • get_weather(city: str):获取指定中国城市的当前天气信息

许可证

本项目采用 MIT 许可证 - 详情请参见 LICENSE 文件。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Weather MCP server for Chinese cities from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/china-weather-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research