MCP.so
ログイン

China Weather MCP Server

@DLYZZT

China Weather MCP Server について

MCP server to query weather in Chinese cities

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

DLYZZT

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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/.

コメント

「メディアとデザイン」の他のコンテンツ