Skip to main content
Glama
DongDong1997

Weather MCP Server

by DongDong1997

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEATHER_API_KEYYes和风天气 API Key

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_weatherA

获取指定城市的实时天气。

Args:
    location: 城市名称(如"北京")、经纬度(格式"lng,lat"如"116.41,39.92")或 Location ID。
    lang: 可选,多语言设置(如 "zh"、"en"),不传则用服务端默认。
    unit: 可选,数据单位,"m" 公制(默认)/"i" 英制。
get_forecastB

获取指定城市的天气预报。

Args:
    location: 城市名称、经纬度("lng,lat")或 Location ID。
    days: 预报天数,支持 3 / 7 / 10 / 15 / 30 天,默认 7 天。
get_warningsA

获取指定城市当前生效中的天气预警。

Args:
    location: 城市名称、经纬度("lng,lat")或 Location ID。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool addresses a distinct weather information need: current conditions, forecast, and warnings. There is no functional overlap.

Naming Consistency5/5

All tool names follow the 'get_<resource>' pattern (get_current_weather, get_forecast, get_warnings), ensuring predictability.

Tool Count5/5

Three tools cover the essential weather functions (current, forecast, warnings) without being too few or excessive.

Completeness4/5

Core weather data needs are met, but optional features like historical data or air quality are absent. Minor gap, but acceptable for a focused weather server.

Maintenance

ActivityInactive
ResponsivenessNo issues