Skip to main content
Glama

Weather API の紹介

MCP Server x402 License: MIT

現在の天気と7日間の予報 -- 気温、湿度、風、降水量。世界中のどこでもご利用いただけます。x402(Base L2 上の USDC)によるコールごとの支払い -- API キー不要、登録不要、レート制限の壁もありません。

klymax402 マーケットプレイスの一部です -- AI エージェント向けの 100 の x402 マイクロペイメント API、1つのウォレット、Base 上の USDC。

クイックスタート -- MCP

お使いの MCP クライアント設定(Claude Desktop、Cursor、ElizaOS など)に追加してください:

{
  "mcpServers": {
    "weather-api": {
      "url": "https://weather-api.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: US Weather MCP Server

クイックスタート -- HTTP (x402)

curl -X POST "https://weather-api.api.klymax402.com/api/weather" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

x402 対応クライアント(@x402/fetchx402-agent-tools、ATXP)は、402 -> 署名 -> リトライのサイクルを自動的に処理します。

ツール

ツール

メソッド

パス

価格

説明

data_get_weather

POST

/api/weather

$0.003

現在の天気と指定した場所の予報を取得

data_get_weather

現在の天気情報や、任意の場所の 7 日間予報が必要な場合に使用します。天気データを JSON で返します。

パラメータ

名前

必須

説明

latitude

number

いいえ

緯度(-90 から 90)

longitude

number

いいえ

経度(-180 から 180)

city

string

いいえ

都市名(緯度・経度の代替。ジオコーディングを使用)

レスポンス例:

{"location":{"city":"Paris","country":"France","latitude":48.85,"longitude":2.35},"current":{"temperature":18.5,"humidity":62,"windSpeed":12,"precipitation":0,"weatherCode":"partly_cloudy"},"forecast":[{"date":"2026-04-14","tempMin":12,"tempMax":20,"precipitation":0.2}]}

使用する場面: 旅行の計画、屋外イベントの日程調整、農業のモニタリング、物流の計画、天気対応アプリの開発など。

使用しない場面: タイムゾーン情報(utility_convert_timezone を使用)、株価データ(finance_get_stock_price を使用)。

エージェントのプロンプト例

  • 現在の天気、または 7日間の予報を任意の場所で取得する

支払い

  • プロトコル: x402 -- HTTP ネイティブのペイパーコール。登録不要、と同じく API キー不要

  • ネットワーク: Base L2(eip155:8453

  • 資産: USDC

  • ファシリテーター: Coinbase CDP(プライマリ)、PayAI(フォールバック)

  • また、ATXP(OAuth でラップされた x402、RFC 9728 protected-resource metadata)経由でもアクセス可能です。

klymax402 の一部

AI エージェント向け 100 の x402 マイクロペイメント API -- 1つのウォレット、Base 上の USDC、登録は不要です。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • Weather data, forecast API, climate data, historical weather, alerts, agricultural & travel weather.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/weather-api-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server