天气 MCP Server
@HZreal
About 天气 MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-weather-server-hzreal": {
"command": "uv",
"args": [
"run",
"weather.py"
]
}
}
}Tools
No tools detected
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 助手实现天气相关对话与决策
FAQ from 天气 MCP Server
如何配置 Claude for Desktop 以使用本服务?
打开 ~/Library/Application Support/Claude/claude_desktop_config.json,在 mcpServers 中添加名为 weather 的条目,command 设置为 uv 的绝对路径,args 包含工作目录和 run weather.py。
日志文件在哪里?
日志文件夹位于 ~/Library/Logs/Claude,MCP 服务器相关日志文件为 mcp-server-weather.log,通用连接日志为 mcp.log。
运行本服务需要什么环境?
需要安装 Python 和 uv(Python 包管理器),并通过 uv run weather.py 启动。
如何验证服务是否成功运行?
重启 Claude for Desktop 后,如果界面出现锤子图标并显示两个 Available MCP Tools,则表示连接成功;否则查看日志排查错误。
More Media & Design MCP servers
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
Figma MCP Server
TimHoldenModel Context Protocol server implementation for Figma API
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
Comments