如何获取 OpenWeather API 密钥?
前往 [OpenWeather 官网](https://openweathermap.org/api) 注册并申请 API 密钥,该密钥需要在启动命令中通过 `--api-key` 参数传入。
@odinggg
基本信息
weather mcp server with openweather
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
天气 MCP 服务器是一个基于 Model Context Protocol (MCP) 的工具,它通过 OpenWeather API 获取指定城市的天气预报(最长 5 天)和当前空气质量数据,专为希望在对话式 AI 客户端(如 Claude Desktop)中直接查询实时天气信息的用户设计。
安装需要 Python 3.11+、UV 包管理工具和 OpenWeather API 密钥。将仓库克隆到本地后,在 MCP 客户端配置中添加如下 JSON(需替换 /your/path/to/weather-mcp 和 API 密钥)。连接后,直接向 Claude 询问任意城市的天气或空气质量即可。
前往 [OpenWeather 官网](https://openweathermap.org/api) 注册并申请 API 密钥,该密钥需要在启动命令中通过 `--api-key` 参数传入。
需要 Python 3.11 及以上版本,以及 UV 包管理工具(https://github.com/astral-sh/uv)。服务器使用 FastMCP 框架和 Python requests 库与 OpenWeather API 交互。
将配置 JSON 写入 `claude_desktop_config.json`,该文件位于 `~/Library/Application Support/Claude/` 目录下。确保 `command` 为 `uv`,且 `args` 中包含正确的仓库路径和 API 密钥。
请检查命令行参数中 `--api-key` 的值是否正确。同时确认客户端配置文件中的 `args` 数组写法无误,密钥前后无多余空格。
确保您的网络可以正常访问 OpenWeather API(api.openweathermap.org)。如果服务器依然不响应,重新检查 MCP 客户端的服务器配置路径和参数是否完全匹配。
Drive your SVGator account from any AI assistant. Prompt an animation, get an editable project back, and export it as SVG, Lottie, GIF, MP4, and more, then open it in the editor to finish by hand.
Continuing education rules for US financial advisors (CFP, CFA, IWI, IAR by state, FINRA, American College) with official sources and verified dates, plus firm-level data, national and state rankings and market stats on

Instagram + TikTok content tools inside your AI: download HD posts/reels/carousels, view Instagram stories anonymously, AI-transcribe videos (100+ languages, SRT/VTT/TXT). Requires a Repost PRO subscription.

AI Poster Generator for shop promotions and events in ChatGPT and Claude on the web. Connect free with your Poster account. Quotes and reads are free; generation uses your own Poster credits.

AI video clipping MCP server for scored, captioned vertical shorts, with 29 documented tools and dubbing in 19 languages. Hosted OAuth connection with a local installation option.
评论