How to connect 気象庁の天気予報 to AI agents
checked by the operator
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 serverNo
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 agentsNo
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
Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot
Third-party integration services
Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream, Composio, Yoom
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
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)
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
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Unofficial MCPmcp-server-jma(b84330808)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: relevant section of the terms
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)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: relevant section of the terms
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)
- ScrapingNot stated in terms
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
- 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
- On the JMA data portal, check the disaster-prevention XML feed types (regular, extra, earthquake/volcano, other) and their feed URLs
- 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
- 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
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
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
Pitfalls
- 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
- 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)
- 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
- 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
- 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)
- 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
- First edition
Sources
Official and primary sources
Pages published by the service provider, the integration provider or the MCP author about their own product.
- JMA Data Portal for Advanced UseEntry 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 pageSpecifications 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)An example PULL feed (regular feed; fetchable with no registration), checked 2026.12.05
- Warnings and advisories (JMA bosai)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 websiteApplication of the Public Data License (v1.0) and attribution conditions, checked 2026.12.05
- Meteorological Service Act (e-Gov Law Search)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)The unofficial MCP (using bosai JSON): repository, 7 tools, no key required, checked 2026.12.05
- @pipeworx/mcp-jma (unofficial MCP)The unofficial MCP (remote type): npm package @pipeworx/mcp-jma 0.2.1, checked 2026.12.05
- Claude ConnectorsWhere Claude's official connectors were checked, checked 2026.12.05
