如何配置 Claude for Desktop 以使用本服务?
打开 `~/Library/Application Support/Claude/claude_desktop_config.json`,在 `mcpServers` 中添加名为 `weather` 的条目,`command` 设置为 `uv` 的绝对路径,`args` 包含工作目录和 `run weather.py`。
@HZreal
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-weather-server-hzreal": {
"command": "uv",
"args": [
"run",
"weather.py"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
天气 MCP Server 是一个基于 Model Context Protocol 的天气查询服务器,通过 MCP 协议与 AI 客户端(如 Claude for Desktop)集成,提供可调用的天气工具。
使用 uv run weather.py 启动服务。如需通过 Claude for Desktop 使用,则在其配置文件中添加对应的 MCP 服务器条目,指定 uv 命令路径和工作目录,然后重启 Claude。
打开 `~/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,则表示连接成功;否则查看日志排查错误。

Break down any TikTok or Instagram Reels ad and rewrite it for your product, right inside Claude, Cursor, or ChatGPT. Hooks, UGC scripts, and CPM. Free, no API key.

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

Plan, create and schedule social media content from your AI assistant. Blaze makes on-brand posts, carousels and short videos, writes blog posts and newsletters, and schedules them to Instagram, TikTok, YouTube, LinkedIn

Creates and manages quizzes, polls, surveys, personality tests, forms, predictors, minigames and leaderboards on Riddle.com – with branching logic, custom design, live stats and embed code.

Transcribe YouTube videos, podcasts, meetings and media links into speaker-labelled, timestamped transcripts, then search who said what, ask questions answered with timestamped citations, pull chapters and paste-ready ti
评论