A
securityA
licenseA
qualityAn MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
Last updated -
1
Python
MIT License
该项目是一个天气查询客户端,它与 MCP(模型客户端协议)服务器交互以获取并显示指定城市的天气信息。
openai
库dotenv
库mcp
库.env
文件并添加您的 OpenAI API 密钥和其他配置:quit
退出客户端。server.py
:包含 MCP 服务器实现和天气查询工具。client.py
:包含与服务器交互的 MCP 客户端实现。.env
:API 密钥和配置的环境变量。.gitignore
:指定 git 要忽略的文件和目录。README.md
:项目文档。该项目已获得 MIT 许可。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器实现允许用户获取和显示指定城市的天气信息,包括温度、湿度、风速和天气描述。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eternachen/mcp-playground'
If you have feedback or need assistance with the MCP directory API, please join our Discord server