Search and retrieve Japanese government statistics (人口, GDP, CPI, 貿易, 雇用) from e-Stat API — Japan's official open data portal with 3,000+ statistical tables. Population, economy, trade, employment data. Free API.
Search and fetch official statistics from e-Stat (政府統計の総合窓口), Japan's central portal for government open data. Covers population, GDP, CPI, trade, labor, and 3,000+ statistical tables from all ministries.
# Search by keyword (Japanese or English)
estat-mcp search 人口
estat-mcp search "消費者物価指数" --limit 10
estat-mcp search GDP --format json
# Basic data fetch
estat-mcp data 0003410379
# With filters (area=Tokyo, year=2024)
estat-mcp data 0003410379 --cd-area 13000 --cd-time 2024000
# JSON output for programmatic use
estat-mcp data 0003410379 --limit 50 --format json
estat-mcp test
--cd-tab — Table item code (表章事項コード)--cd-time — Time code (時間軸事項コード). Example: 2024000 for 2024--cd-area — Area code (地域事項コード). Example: 13000 for Tokyo--cd-cat01 — Classification code 01 (分類事項01コード)Find table IDs via estat-mcp search:
| Topic | Search keyword | Examples |
|---|---|---|
| Population (人口) | 人口推計 | Total, by age, by prefecture |
| CPI (物価) | 消費者物価指数 | Monthly/annual price indices |
| GDP (国民経済計算) | 国民経済計算 | Nominal/real GDP, expenditure |
| Labor (労働) | 労働力調査 | Unemployment, employment |
| Trade (貿易) | 貿易統計 | Imports/exports by country |
estat-mcp search <keyword> → find statistics table IDestat-mcp data <id> --format json → fetch data with filtersESTAT_APP_ID environment variablepip install estat-mcp or uv tool install estat-mcp