Weather MCP Server
Weather MCP Server
Сервер MCP для получения реальной информации о погоде, разработанный на основе фреймворка HelloAgents.
Возможности
🌤️ Получение погоды в реальном времени
🌍 Поддержка 12 крупных городов Китая
🔴 Использование API
wttr.in(без ключа)🚀 Основан на фреймворке 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"]
}Поддерживаемые города
Пекин, Шанхай, Гуанчжоу, Шэньчжэнь, Ханчжоу, Чэнду, Чунцин, Ухань, Сиань, Нанкин, Тяньцзинь, Сучжоу
Также поддерживается запрос погоды для любого города мира по его английскому названию.
Лицензия
MIT License
Автор
HelloAgents Team
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 Connectors
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Provide real-time and forecast weather information for locations in the United States using natura…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides real-time weather information for 12 major Chinese cities and global locations using the wttr.in API. Built with the HelloAgents framework, it requires no API keys and supports queries in both Chinese and English.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables real-time weather queries for 12 major Chinese cities and global locations using the wttr.in API. Built on the HelloAgents framework with no API key required.MIT
- AlicenseNot gradedqualityDmaintenanceEnables real-time weather queries for 12 Chinese cities and global cities using English names via the wttr.in API.MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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
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/Eric980305/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server