estat-mcp
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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ajtgjmdjp/estat-mcpWhat This Skill Does
The estat-mcp skill is an official integration tool designed for OpenClaw to interact with the e-Stat (政府統計の総合窓口) API, which is the central portal for all Japanese government open data. By utilizing this skill, agents can search through over 3,000 statistical tables encompassing demographic, economic, and social data. The skill bridges the gap between complex raw government data and actionable insights, allowing for automated data retrieval of key indicators like population trends, GDP, Consumer Price Index (CPI), labor market status, and trade statistics. It processes complex table codes into manageable JSON outputs, which can be further analyzed by your AI agent.
Installation
To integrate this skill, use the following installation command in your terminal:
clawhub install openclaw/skills/skills/ajtgjmdjp/estat-mcp
Ensure you have registered for a free API key at the official e-Stat website. Once obtained, export your key as an environment variable in your system: export ESTAT_APP_ID='your_api_key_here'. You may need to install the underlying Python package via pip install estat-mcp or uv tool install estat-mcp if it is not automatically managed by the OpenClaw environment.
Use Cases
- Demographic Analysis: Tracking population growth or decline by specific prefectures over several decades.
- Economic Reporting: Generating monthly reports on CPI (Consumer Price Index) to monitor inflation in Japan.
- Trade & Industry Research: Fetching specific import/export volumes by country and commodity for market entry studies.
- Labor Market Monitoring: Analyzing the Labor Force Survey to extract current unemployment rates and workforce participation demographics.
- Macroeconomic Forecasting: Pulling time-series data for GDP to compare against historical growth patterns.
Example Prompts
- "Search for the latest population data for Tokyo and summarize the trend since 2020."
- "Retrieve the CPI figures for the last 6 months using the estat-mcp tool and plot the general trend."
- "Fetch the latest unemployment statistics from the Labor Force Survey and explain the current labor market situation in Japan."
Tips & Limitations
- API Rate Limits: The e-Stat API enforces a limit of 1 request per second. Excessive querying in short windows may result in rate-limiting errors.
- Code Knowledge: For advanced filtering, familiarize yourself with standard e-Stat table codes (e.g., area codes like 13000 for Tokyo). Use the
searchcommand first to find the relevant Table ID before attempting todatafetch. - Data Accuracy: Always verify table IDs, as some datasets are updated at different frequencies (monthly vs. annually).
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ajtgjmdjp-estat-mcp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
boj-mcp
Access Bank of Japan (BOJ/日本銀行) statistical data — price indices (CGPI, SPPI), flow of funds, balance of payments, BIS statistics, interest rates, money supply, exchange rates. Japan central bank monetary policy data. No API key required.
edinet-mcp
Analyze Japanese public company financial statements (BS/PL/CF/財務諸表) from EDINET (FSA/金融庁) — search by company name or stock code, screen companies, compare periods (xbrl-diff). XBRL data, J-GAAP/IFRS/US-GAAP. Japan securities filings.
jquants-mcp
Access JPX stock market data via J-Quants API — search stocks, get daily OHLCV prices, financial summaries (revenue, profit, EPS, ROE), and earnings calendar for Tokyo Stock Exchange (TSE) listed companies. Japan stock price data.
tdnet-disclosure-mcp
Access TDNET timely disclosures (適時開示) from Tokyo Stock Exchange (JPX/TSE) — earnings reports (決算短信), dividends, buybacks, forecast revisions, governance changes. Search by company, stock code, date. Japan stock market corporate announcements. No API key required.
japanfinance-agent
Compound MCP agent combining 6 Japan finance data sources — EDINET securities filings (有価証券報告書), TDNET timely disclosures (適時開示), e-Stat government statistics (GDP/CPI/雇用), BOJ central bank data (金利/マネーサプライ), financial news, J-Quants stock prices. Company analysis, macro snapshots, earnings monitoring. Japanese financial data aggregator.