中国城市天气查询 MCP 服务 MCP Server

基于高德地图 API 的中国城市天气查询 MCP Server

Local serverstdioPython

What is the 中国城市天气查询 MCP 服务 MCP server?

If you already use 中国城市天气查询 MCP 服务, the 中国城市天气查询 mcp 服务 mcp server is the piece that lets your assistant work with it directly. 基于高德地图 API 的中国城市天气查询 MCP Server.

What the server does

基于高德地图 API 的中国城市天气查询 Model Context Protocol (MCP) 服务。该服务允许用户通过简单的请求获取中国各城市的实时天气状况和未来几天的天气预报。

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • get_current_weather — The get_current_weather tool exposed by this server
  • get_weather_forecast — The get_weather_forecast tool exposed by this server
  • search_city — The search_city tool exposed by this server

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Credentials and setup notes

Configuration is passed through the environment: AMAP_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. 中国城市天气查询 MCP 服务's toolset — get_current_weather, get_weather_forecast, search_city — is a fair guide to whether it matches your workflow. It is maintained by ACAne0320; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_current_weatherThe get_current_weather tool exposed by this server.
get_weather_forecastThe get_weather_forecast tool exposed by this server.
search_cityThe search_city tool exposed by this server.

Configuration

VariableDescriptionRequired
AMAP_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use 中国城市天气查询 MCP 服务 to get current weather.
  • Use 中国城市天气查询 MCP 服务 to get weather forecast.
  • Use 中国城市天气查询 MCP 服务 to search city.

Frequently asked questions

需要高德地图开放平台 API 密钥,并通过 `AMAP_API_KEY` 环境变量配置。运行时依赖 Python、`uv` 以及 `mcp[cli]`、`httpx` 等库。