nankai-trough

v0.2.1
io.github.mrslbt/nankai-trough Checked 2 days ago Published 1 month ago

Nankai Trough earthquake hazard & building-safety, from official Japan data.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nankai_overview Nankai Trough Scale & Reach

Get the headline facts of the official 2025 Nankai Trough estimate (probability, worst-case casualties/loss, intensity-7 reach, tsunami) with sources. Start here to understand the scale; then call official_hazard_maps for a specific address.

ParameterTypeDescription
languagestringOutput language: 'en', 'ja', or 'both' (default).

official_hazard_maps Official Hazard Maps for an Address

Geocode a Japanese address and return links to the OFFICIAL government hazard maps that hold the exact per-address values (predicted intensity, tsunami inundation, your municipal map). This server does not compute those itself; it bridges you to the authoritative source.

ParameterTypeDescription
address *stringJapanese address, or a 7-digit postal code if you cannot type Japanese. e.g. '静岡県静岡市葵区追手町9-6' or '232-0063'.
languagestringOutput language: 'en', 'ja', or 'both' (default).

building_seismic_check Building Seismic-Standard Check

Classify a building's seismic standard (旧耐震 / 新耐震 / 2000 wooden standard) from a build year and structure the USER provides, with risk context. This is NOT a safety verdict; direct the user to a professional 耐震診断 via taishin_subsidy_guide.

ParameterTypeDescription
build_year *integerYear the building's 建築確認 (building confirmation) was issued, roughly its build year.
structure *stringBuilding structure: wood (木造), reinforced_concrete (RC), steel (鉄骨), or other.
languagestringOutput language: 'en', 'ja', or 'both' (default).

taishin_subsidy_guide Seismic Diagnosis & Retrofit Subsidy Guide

Route the user to subsidised/often-free seismic diagnosis (耐震診断) and retrofit (耐震補強) programs via the national directory, and explain the support framework. Amounts vary by municipality, so this routes and explains; it never quotes a figure.

ParameterTypeDescription
languagestringOutput language: 'en', 'ja', or 'both' (default).
locationstringOptional municipality or prefecture to tailor the search hint, e.g. '高知市' or '静岡県'.

shindo_meaning JMA Seismic Intensity (震度) Meaning

Explain what a JMA seismic intensity level (5弱–7) actually means for people and buildings, using the official 気象庁 scale. The Nankai scenario projects up to intensity 7 across 10 prefectures.

ParameterTypeDescription
shindo *stringJMA intensity: '5-' (5弱), '5+' (5強), '6-' (6弱), '6+' (6強), or '7'.
languagestringOutput language: 'en', 'ja', or 'both' (default).

geocode_address Geocode a Japanese Address

Convert a Japanese address to coordinates (lat/lon) and parse the prefecture/municipality, via the official GSI geocoder. Utility used by official_hazard_maps; call it directly when you only need coordinates.

ParameterTypeDescription
address *stringJapanese address, or a 7-digit postal code (e.g. 232-0063) if you cannot type Japanese.

location_probability Official 30-Year Probabilities for a Location

Report the OFFICIAL J-SHIS 30-year probabilities of reaching each JMA intensity at an address's ~250m mesh, severe case first. These are all-source probabilistic figures published by 地震本部, NOT the Nankai Trough scenario, and they are floors rather than ceilings. This server reports these official values; it does not compute its own.

ParameterTypeDescription
address *stringJapanese address, or a 7-digit postal code if you cannot type Japanese. e.g. '東京都港区赤坂9-7-1', '高知市本町5', or '232-0063'.
languagestringOutput language: 'en', 'ja', or 'both' (default).

preparedness_plan Preparedness Plan for a Household

Turn household details into a sourced preparedness plan: stockpile quantities sized to the official one-week guidance, what to do now, what to do when it shakes, and the structural route if a build year is given. Officially recommended minimums, never a verdict on survival.

ParameterTypeDescription
adults *integerNumber of adults in the household.
building_yearintegerYear of 建築確認 (building confirmation), if known.
childrenintegerNumber of children.
elderlyintegerNumber of elderly members, or members needing assistance to evacuate.
floorintegerWhich floor the home is on.
languagestringOutput language: 'en', 'ja', or 'both' (default).
near_coast_or_riverstringNear the coast or a river mouth?
structurestringBuilding structure: wood (木造), reinforced_concrete (RC), steel (鉄骨), other, or unknown.