Skip to content
Eden Engine

Japan Weather Forecast by Prefecture Office, Today to Next Week (Japan Meteorological Agency)

jma/forecast

The Japan Meteorological Agency forecast for a prefecture-level forecast office: the short-term forecast (today to the day after tomorrow) by area with the weather text (Japanese) and JMA weather code (first digit: 1 clear, 2 cloudy, 3 rain, 4 snow), wind and wave text, rain probability every 6 hours and, per date, the morning low and daytime high temperature at the representative station; and the weekly forecast with a weather code, rain probability and reliability rating (A to C) per day and the min and max temperature with upper and lower bounds. Give the six-digit office code (130000 Tokyo, 270000 Osaka, 016000 Ishikari-Sorachi-Shiribeshi in Hokkaido; the forecast-offices tool lists all 56; Tokachi and Amami are answered inside 014100 and 460100). Weather, wind and wave text is in Japanese. Source: Japan Meteorological Agency website (https://www.jma.go.jp/), Public Data Licence 1.0; edited by Eden Engine (fields renamed and reduced); not an official JMA product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Japan Meteorological Agency

Source: Japan Meteorological Agency website (https://www.jma.go.jp/), used under the Public Data Licence 1.0 (https://www.digital.go.jp/resources/open_data/public_data_license_v1.0). The data have been edited by Eden Engine: fields renamed, reduced and restructured. Not an official Japan Meteorological Agency product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "jma/forecast" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "jma/forecast" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "jma/forecast", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "jma/forecast", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "officeCode"
  ],
  "properties": {
    "officeCode": {
      "type": "string",
      "pattern": "^(?!014030$|460040$)\\d{6}$",
      "description": "Six-digit JMA forecast office code, for example 130000 (Tokyo), 270000 (Osaka) or 011000 (Soya, Hokkaido). The forecast-offices tool lists them. Tokachi (014030) is answered inside 014100 and Amami (460040) inside 460100, so those two codes are not accepted."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "office",
    "forecasts"
  ],
  "properties": {
    "office": {
      "type": [
        "string",
        "null"
      ],
      "description": "Issuing office, for example 気象庁."
    },
    "forecasts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "kind",
          "series"
        ],
        "properties": {
          "kind": {
            "enum": [
              "short-term",
              "weekly"
            ],
            "type": "string",
            "description": "short-term (today to the day after tomorrow) or weekly."
          },
          "series": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "areas"
              ],
              "properties": {
                "areas": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "areaCode",
                      "areaName"
                    ],
                    "properties": {
                      "daily": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "date"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "description": "Local date (JST), YYYY-MM-DD."
                            },
                            "maxCelsius": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Daytime high, degrees Celsius."
                            },
                            "minCelsius": {
                              "type": [
                                "number",
                                "null"
                              ],
                              "description": "Morning low, degrees Celsius."
                            }
                          },
                          "additionalProperties": false
                        },
                        "description": "Short-term temperature series only: one entry per date, oldest first, with the morning low and daytime high in degrees Celsius (null when the agency gives none)."
                      },
                      "entries": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "time"
                          ],
                          "properties": {
                            "time": {
                              "type": "string",
                              "description": "Start time of the entry, ISO 8601 with +09:00."
                            }
                          }
                        },
                        "description": "One entry per time (every series except the short-term temperatures): time plus weatherCode, weather, wind, wave, precipitationPercent, minCelsius, maxCelsius and the bounds and reliability where the series carries them."
                      },
                      "areaCode": {
                        "type": "string",
                        "description": "JMA area or station code."
                      },
                      "areaName": {
                        "type": "string",
                        "description": "Area or station name (Japanese)."
                      }
                    },
                    "additionalProperties": false
                  },
                  "description": "Forecast areas (or stations for temperatures)."
                }
              },
              "additionalProperties": false
            },
            "description": "One series per time grid; elements of one grid line up by time."
          },
          "reportDatetime": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the block was issued, ISO 8601 with +09:00."
          }
        },
        "additionalProperties": false
      },
      "description": "Two blocks: the short-term forecast then the weekly forecast."
    }
  },
  "additionalProperties": false
}