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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。