Ahao Weather MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ahao Weather MCP Server北京今天天气怎么样?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ahao Weather MCP Server
真实天气查询 MCP 服务器,基于 HelloAgents 框架开发,并提供作者信息查询工具。
功能特性
🌤️ 实时天气查询
🌍 支持12个中国主要城市
🔄 使用 wttr.in API(无需密钥)
🚀 基于 HelloAgents 框架
👤 支持查询作者信息
Related MCP server: Weather MCP Server
安装
pip install hello-agents requests使用方法
直接运行
python server.py在 Claude Desktop 中使用
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"weather": {
"command": "python",
"args": ["/path/to/server.py"]
}
}
}在 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 工具
get_weather
获取指定城市的当前天气。
参数:
city(string): 城市名称(支持中文和英文)
示例:
{
"city": "北京"
}返回:
{
"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
列出所有支持的中文城市。
返回:
{
"cities": ["北京", "上海", "广州", "深圳", "杭州", "成都", "重庆", "武汉", "西安", "南京", "天津", "苏州"],
"count": 12
}get_server_info
获取服务器信息。
返回:
{
"name": "Weather MCP Server",
"version": "1.0.0",
"tools": ["get_weather", "list_supported_cities", "get_server_info", "get_author"]
}get_author
获取服务器作者信息。
返回:
ahao支持的城市
北京、上海、广州、深圳、杭州、成都、重庆、武汉、西安、南京、天津、苏州
也支持使用英文城市名查询全球任意城市。
许可证
MIT License
作者
ahao
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceProvides real-time weather data for Chinese cities and global locations via wttr.in API, supporting tools like get_weather and list_supported_cities.Last updatedMIT
- Alicense-qualityCmaintenanceEnables 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.Last updatedMIT
- Alicense-qualityDmaintenanceEnables real-time weather queries for 12 Chinese cities and global cities using English names via the wttr.in API.Last updatedMIT
- -license-qualityCmaintenanceEnables 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.Last updated
Related MCP Connectors
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ooo423/ahao-weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server