如何获取 OpenWeather API 密钥?
前往 [OpenWeather 官网](https://openweathermap.org/api) 注册并申请 API 密钥,该密钥需要在启动命令中通过 `--api-key` 参数传入。
@odinggg
Basic information
weather mcp server with openweather
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
天气 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 客户端的服务器配置路径和参数是否完全匹配。

A remote MCP server from GOJI, a full-service digital agency in Melbourne, Australia. Nine tools over published material: a 104-term plain-English glossary, a 14-chapter guide to AI visibility, seven long-form guides inc
Photo mosaic maker and AI photo collage maker: turn your own photos into a photo mosaic - one picture made of hundreds of your photos - or into a heart, number or word photo collage in seconds. No sign-in or API key need

Drive Veltake Studio from any AI agent: create film and ad projects, have the Studio agent build scenes on the canvas, price and start renders, export edited cuts, and make single images, video, speech and music in one c

LinkedIn Ads MCP server by AdPlug, connecting LinkedIn Ads to Claude, ChatGPT and other MCP-compatible AI assistants. Analyse performance, audiences, creatives and conversions. Generate reports and manage campaigns, budg

Make AI-drawn video from chat. Claude, Cursor or Claude Code plans the film, the model draws every frame in code at 30 fps, and you edit it on a timeline with narration, music and sound effects.
Comments