MCP.Market

Japan Data MCP server

by Izyuusya·io.github.Izyuusya/japan-data-mcp·v0.1.1·11 stars

日本の公的データ(統計・法人・不動産)にAIからアクセスするMCPサーバー。e-Stat統計API・法人番号Web-API・不動産情報ライブラリAPIの3API統合。全国約1,700市区町村対応。

C63/100grade C
What users say
No reviews yet
Be the first
Safety scan
C63/100

full report

Adoption
New

11 stars

Reviews

Write one

Nobody has reviewed Japan Data yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Japan Data tools (11)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • compare_regions

    複数地域の統計データを比較する.

  • get_corporation

    法人番号から企業の詳細情報を取得する.

  • get_meta_info

    統計表のメタ情報(分類コード体系)を取得する.

  • get_population

    地域の人口データを自動取得する(プリセット).

  • get_real_estate_transactions

    不動産取引価格情報を取得する.

  • get_regional_data

    指定した地域の統計データを取得し、整形して返す.

  • get_regional_profile

    地域の総合プロファイルを自動取得する(プリセット).

  • list_available_stats

    利用可能な統計分野の一覧を表示する.

  • resolve_area

    地域名から e-Stat の地域コードを検索する.

  • search_corporations

    法人名で企業を検索する.

  • search_statistics

    キーワードで統計表を検索する.

Public scan report

scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it

no findings
  • Code scan24 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 207 days ago4/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 63/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Japan Data compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
63/100
higher than 18% of 48,255 servers
Tools
11
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
11
more than 88% of 28,688 servers

What its tools let an agent do: 11 read

Install Japan Data in Claude Code, Cursor or VS Code

claude mcp add japan-data-mcp -- uvx japan-data-mcp
Add to Cursor

What the publisher says

From the Japan Data repository's README, as published. We do not edit it. Read it on GitHub

japan-data-mcp

<!-- mcp-name: io.github.Izyuusya/japan-data-mcp -->

日本の地域分析・比較に特化した MCP(Model Context Protocol)サーバーです。

e-Stat(政府統計の総合窓口)、 国税庁 法人番号公表サイト、 国土交通省 不動産情報ライブラリ、 適格請求書発行事業者公表サイト の API を通じて 日本の公的データにアクセスし、人間が読みやすい形式に自動変換して返します。

解説記事: e-Stat APIを100回叩いてわかった、政府データが宝の持ち腐れな件|DATA POPCORN

特徴

  • コード自動変換 — e-Stat が返すコード番号(13000 → 東京都)を名称に自動変換
  • 全国市区町村対応 — 47 都道府県 + 20 政令指定都市 + 全国約 1,700 市区町村に対応
  • 地域比較 — 複数地域のデータをピボットテーブルで並べて比較
  • プリセット分析 — 統計表 ID を知らなくても、地域名だけで人口データや地域プロファイルを取得
  • 法人検索 — 法人名から企業の法人番号・所在地・種別を検索
  • インボイス確認 — 会社名からインボイス登録番号を検索、登録状況・有効性を確認
  • 不動産取引価格 — 地域の不動産取引データと価格サマリーを取得
  • データ検証 — 全ての出力にデータ出典・検証リンク・取得日時を付与

提供ツール一覧

統計データ(e-Stat API)

法人情報(法人番号 Web-API)

インボイス(適格請求書発行事業者公表 Web-API)

不動産取引(不動産情報ライブラリ API)

セットアップ

1. インストール

# uv(推奨)
uv add japan-data-mcp

# pip
pip install japan-data-mcp

# ソースから
git clone https://github.com/Izyuusya/japan-data-mcp.git
cd japan-data-mcp
uv sync

2. APIキー設定

対話的セットアップコマンドで簡単に設定できます:

japan-data-mcp setup

画面の案内に従って API キーを入力すると .env ファイルが自動生成されます。

必要なAPIキー

  • e-Stat API は必須 です。未設定の場合サーバーが起動しません。
  • 法人番号・不動産 API は任意です。未設定でも他の機能は正常に動作します。
  • CORPAPPID はインボイスAPIでも共用されます(追加キー不要)。
  • 全て 無料 で取得できます。

手動設定する場合

プロジェクトルートに .env ファイルを作成:

ESTAT_APP_ID=あなたのアプリケーションID
CORP_APP_ID=あなたのアプリケーションID
REALESTATE_API_KEY=あなたのAPIキー

3. サーバー起動

japan-data-mcp

Claude Desktop での設定

claudedesktopconfig.json に以下を追加してください。

uv でインストールした場合

{
  "mcpServers": {
    "japan-data-mcp": {
      "command": "uv",
      "args": ["run", "japan-data-mcp"],
      "env": {
        "ESTAT_APP_ID": "あなたのアプリケーションID",
        "CORP_APP_ID": "あなたのアプリケーションID(任意)",
        "REALESTATE_API_KEY": "あなたのAPIキー(任意)"
      }
    }
  }
}

pip でインストールした場合

{
  "mcpServers": {
    "japan-data-mcp": {
      "command": "japan-data-mcp",
      "env": {
        "ESTAT_APP_ID": "あなたのアプリケーションID",
        "CORP_APP_ID": "あなたのアプリケーションID(任意)",
        "REALESTATE_API_KEY": "あなたのAPIキー(任意)"
      }
    }
  }
}

ヒント: .env ファイルに設定済みの場合は env セクションを省略できます。

使用例

地域の人口データを取得する

get_population("札幌市")

複数地域を比較する

compare_regions(
    stats_data_id="0003433219",
    areas=["札幌市", "仙台市", "福岡市"]
)

法人を検索する

search_corporations("トヨタ", area="愛知県")

インボイス登録を確認する

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Japan Data: common questions

Is Japan Data MCP server safe?
With care: it is graded C, so read the findings first (63/100). Read the Japan Data safety report
How do I install Japan Data?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Japan Data need an API key?
Yes. The registry entry asks for ESTAT_APP_ID, CORP_APP_ID, REALESTATE_API_KEY.
Is Japan Data maintained?
The last commit was 244 days ago (2026-03-05). The latest release is v0.1.1.
How does Japan Data compare with other MCP servers?
safety score 63/100 (higher than 18% of 48,255 servers); tools 11 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.