Read-only current weather lookup by place name using Open-Meteo.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
一个用于学习 MCP Server 设计、stdio 调试、结构化 Tool 输出、测试、打包与发布流程的 Python 小项目。项目将复现 Datawhale《第十章 智能体通信协议》的天气案例,但以 2026-07-28 MCP 规范和当前官方 Python SDK 为基线,不直接复制教程中的旧封装、数据源或发布叙述。
PYTHONPATH 安装与 stdio 验证;实时任务状态以 docs/project-management/current-task.md 为准。MCPServer 只注册 get_current_weather,并提供输入/输出 Schema、只读 annotations、结构化成功结果和稳定 Tool execution error。feat/f-001-local-weather-tool 合并到 main,原本地和远程功能分支已删除。mcp-weather-query==0.1.0 已通过 GitHub Actions Trusted Publishing 发布到
生产 PyPI;wheel、sdist、公开元数据、
SHA-256 与 attestations 已复核。96 passed, 1 skipped;唯一 skip 是显式 opt-in 的 live contract。此前 live contract 为 1 passed,Inspector 已完成唯一 Tool 的发现、成功和错误路径验证。mcp-weather-query console command;wheel 与 sdist 已分别在项目外独立环境安装,并在无 PYTHONPATH、非源码工作目录下启动同一 stdio Server。Client(mode="auto") 通过生产 stdio 入口完成 server/discover,协商 MCP 2026-07-28,且未执行 Legacy initialize;同一 Server 继续允许 Inspector 2.1.0 以 Legacy MCP 2025-11-25 调试。0.1.0、uv_build、console script、MIT LICENSE 和 Open-Meteo NOTICE 已转绿;Step 3 生成的本地 wheel/sdist 已完成制品审查,Step 4 双干净安装验证通过。get_current_weather,生产 console 的 stdout 仅含 MCP 消息、退出码为 0,确定性离线
调用返回合法 structuredContent。io.github.wcnm8888/mcp1-weather-query==0.1.0 已登记到 Official MCP Registry;
官方 API 返回唯一 active/latest 记录,公开 PyPI 安装后的 installed-package stdio 复验通过。D-001 已在项目外生成并审查本地候选制品。获得已审查的 0.1.0 wheel 后,
可在包含 dist/ 的候选目录运行:
这会通过发行包提供的 console entry point 启动生产 stdio MCP Server,不需要
editable install、项目源码目录或 PYTHONPATH。mcp-weather-query 必须位于当前
PATH;可用 uv tool dir --bin 查看 uv 的工具命令目录。
PyPI 官方项目页已提供 0.1.0,可直接运行固定版本:
本地 wheel 安装完成且 console command 已位于 PATH 后,Host 可使用以下最小配置:
Server 通过 stdin/stdout 交换 MCP 协议消息;普通诊断只写入 stderr。不同 Host 的
配置文件位置和外层字段可能不同,但 command 不应改为源码路径,也不应注入
PYTHONPATH。
mcp-weather-query==0.1.0 已发布;公开可用性、文件和 attestation 以
PyPI 官方项目页 为准。io.github.wcnm8888/mcp1-weather-query==0.1.0 已登记到
Official MCP Registry;官方 API 已复核为唯一
active/latest 条目,且 PyPI package、uvx、stdio、仓库元数据与冻结的 server.json 一致。mcp-name 注释继续作为 PyPI ownership verification marker;它与公开
Registry 身份保持一致,但 Registry 不托管 wheel/sdist,安装来源仍是 PyPI。server.json 执行过一次 publish。发布后已通过官方 API 和全新 PyPI
安装环境复验,并使用官方 mcp-publisher logout 处置本机短期认证文件。首个闭环提供一个只读 MCP Tool:get_current_weather。它接收地点名称和可选国家代码,通过固定天气数据源解析地点并返回带单位、时间、解析后地点和数据来源的结构化当前天气结果。
项目定义、架构、测试、发布和路线状态见 docs/README.md。
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp1-weather-query)<a href="https://allmcps.com/mcp/mcp1-weather-query"><img src="https://allmcps.com/api/badge/mcp1-weather-query?style=directory" alt="MCP1 Weather Query on AllMCPs" /></a>