关于 Xweather Weather MCP
Xweather Weather MCP 是 Xweather 天气数据服务的注册目录条目项目,仓库包含 MCP Registry 元数据,以及验证和发布更新的说明。
主要功能
- 01MCP Registry 条目元数据
- 02带版本的 server.json
- 03验证和发布命令
适用场景
- 01将 Xweather 天气服务列入 MCP Registry
- 02更新服务条目元数据
- 03验证并发布新版条目
MCP 相关
该仓库提供 Xweather MCP 服务的注册目录元数据,但未说明服务向客户端提供的天气工具或能力。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://mcp.api.xweather.com/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http com-xweather-weather https://mcp.api.xweather.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"com-xweather-weather":{"type":"http","url":"https://mcp.api.xweather.com/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"com-xweather-weather":{"type":"http","url":"https://mcp.api.xweather.com/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"com-xweather-weather":{"type":"http","url":"https://mcp.api.xweather.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"com-xweather-weather":{"serverUrl":"https://mcp.api.xweather.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://mcp.api.xweather.com/mcp需要授权工具
详细介绍
xweather-mcp-registry
Xweather 在官方 MCP Registry 中的条目所用的 server.json。
在线条目:https://registry.modelcontextprotocol.io/v0.1/servers?search=com.xweather/weather
更新
编辑 server.json,递增版本号,然后运行:
mcp-publisher validate
mcp-publisher publish
需要通过 DNS 对 xweather.com 进行身份验证。请参阅 https://modelcontextprotocol.io/registry/authentication。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。