
Japan Data Mcp
io.github.IzyuusyaPublished by GitHub account Izyuusyav0.1.1Updated Oct 25, 2026
日本の公的データ(統計・法人・不動産)にAIからアクセスするMCPサーバー。e-Stat統計API・法人番号Web-API・不動産情報ライブラリAPIの3API統合。全国約1,700市区町村対応。
Overview
A local MCP server that gives an assistant access to Japanese public data: e-Stat statistics, corporate numbers, invoice registration and real estate prices.
- What you can do
- Search statistics tables and fetch regional data, population figures or a combined regional profile for a named area, with codes converted to readable names and sources cited. Compare several regions side by side in a pivot table and resolve place names to area codes. Search corporations by name or look up details by corporate number. Look up invoice registration numbers by company name and check registration status or validity on a given date. Retrieve real estate transaction prices for an area with a price summary.
- When to use it
- Useful when you need Japanese official statistics, company or invoice registration checks, or property transaction data for regional analysis and comparison, without knowing the underlying statistics table IDs.
- Requirements
- Runs locally as a Python package (uvx, uv or pip). An e-Stat application ID in ESTAT_APP_ID is required or the server will not start. Optional keys: CORP_APP_ID for the corporate number and invoice APIs, REALESTATE_API_KEY for real estate data. All keys are free to obtain; network access to the government APIs is needed.
Installation
In SourceWeft
- Open Japan Data Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
japan-data-mcp
日本の地域分析・比較に特化した MCP(Model Context Protocol)サーバーです。
e-Stat(政府統計の総合窓口)、 国税庁 法人番号公表サイト、 国土交通省 不動産情報ライブラリ、 適格請求書発行事業者公表サイト の API を通じて 日本の公的データにアクセスし、人間が読みやすい形式に自動変換して返します。
[japan-data-mcp デモ: Claude Desktopで「札幌市の人口を教えて」と聞くと、出典付きデータが返る]
特徴
- コード自動変換 — e-Stat が返すコード番号(
13000→東京都)を名称に自動変換 - 全国市区町村対応 — 47 都道府県 + 20 政令指定都市 + 全国約 1,700 市区町村に対応
- 地域比較 — 複数地域のデータをピボットテーブルで並べて比較
- プリセット分析 — 統計表 ID を知らなくても、地域名だけで人口データや地域プロファイルを取得
- 法人検索 — 法人名から企業の法人番号・所在地・種別を検索
- インボイス確認 — 会社名からインボイス登録番号を検索、登録状況・有効性を確認
- 不動産取引価格 — 地域の不動産取引データと価格サマリーを取得
- データ検証 — 全ての出力にデータ出典・検証リンク・取得日時を付与
提供ツール一覧
統計データ(e-Stat API)
法人情報(法人番号 Web-API)
インボイス(適格請求書発行事業者公表 Web-API)
不動産取引(不動産情報ライブラリ API)
セットアップ
1. インストール
2. APIキー設定
対話的セットアップコマンドで簡単に設定できます:
画面の案内に従って API キーを入力すると .env ファイルが自動生成されます。
必要なAPIキー
- e-Stat API は必須 です。未設定の場合サーバーが起動しません。
- 法人番号・不動産 API は任意です。未設定でも他の機能は正常に動作します。
CORP_APP_IDはインボイスAPIでも共用されます(追加キー不要)。- 全て 無料 で取得できます。
手動設定する場合
プロジェクトルートに .env ファイルを作成:
3. サーバー起動
Claude Desktop での設定
claude_desktop_config.json に以下を追加してください。
uv でインストールした場合
pip でインストールした場合
ヒント:
.envファイルに設定済みの場合はenvセクションを省略できます。
使用例
地域の人口データを取得する
複数地域を比較する
法人を検索する
インボイス登録を確認する
不動産取引価格を調べる
地域の総合プロファイルを取得する
人口・経済・労働など複数分野のデータをまとめて取得し、1 つのレポートとして返します。
開発
出典
このプロジェクトは以下の API を利用しています:
- e-Stat(政府統計の総合窓口) — 統計データは CC BY 4.0 で提供
- 国税庁 法人番号公表サイト Web-API — 法人番号・法人情報
- 国税庁 適格請求書発行事業者公表サイト Web-API — インボイス登録情報
- 国土交通省 不動産情報ライブラリ — 不動産取引価格情報
このサービスは各 API 提供元のデータを利用していますが、サービスの内容は各機関によって保証されたものではありません。
ライセンス
MIT License
Source: README.md at commit 5e8a6ec
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts