mcpField
天
天气 MCP Server

天气 MCP Server

Local
github.com/HZrealMedia & Design0Updated 81w ago

About 天气 MCP Server

天气 MCP Server is a weather-focused MCP server documented for use with Claude for Desktop. Its README describes running the server and configuring the client to connect to its tools.

Key features

  1. 01Weather MCP server
  2. 02Run with uv
  3. 03Claude for Desktop configuration
  4. 04Connection log guidance

Use cases

  1. 01Connecting weather tools to Claude for Desktop
  2. 02Checking MCP connection and server logs

MCP support

It exposes weather tools through an MCP server for compatible clients. The README describes configuring Claude for Desktop to connect and inspect available tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

天气 MCP Server

docs: https://modelcontextprotocol.io/quickstart/server

服务运行测试

    uv run weather.py 

使用 Claude for Desktop 作为客户端测试

配置

打开并编辑文件: ~/Library/Application\ Support/Claude/claude_desktop_config.json,内容如下:

    {
    "mcpServers": {
        "weather": {
            "command": "/ABSOLUTE/PATH/TO/uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/mcp-weather-server",
                "run",
                "weather.py"
            ]
        }
    }
}
重启 Claude for Desktop

重启不报错,且有锤子图标显示两个 Available MCP Tools,即为成功;否则,查看日志排查

Claude for Desktop 日志

日志文件夹:~/Library/Logs/Claude

来自具体 MCP Server 的日志:mcp-server-weather.log

MCP 连接通用日志:mcp.log

工作原理

  1. 客户将您的问题发送给 Claude
  2. Claude 分析可用的工具并决定使用哪一个
  3. 客户端通过 MCP 服务器执行所选工具
  4. 结果被发回给 Claude
  5. Claude 制定了自然语言响应
  6. 答案已经展示给你了!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.