Back to Directory/Developer Tools

io.github.atushi1841/japan-geospatial-open-data-mcp

Japan geospatial MCP: Apify:apify.com/fruitful_quintessence | Gumroad:atushi5.gumroad.com/l/kutuxe

Developer ToolsPythonv1.0.5

japan-geospatial-open-data-mcp

日本全国規模のジオスパティアル・オープンデータを AI エージェントに届ける MCP Server。 GSI 地理院タイル・地理院住所検索・e-Stat 統計 API・国土数値情報(小学校区)・不動産情報ライブラリを 1 つの MCP でまとめて公開する。

Context: FOSS4G Hiroshima 2026 発表「Building an MCP Server Ecosystem on Japan's National-Scale Geospatial Open Data Platform」(Mami Enomoto, MLIT) が示した方向性に追従するエコシステム構築タスク。 Needs: 不動産分析(学区・用途地域)・教育インフラ評価・防災・都市計画。 TOS: GSI/e-Stat/国土数値情報は公式オープンデータ・再利用自由。

Tools (7)

ToolDescriptionKey required
geocode_japan住所 → 緯度経度(GSI 住所検索 API, msearch.gsi.go.jp)No
get_gsi_tile地理院 XYZ タイル(std/pale/blank/aerial/vector)を base64 画像で取得No
list_data_sourcesアクセス可能な全データソース一覧と鍵要件No
get_estat_datae-Stat 統計データ取得(人口・人口動態・世帯 etc.)ESTAT_APP_ID
get_estat_metae-Stat 統計表メタ情報取得ESTAT_APP_ID
list_school_districts全国小学校区 (A27) GML/GeoJSON ファイル一覧(国土数値情報, nlftp.mlit.go.jp)No
get_school_district_geojson小学校区 GIS タイル (XKT004) GeoJSON 取得(不動産情報ライブラリ)REINFOLIB_API_KEY

Environment variables (optional)

No keys → core GSI + school district listing still works out of the box.

Install

git clone https://github.com/atushi1841/japan-geospatial-open-data-mcp
cd japan-geospatial-open-data-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

Claude Desktop config

{
  "mcpServers": {
    "japan-geospatial-open-data": {
      "command": "/path/to/japan-geospatial-open-data-mcp/.venv/bin/python",
      "args": ["/path/to/japan-geospatial-open-data-mcp/src/server.py"],
      "env": {
        "ESTAT_APP_ID": "your-e-stat-app-id",
        "REINFOLIB_API_KEY": "your-reinfolib-key"
      }
    }
  }
}

Example queries

  • 「東京都渋谷区の小学校区はどれか」 → geocode_japan("東京都渋谷区") → list_school_districts
  • 「渋谷区の航空写真 2024 年をズーム 15 で表示」 → get_gsi_tile(layer="nendophoto2024", lat=35.657, lon=139.698, z=15)
  • 「日本の 2020 年人口(年齢別)」 → get_estat_data(table_key="population")
  • 「地価公示ポイントの GeoJSON」 → (future: get_reinfolib_xkt004 系)

Data sources & licensing

SourceURLLicense
GSI tiles & geocoderhttps://maps.gsi.go.jp/GSI tile terms (free, credit required)
e-Stat APIhttps://www.e-stat.go.jp/api/Open statistics (free, key registration)
MLIT Kokuto Suuchi Jhouhouhttps://nlftp.mlit.go.jp/ksj/MLIT open data (free)
MLIT Real Estate Information Libraryhttps://www.reinfolib.mlit.go.jp/MLIT open data (free, application)

Credit requirement: when using GSI tiles, include "Geospatial Information Authority of Japan" in your output.

MCP Registry

Publishing to the official MCP Registry is a follow-up task. The mcp-publisher CLI (GitHub auth, io.github.atushi1841/japan-geospatial-open-data-mcp namespace) is the standard flow.

Roadmap / future tools

  • 用途地域 (zoning) GeoJSON from reinfolib
  • 洪水浸水想定区域 / 土砂災害警戒区域 hazard layers (reinfolib)
  • 地価公示 point API
  • e-Stat 250m mesh population for density analysis
  • 中学校区 (A28) listing
  • Bulk GeoJSON download helper for nlftp files (A27 prefecture-level GML)

Setup from the maintainer

This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.

Package

https://github.com/atushi1841/japan-geospatial-open-data-mcp/releases/download/v1.0.0/japan-geospatial-open-data-mcp.mcpbother

Compatible MCP Clients

io.github.atushi1841/japan-geospatial-open-data-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More