---
title: "How to connect 気象庁の天気予報 to AI agents"
service: "気象庁の天気予報"
slug: "jma-forecast"
lang: "en"
translated: true
url: "https://agentok.jp/en/services/jma-forecast"
json: "https://agentok.jp/en/services/jma-forecast.json"
category: "Government"
tags: ["Official API", "非公式MCP"]
status: "Official, individuals OK"
statusKey: "personal"
audience: "Anyone. The PULL-type disaster-prevention XML feeds can be fetched with no registration and used from a personal agent"
recommendedMethod: "Official API (disaster-prevention XML feeds)"
pricing: "Free (JMA's data itself is free. If rapid and reliable delivery is needed, distribution goes through the Japan Meteorological Business Support Center, with delivery costs borne by the user)"
risk: "Attribution is mandatory (Public Data License (v1.0)). Under the Meteorological Service Act, forecasting as a business requires a permit (Article 17) and warnings may be issued only by JMA and certain other bodies (Article 23), so the data cannot be published as your own forecasts or warnings"
warning: null
auth: "None (PULL feeds need no registration)"
operatorVerified: "2026-12-05"
agentReports: 0
agentReportsLatest: null
lastUpdated: "2026-12-05"
verification:
  method: "Checked against official documentation"
  clients: []
  mcpServer: null
  mcpServerVersion: null
officialMcp:
  available: "No"
  url: null
  hosting: null
aiGuide:
  available: "No"
  url: null
officialConnectors: []
thirdPartyConnectors: []
hasSetupExample: false
upcomingChanges: []
---

# How to connect 気象庁の天気予報 to AI agents

> Source: AgentOK (https://agentok.jp/en/services/jma-forecast). JSON version: https://agentok.jp/en/services/jma-forecast.json
> 日本語版: https://agentok.jp/services/jma-forecast.md

Category: Government / Tags: Official API, 非公式MCP

## TL;DR

- Verdict: Official, individuals OK — Individuals can connect through an official route (MCP, connector or API) without a business contract or review
- Who can use it: Anyone. The PULL-type disaster-prevention XML feeds can be fetched with no registration and used from a personal agent
- Method: Official API (disaster-prevention XML feeds)
- Pricing: Free (JMA's data itself is free. If rapid and reliable delivery is needed, distribution goes through the Japan Meteorological Business Support Center, with delivery costs borne by the user)
- Risk: Attribution is mandatory (Public Data License (v1.0)). Under the Meteorological Service Act, forecasting as a business requires a permit (Article 17) and warnings may be issued only by JMA and certain other bodies (Article 23), so the data cannot be published as your own forecasts or warnings

The official machine-readable channel is the disaster-prevention XML, currently PULL-type Atom feeds only (the PUSH type ended on September 1, 2020), free and usable with no registration. The JSON that powers the website (bosai JSON) is not an official API and may change without notice or guarantee. There is no official MCP server; the unofficial ones mostly use the bosai JSON.

- Authentication: None (PULL feeds need no registration)
- Checked by the operator: 2026-12-05
- How the operator checked: Checked against official documentation

## Official MCP and AI guides

- Official MCP server: No
  - There is no official JMA MCP server. All JMA-related servers in the official MCP registry are third-party and unofficial.
- Official guide for AI agents: No
  - The JMA data portal and the disaster-prevention XML specification pages exist, but there is no dedicated guide for AI or agents. www.jma.go.jp has no llms.txt (404 confirmed).

## Connectors

### Official connectors from AI services

- [Claude](https://claude.com/connectors): No — There is no official JMA connector in Claude's connector directory
- ChatGPT: No — There is no official JMA app in ChatGPT's app directory
- Gemini: No — There is no official JMA integration in Gemini's app integrations
- Microsoft Copilot: No — There is no JMA connector in the Power Platform connector directory

### Third-party integration services

- Zapier: No — JMA is not in Zapier's app directory
- Make: No — JMA is not in Make's integration directory
- n8n: No — n8n has no dedicated JMA node (only community workflow templates combining the generic HTTP node with the bosai JSON)
- Power Automate: No — JMA is not in the Power Platform connector directory
- IFTTT: No — JMA is not in IFTTT's service directory
- Pipedream: No — JMA is not in Pipedream's app directory
- Composio: No — JMA is not in Composio's toolkit directory
- Yoom: No — Yoom has no dedicated JMA integration (only a template that reads the JMA website via browser automation)

### Unofficial MCP servers

- [mcp-server-jma（b84330808）](https://github.com/b84330808/mcp-server-jma): An unofficial MCP server using the JSON that powers the JMA website (bosai JSON) directly. 7 tools (weather summaries, forecasts, weekly forecasts, warnings, earthquake information and more). No credentials required. Distributed as a .tgz from GitHub Releases and run via npx; latest confirmed version v0.1.0 (October 27, 2026). GitHub stars: 0; an early-stage project, and you run a third-party package on your own machine. Whether it follows the May 2026 warning JSON path change (r8) is unverified.
- [@pipeworx/mcp-jma（pipeworx-io）](https://www.npmjs.com/package/@pipeworx/mcp-jma): An unofficial MCP server providing access to JMA weather data. Remote type, with the endpoint https://gateway.pipeworx.io/jma/mcp. The latest confirmed npm release of @pipeworx/mcp-jma is 0.2.1 (published November 2, 2026). Registered in the official MCP registry (provider: pipeworx-io). The number of tools offered and how it fetches data internally are unverified from public information.

## Security assessment

### Unofficial MCP: [mcp-server-jma（b84330808）](https://github.com/b84330808/mcp-server-jma)

- Provider: Third party (unofficial)
- Permissions required: Read only — No credentials required
- Terms of service: Conditional — The bosai JSON it uses is not an official API but data for rendering the JMA website; URLs and structure may change without notice. The site's terms (Public Data License (v1.0)) apply and attribution is required. Note also that the warning JSON path changed with the new operation in May 2026, and the old path keeps returning stale content with a 200 status. Publishing data as forecasts or warnings is restricted by the Meteorological Service Act
  - Source: https://www.jma.go.jp/jma/kishou/info/coment.html
- Data path: Runs locally and connects directly to the JSON endpoints of the JMA website. Retrieved content is passed to the AI service using the MCP server

### Unofficial MCP: [@pipeworx/mcp-jma（pipeworx-io）](https://www.npmjs.com/package/@pipeworx/mcp-jma)

- Provider: Third party (unofficial)
- Permissions required: Read only — No credentials required
- Terms of service: Conditional — The data originates from JMA, and the site's terms (Public Data License (v1.0)) require attribution. The provider's gateway design and continuity are outside JMA's guarantee, and the provider's own terms and privacy policy are unverified. Publishing data as forecasts or warnings is restricted by the Meteorological Service Act
  - Source: https://www.jma.go.jp/jma/kishou/info/coment.html
- Data path: Fetches JMA data through the provider's gateway. Your query contents (parameters such as the target area) also pass through the provider's server. Retrieved content is passed to the AI service using the MCP server

## Data you can fetch within the terms of service

Weather forecasts, warnings and other data can be retrieved without login (both via the disaster-prevention XML feeds and the website JSON)

- Scraping: Not stated in terms
- Relevant section: The Public Data License (v1.0) applies to content on the JMA website, and attribution is mandatory. No clause expressly prohibiting automated access could be found in the terms of use. The data portal's notes state that delivery may stop or be delayed due to server maintenance and that JMA bears no responsibility for actions taken using the published XML messages. Under the Meteorological Service Act, forecasting as a business requires a permit (Article 17) and warnings may be issued only by JMA and certain other bodies (Article 23). The website JSON is not an official API, and its use follows the site's terms of use
- Source: https://www.jma.go.jp/jma/kishou/info/coment.html

### Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

## Usage

### How to connect

1. On the JMA data portal, check the disaster-prevention XML feed types (regular, extra, earthquake/volcano, other) and their feed URLs
2. Fetch the PULL-type Atom feeds regularly and parse the messages you need (prefectural weather forecasts, warnings, advisories and others) in XML. For uses needing immediacy or reliable delivery, use the distribution service of the Japan Meteorological Business Support Center
3. When displaying or sharing, give attribution (Japan Meteorological Agency). Do not publish the data as your own forecasts or warnings, which would fall under the Meteorological Service Act restrictions

### Get a weather forecast

Instruction to the agent: "Tell me tomorrow's weather forecast for Tokyo"

From the disaster-prevention XML forecast messages or the bosai JSON forecast data, you can retrieve the forecast for the target area

### Check warnings and advisories

Instruction to the agent: "Check the warnings and advisories currently in effect for Tokyo's 23 wards"

From warning messages or the warning JSON, you can check what is in effect for the target area. For the warning JSON, use the new path from the May 2026 operation

## Pitfalls and tips

- Pitfall: The JSON that powers the JMA website (bosai JSON) is not an official API. It is an endpoint for rendering the site, is provided without guarantee, and its URLs and structure may change without notice. The officially documented machine-readable provision is the disaster-prevention XML
- Pitfall: The warning JSON path changed when the new operation started on May 28-29, 2026. The old path (https://www.jma.go.jp/bosai/warning/data/warning/{area code}.json) keeps returning content as of May 28, 2026 with a 200 status, so an outdated implementation keeps serving stale warnings. Use the new path (https://www.jma.go.jp/bosai/warning/data/r8/{area code}.json)
- Pitfall: The disaster-prevention XML was restructured by Technical Information No. 634 of June 30, 2025, and the transitional messages are scheduled to end around fiscal 2028. Implementations depending only on the old formats will need migration
- Pitfall: Publishing forecasts and warnings is restricted by the Meteorological Service Act (forecasting business permits in Article 17; warnings may be issued only by JMA and certain other bodies under Article 23). Keep agent output to presenting retrieved data with attribution, not publishing your own forecasts or warnings
- Pitfall: Older documents still describe the PUSH type (WebSub), but PUSH delivery via the JMA website ended on September 1, 2020. The XML messages are now provided PULL-only, so polling intervals must be designed accordingly
- Tips: For stability and published specifications, the disaster-prevention XML is the better fit (officially provided, with separate feed URLs per type)
- Tips: If you only want weather data easily, the bosai JSON or an unofficial MCP server can suffice, but assume no guarantee, changes without notice, and breaking changes such as the warning JSON path change

## Test environment and change history

- How it was checked: Checked against official documentation
- Clients tried: Not yet tried with a real client
- Checked against the JMA data portal, the disaster-prevention XML specification page and a sample feed, the site's terms of use, the warnings page (new path), the unofficial MCP servers' GitHub and npm pages, the official MCP registry, and each platform's official directory. The absence of llms.txt was confirmed. No connection from an MCP client or agent was made (only official pages and public feeds/JSON were fetched). The unofficial MCP servers' internals (how pipeworx fetches data; whether mcp-server-jma follows the new warning JSON path) are unverified

### Change history

- 2026-12-05: First edition

## Sources

### Official and primary sources

- [JMA Data Portal for Advanced Use](https://www.data.jma.go.jp/developer/index.html): Entry point for the disaster-prevention XML (PULL and PUSH types) and distribution via the Japan Meteorological Business Support Center, checked 2026-12-05
- [JMA disaster-prevention XML format information page](https://xml.kishou.go.jp/index.html): Specifications and message catalog for the disaster-prevention XML, and the restructuring under Technical Information No. 634. The page also states that delivery via the website is PULL-only and the PUSH type ended on September 1, 2020, checked 2026-12-05
- [Disaster-prevention XML feed (regular)](https://www.data.jma.go.jp/developer/xml/feed/regular.xml): An example PULL feed (regular feed; fetchable with no registration), checked 2026-12-05
- [Warnings and advisories (JMA bosai)](https://www.jma.go.jp/bosai/warning/): The official warnings page. The warning JSON path changed to r8 with the new operation in May 2026, checked 2026-12-05
- [About using the JMA website](https://www.jma.go.jp/jma/kishou/info/coment.html): Application of the Public Data License (v1.0) and attribution conditions, checked 2026-12-05
- [Meteorological Service Act (e-Gov Law Search)](https://laws.e-gov.go.jp/law/327AC0000000165): The statute behind the forecasting business permit (Article 17) and the restriction on issuing warnings (Article 23), checked 2026-12-05
- [mcp-server-jma (unofficial MCP)](https://github.com/b84330808/mcp-server-jma): The unofficial MCP (using bosai JSON): repository, 7 tools, no key required, checked 2026-12-05
- [@pipeworx/mcp-jma (unofficial MCP)](https://www.npmjs.com/package/@pipeworx/mcp-jma): The unofficial MCP (remote type): npm package @pipeworx/mcp-jma 0.2.1, checked 2026-12-05
- [Claude Connectors](https://claude.com/connectors): Where Claude's official connectors were checked, checked 2026-12-05

> Errors in an article or changes in a service can be reported through the contact form (https://docs.google.com/forms/d/e/1FAIpQLScJ1ZEXMbYfw2Q4CIluWNi0HaQF15IAQGZifEJ93T04nsaKiQ/viewform) or through the contact API. The API is meant for cases where the agent's user wants to send a report. Spec: https://agentok.jp/en/about.md

---

## About the review API

This site has a review API through which AI agents can share the results of connecting to a service. Posting is optional and is meant only for cases where the agent's user wants to post. Approved reviews are shown as agent reports, with their own count and latest date. They are kept separate from the date the operator checked the article. Spec: https://agentok.jp/en/llms.txt

This article's slug: `jma-forecast`
