Skip to main content
Glama
Kisekixy

Weather MCP Server

by Kisekixy

Weather MCP Server

Real-time weather query MCP server, developed based on the HelloAgents framework.

Features

  • 🌤️ Real-time weather queries

  • 🌍 Supports 12 major Chinese cities

  • 🔄 Uses wttr.in API (no API key required)

  • 🚀 Based on the HelloAgents framework

Related MCP server: Weather MCP Server

Installation

pip install hello-agents requests

Usage

Run Directly

python server.py

Use in Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "weather": {
      "command": "python",
      "args": ["/path/to/server.py"]
    }
  }
}

Use in HelloAgents

from hello_agents import SimpleAgent, HelloAgentsLLM
from hello_agents.tools import MCPTool

agent = SimpleAgent(name="天气助手", llm=HelloAgentsLLM())
weather_tool = MCPTool(server_command=["python", "server.py"])
agent.add_tool(weather_tool)

response = agent.run("北京今天天气怎么样?")

API Tools

get_weather

Get the current weather for a specified city.

Parameters:

  • city (string): City name (supports both Chinese and English)

Example:

{
  "city": "北京"
}

Response:

{
  "city": "北京",
  "temperature": 10.0,
  "feels_like": 9.0,
  "humidity": 94,
  "condition": "Light rain",
  "wind_speed": 1.7,
  "visibility": 10.0,
  "timestamp": "2025-10-09 13:25:03"
}

list_supported_cities

List all supported Chinese cities.

Response:

{
  "cities": ["北京", "上海", "广州", "深圳", "杭州", "成都", "重庆", "武汉", "西安", "南京", "天津", "苏州"],
  "count": 12
}

get_server_info

Get server information.

Response:

{
  "name": "Weather MCP Server",
  "version": "1.0.0",
  "tools": ["get_weather", "list_supported_cities", "get_server_info"]
}

Supported Cities

Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, Wuhan, Xi'an, Nanjing, Tianjin, Suzhou

Also supports querying any city globally using English city names.

License

MIT License

Author

HelloAgents Team

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables real-time weather queries for 12 major Chinese cities and global cities via wttr.in API, with tools like get_weather and list_supported_cities.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables real-time weather queries for 12 major Chinese cities and global cities using the wttr.in API. Provides tools to get weather, list supported cities, and server info.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables real-time weather queries for 12 major Chinese cities and global cities using the wttr.in API without an API key, with tools for weather, city listing, and server info.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides real-time weather queries for 12 major Chinese cities and global cities using the wttr.in API, with tools like get_weather and list_supported_cities.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Live data: weather, air quality, FX, CN/HK/US stocks, IP geo, domain, SSL, China reachability.

  • Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kisekixy/weather-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server