{"slug": "japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability", "title": "Japan Weekly Weather Forecast API — Free JSON with High/Low Temps and Precipitation Probability", "summary": "A developer released japan-intel-mcp, a free, keyless MCP server that normalizes the Japan Meteorological Agency's deeply nested, Japanese-documented forecast JSON into a flat structure callable from AI agents or plain Python. The server's japan_weekly_forecast tool returns 7-day high/low temperatures, precipitation probabilities and JMA's A/B/C reliability grades, and it is one of eight read-only tools covering earthquakes, weather warnings, typhoons, EDINET corporate filings and postal lookups. It runs over stdio and is listed on the official MCP registry as io.github.atushi1841/japan-intel-mcp.", "body_md": "If you want Japan's weekly weather forecast as JSON, the data is free and authoritative — it comes from the **Japan Meteorological Agency (JMA, 気象庁)**. The problem is the shape: the JMA publishes it as deeply nested JSON with parallel arrays, one file per prefecture (130000 for Tokyo, 270000 for Osaka…), and the field meanings are only documented in Japanese.\n\nThis post shows a free **MCP server** that normalizes it into a flat, predictable structure you can call from an AI agent or plain Python.\n\n`sources` and reports failures in `data_gaps` instead of silently dropping them\nCalling `japan_weekly_forecast(prefecture=\"東京都\")` returns this (real output, trimmed):\n\n```\n{\n  \"retrieved_at\": \"2026-10-12T11:54:22+00:00\",\n  \"sources\": [\"https://www.jma.go.jp/bosai/forecast/data/forecast/130000.json\"],\n  \"data_gaps\": [],\n  \"data\": {\n    \"prefecture\": \"東京都\",\n    \"area_code\": \"130000\",\n    \"blocks\": [\n      {\n        \"time_defines\": [\"2026-10-13T00:00:00+09:00\", \"...\"],\n        \"areas\": [\n          {\"area\": \"東京地方\", \"weathers\": [\"くもり　時々　晴れ\"]}\n        ]\n      },\n      {\n        \"areas\": [{\"area\": \"東京地方\", \"pops\": [\"0\", \"0\", \"0\", \"10\", \"10\"]}]\n      },\n      {\n        \"areas\": [{\"area\": \"東京\", \"temps\": [\"17\", \"25\"]}]\n      },\n      {\n        \"areas\": [\n          {\n            \"area\": \"東京\",\n            \"tempsMin\": [\"\", \"18\", \"18\", \"16\", \"15\", \"16\", \"18\"],\n            \"tempsMax\": [\"\", \"27\", \"23\", \"24\", \"24\", \"24\", \"25\"],\n            \"reliabilities\": [\"\", \"\", \"A\", \"A\", \"A\", \"A\", \"B\"]\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\nThe last block is the one most people want: **7 days of high/low temperatures plus a reliability grade (A/B/C)** so you can tell how much to trust day 6 and 7.\n\nThree things the raw JMA feed makes painful:\n\n`time_defines` do not line up 1:1. You have to join them yourself.`reliabilities` (信頼度) is an A/B/C grade most consumers never notice.\nThe wrapper preserves the block structure (so nothing is lost) but keeps each series keyed by `area`, which is what makes it joinable.\n\nThe server speaks MCP over stdio, so Claude Code, Cursor, or any MCP client can call it directly.\n\n```\n{\n  \"mcpServers\": {\n    \"japan-intel-mcp\": {\n      \"command\": \"japan-intel-mcp\"\n    }\n  }\n}\n```\n\nThen ask your agent something like *\"what's the forecast for Tokyo this week?\"* and it will call:\n\n```\njapan_weekly_forecast(prefecture=\"東京都\")\n```\n\nWeather is one of eight read-only tools in the same server — all free, all keyless:\n\n| Tool | What it returns | Source | \n|---|---|---|\n| `japan_earthquakes` | Recent quakes: epicenter, magnitude, max intensity, depth | JMA | \n| `japan_weather_warnings` | Active warnings/advisories by prefecture | JMA | \n| `japan_weather_overview` | Narrative weather summary | JMA | \n| `japan_weekly_forecast` | 7-day high/low temps, precipitation %, reliability | JMA | \n| `japan_typhoons` | Active typhoon tracking | JMA | \n| `japan_edinet_filings` | Statutory corporate disclosures | EDINET | \n| `japan_postal_lookup` | Postal code → address (kanji and kana) | zipcloud | \n| `japan_watch_summary` | One-call cross-source summary | JMA | \n\n```\npip install -e .\njapan-intel-mcp          # stdio mode\n```\n\nSource and releases: [github.com/atushi1841/japan-intel-mcp](https://github.com/atushi1841/japan-intel-mcp)\n\nAlso on the official MCP registry as `io.github.atushi1841/japan-intel-mcp`.\n\nIf you are building anything that needs current Japanese conditions — logistics, travel, event planning, or just an agent that should know it is typhoon season — this keeps you off scraped HTML.", "url": "https://wpnews.pro/news/japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability", "canonical_source": "https://dev.to/atu_ino_ed473db24d76d234a/japan-weekly-weather-forecast-api-free-json-with-highlow-temps-and-precipitation-probability-53ip", "published_at": "2026-10-12 12:02:38+00:00", "updated_at": "2026-10-12 12:15:09.959658+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "developer-tools", "ai-tools"], "entities": ["Japan Meteorological Agency", "japan-intel-mcp", "EDINET", "zipcloud", "Claude Code", "Cursor", "MCP registry", "atushi1841"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability", "markdown": "https://wpnews.pro/news/japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability.md", "text": "https://wpnews.pro/news/japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability.txt", "jsonld": "https://wpnews.pro/news/japan-weekly-weather-forecast-api-free-json-with-high-low-temps-and-probability.jsonld"}}