china-weather-mcp-server

china-weather-mcp-server

1

China Weather MCP Server is designed to provide real-time weather information for Chinese cities by using the AMap Weather API. The server features easy integration with AI assistants to deliver current weather data efficiently.

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
  3. Clone this repository
  4. Install dependencies with uv

Configuration

  1. Get an API key from AMap Developer Platform
  2. Set your API key as an environment variable

Usage

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

The server provides the following tool:

  • Get current weather information for a specified Chinese city

License

This project is licensed under the MIT License.