Feedback

天气 MCP Server

@hzreal Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
hzreal
Submitted by
Community
Quality
10

About 天气 MCP Server

# 天气 MCP Server

天气 MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by HZreal. Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: mcp, mcp-weather-server, weather.

Setup

{
    "mcpServers": {
        "mcp-weather-server-hzreal": {
            "command": "uv",
            "args": [
                "run",
                "weather.py"
            ]
        }
    }
}

天气 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-weather-server-hzreal": {
            "command": "uv",
            "args": [
                "run",
                "weather.py"
            ]
        }
    }
}

天气 MCP Server tools

Tool 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.

Overview

What is 天气 MCP Server?

天气 MCP Server 是一个基于 Model Context Protocol 的天气查询服务器,通过 MCP 协议与 AI 客户端(如 Claude for Desktop)集成,提供可调用的天气工具。

How to use 天气 MCP Server?

使用 uv run weather.py 启动服务。如需通过 Claude for Desktop 使用,则在其配置文件中添加对应的 MCP 服务器条目,指定 uv 命令路径和工作目录,然后重启 Claude。

Key features of 天气 MCP Server

  • 通过 MCP 协议提供天气相关工具
  • 支持 Claude for Desktop 作为客户端
  • 使用 Python 编写,通过 uv 运行
  • 提供两个可用 MCP 工具(由锤子图标指示)

Use cases of 天气 MCP Server

  • 在 Claude for Desktop 中直接查询天气信息
  • 作为 MCP 服务示例,学习 MCP 协议集成
  • 结合 AI 助手实现天气相关对话与决策

Frequently asked questions

1 如何配置 Claude for Desktop 以使用本服务?

打开 ~/Library/Application Support/Claude/claude_desktop_config.json,在 mcpServers 中添加名为 weather 的条目,command 设置为 uv 的绝对路径,args 包含工作目录和 run weather.py。

2 日志文件在哪里?

日志文件夹位于 ~/Library/Logs/Claude,MCP 服务器相关日志文件为 mcp-server-weather.log,通用连接日志为 mcp.log。

3 运行本服务需要什么环境?

需要安装 Python 和 uv(Python 包管理器),并通过 uv run weather.py 启动。

4 如何验证服务是否成功运行?

重启 Claude for Desktop 后,如果界面出现锤子图标并显示两个 Available MCP Tools,则表示连接成功;否则查看日志排查错误。

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬