China Weather MCP Server
@DLYZZT
关于 China Weather MCP Server
MCP server to query weather in Chinese cities
基本信息
配置
使用下面的配置,将此服务器添加到你的 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/.
媒体与设计 分类下的更多 MCP 服务器
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Tripadvisor MCP Server
pab1it0A Model Context Protocol (MCP) server for Tripadvisor Content API. This provides access to Tripadvisor location data, reviews, and photos through standardized MCP interfaces, allowing AI assistants to search for travel destinations and experiences.
Video Editor MCP server
burningionMCP Interface for Video Jungle
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
评论