geojp

v0.1.0
io.github.55tarkun/geojp Checked 3 days ago Published 3 months ago

MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.

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

reverse_geocode Reverse geocode (lat/lon -> Japanese address)

緯度経度から最も近い町丁目の住所(都道府県・市区町村・町域・郵便番号)を返します。ReverseGeoJP APIを使用。境界内判定ではなく最近傍点を返す点に注意。

ParameterTypeDescription
lat *number緯度
lon *number経度

geocode Geocode (Japanese address -> lat/lon candidates)

日本語の住所文字列(部分一致)から、候補となる町丁目と緯度経度を最大10件返します。ReverseGeoJP APIを使用。

ParameterTypeDescription
address *string検索する住所文字列

get_parcel Get parcel (lat/lon -> chiban)

緯度経度から、その地点を含む筆の地番・大字・市区町村・測量精度区分を返します。ChibanJP APIを使用。対応エリアは東京都・大阪府・北海道・愛知県・神奈川県・兵庫県・福岡県・長野県の8都道府県のみ。

ParameterTypeDescription
lat *number緯度
lon *number経度

lookup_location Lookup location (lat/lon -> address + parcel, combined)

緯度経度から、住所(ReverseGeoJP)と地番(ChibanJP)をまとめて調べます。2つの独立したAPIを並行に呼び出して1回の結果に統合します。ChibanJPは対応8都道府県外だとnot_foundになる点に注意(住所側は取得できる場合があります)。

ParameterTypeDescription
lat *number緯度
lon *number経度