如何配置 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,则表示连接成功;否则查看日志排查错误。

Make AI videos, images, voiceovers and full AI Video Story episodes from Claude, ChatGPT, Cursor or any MCP client, then post them to TikTok, YouTube and Instagram. Veo, Kling, Seedance and more, on your own aicut accoun

TrueClicks is PPC audit and monitoring software for agencies and advertisers managing Google Ads, Microsoft Ads, and Meta Ads at scale. This connector gives read-only access to your TrueClicks data, so you can ask questi

Generate images, video, audio and short films with 140+ AI models from any MCP client. PixelDojo picks the right model (Flux, Seedream, Seedance, Veo, Kling, WAN, Nano Banana, GPT Image), renders it and returns download

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

Create greetings and personalized PNG cards for 30 occasions in 15 languages, including Hindi, Greek and Hebrew. Free remote MCP with curated phrases, occasion-matched backgrounds and four styles, including motivational.
コメント