weather-mcp-server
天气 MCP 服务器
一个用于天气数据的模型上下文协议 (MCP) 服务器,使用 FastAPI 和 MCP 框架构建。该服务器提供各种与天气相关的工具,可供 AI 助手检索当前天气状况、天气预报、空气质量数据等。
特征
当前天气状况
天气预报(1-14天)
历史气象数据
天气警报
空气质量信息
天文学数据(日出、日落、月相)
位置搜索
时区信息
体育赛事
Related MCP server: Weather MCP Server
要求
Python 3.13+
uv包管理器
WeatherAPI API 密钥
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装天气数据服务器:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude手动安装
克隆此存储库:
git clone https://github.com/yourusername/Weather_mcp_server.git cd Weather_mcp_server使用 uv 安装依赖项:
uv venv uv pip install -e .使用您的 WeatherAPI 密钥在项目根目录中创建一个
.env文件:WEATHER_API_KEY=your_api_key_here
用法
运行服务器:
python main.py默认情况下,服务器将从http://localhost:8000启动。
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。
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
- -licenseBqualityNot gradedmaintenancemcp server for weather information query2
- AlicenseNot gradedqualityDmaintenanceMCP Server for global weather, forecasts, air quality, and climate data using Open-Meteo, no API key required.MIT
- FlicenseNot gradedqualityBmaintenanceA weather-reactive MCP server that renders rich Open-Meteo weather widgets and provides plain JSON weather data, all without an API key.
- AlicenseAqualityBmaintenanceMCP server for weather forecasts via Open-Meteo (no API key needed), providing current weather, hourly, and daily forecasts with geocoding support.3MIT
Related MCP Connectors
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
A very simple remote MCP server that greets you, with a custom icon.
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/sjanaX01/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server