Feedback

MCP 天气预报服务器

@le-dawn Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
le-dawn
Submitted by
Community
Quality
20
Stars
4

About MCP 天气预报服务器 Server

An MCP server for China weather queries based on the 高德 API.

MCP 天气预报服务器 is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by Le-dawn. Supported transport: stdio. Runtime: node. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: api, mcp, server, weather.

MCP 天气预报服务器 config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP 天气预报服务器 tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP 天气预报服务器?

MCP 天气预报服务器 is a Model Context Protocol (MCP) server built with TypeScript that provides weather information for Chinese cities via the Amap (Gaode Maps) API. It is designed for AI assistants and applications that need real-time weather data or multi-day forecasts.

How to use MCP 天气预报服务器?

Install dependencies (npm install), build the project (npm run build), and start the server (npm start or npm run dev). Set the environment variable AMAP_API_KEY with a valid Amap Web Service API key. The server exposes a single tool get-weather-forecast which accepts cityName, date, and forecastType parameters. Configure your MCP client to point to the built index.js file and pass the API key in the environment.

Key features of MCP 天气预报服务器

  • Real-time weather query for any Chinese city
  • Multi-day weather forecast (up to several days)
  • Intelligent city name to code conversion (supports standard Chinese municipal names)
  • Optional timezone parameter for forecast dates
  • Detailed weather data: temperature, humidity, wind direction, wind force
  • Comprehensive error handling and user-friendly output formatting

Use cases of MCP 天气预报服务器

  • An AI travel assistant providing current weather conditions for a user's destination city
  • A schedule planner that checks the forecast for an upcoming event date
  • A smart home system that adjusts settings based on local weather predictions
  • A chatbot that answers "What's the weather like in Shanghai today?"

Frequently asked questions

1 What are the system requirements for MCP 天气预报服务器?

Node.js 16.0 or higher and TypeScript 5.0 or higher are required.

2 How do I obtain an Amap API key?

Register an account on the Amap Open Platform (https://lbs.amap.com/), go to Console → Application Management → My Applications, create a new application selecting "Web service" type, and get the API key.

3 Does the server have any API call limits?

Yes. Amap's free developer account has a daily limit of 5,000 API calls.

4 What city name format should I use?

Use standard Chinese municipal names such as "北京市" (Beijing city). Avoid abbreviations.

5 How is the API key secured?

The API key is read from the environment variable AMAP_API_KEY and is never passed in the tool call, keeping it out of logs and client code.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬