OpenWeather for agents

org.openweathermap由 openweathermap.org 发布官方发布者v0.3.0更新于 Oct 27, 2026

OpenWeather data for AI agents: list feeds, sign up, check balance, get a top-up link, fetch data.

已验证Streamable HTTP可网页运行位置与生活商业与电商

概览

AI 生成的概览

OpenWeather 的远程 MCP 服务器让助手浏览天气数据产品、注册账户、查询余额、获取充值链接并拉取付费天气数据。

可以做什么
  • 列出与查看数据产品:浏览目录中的价格(以 credit 计)、许可与署名信息,并查看产品的路由及所需参数。
  • 创建与查看账户:用邮箱注册,读取套餐、已接受条款、可用产品、credit 余额及近期用量。
  • 充值 credit:创建支付意图并返回托管支付页面,由人工完成付款。
  • 拉取天气数据:按查询参数调用产品路由,每次成功调用计费。
适用场景
适合需要 OpenWeather 实时天气或气候数据时使用:先发现可用数据源,再检查或充值账户,然后按需取数。目录类工具无需密钥,也可仅用于了解平台提供哪些数据。
运行要求
远程 streamable HTTP 端点 mcp.openweathermap.org,无需本地运行时或安装包。需在 Authorization 头中以 Bearer 形式提供数据密钥,或通过 data_key 参数传入;account_status 与 get_topup_link 以参数形式接收账户密钥。付费取数需要账户内有余额。
安装前请注意
sign_up 返回的账户密钥和数据密钥仅显示一次,须妥善保存;账户密钥可控制账户,不能用于取数。fetch_data 每次成功调用按 credit 计费,充值需真实美元支付,最低 10 美元,并由人工在支付服务商页面完成。账户状态与用量数据通过账户密钥暴露。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OpenWeather for agents,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/org.openweathermap%2Fagents/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "openweather-for-agents": {
      "type": "http",
      "url": "https://mcp.openweathermap.org/mcp"
    }
  }
}

工具

6

list_products

List products

Lists every data product the Forum serves, as the platform's own catalogue answer: slug, title, lifecycle state, price in credits per call (1 credit = $0.001; the quoted price is the charged price), licence and attribution text, and the address of the product's route specification. Needs no key and charges nothing. Call get_product next for a product's routes and required parameters.

无需输入参数。

get_product

Get product

Returns one product by slug: its live catalogue entry (price, licence, lifecycle state, the specification address) together with the routes fetch_data can call and the parameters each route requires, taken from the platform's published product record. Needs no key and charges nothing. Use it before fetch_data — the route names come from here; an unknown slug answers with the slugs the catalogue serves.

输入参数product必填

sign_up

Sign up

Creates a Forum account for an email address under the Terms version currently served, and returns the account, its secret — the one string that runs the account, shown exactly once — and its first data key, shown exactly once. It grants the account no credits of its own: a new account's free calls are the daily credit account of each product that gives one, spendable on that product alone and replaced every night, and list_products states which products give one and how much. The result's configure block is the client configuration entry that sends the data key from then on; until the client reconnects, pass data_key.key as data_key on fetch_data. Keep the secret with the owner and pass it as secret on account_status and get_topup_link. An address that already has an account answers 409 email_exists with next_action login_to_link.

输入参数email必填

account_status

Account status

Reads the account behind the secret: tier, accepted Terms version, the products it may call, the balance in credits the account bought minus the spend those credits funded, the last 30 days of usage per day, product and key, and the 50 latest balance movements. A product's own daily credits are spent before that balance and are no part of it, so a call can be served while it reads zero; list_products carries each product's credit account. Pass the secret sign_up returned as the secret argument; the data key your client configuration sends cannot read the account and answers 403 wrong_credential. Charges nothing; without a string the platform answers 401 invalid_key.

输入参数secret

fetch_data

Fetch data

Fetches one data response: GET data.openweathermap.org/{product}/{route} with the query parameters you pass, using the data key from your client configuration's Authorization header or the data_key argument — never the secret, which fetches nothing. A successful call is billed the product's price per call; a refused call costs nothing. The result carries the payload with the platform's meta block (licence and attribution) and the rate-limit headers; the balance is read with account_status, never from a data response. Every refusal is the platform's error envelope unchanged — a code from https://agents.openweathermap.org/errors.json; 402 payment_required means the key is known but cannot pay for this product now, and 401 invalid_key means it is authorized for no product at all, most often because every credit is spent. Both carry an action_url: a human tops up there (get_topup_link returns the page) and the same key serves again within the engine's build interval plus the region's poll interval.

输入参数route必填paramsproduct必填data_key

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。