estat-mcp: Japanese Government Statistics (e-Stat) for Openclaw

A powerful tool for searching and retrieving official Japanese government statistics directly from the e-Stat API portal.

ajtgjmdjp
v0.2.2
Feb 16, 2026
0
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install estat-mcp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install estat-mcp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is estat-mcp: Japanese Government Statistics (e-Stat)?

The estat-mcp skill provides a streamlined interface to e-Stat, Japan's central portal for official government open data. It allows developers and analysts to access over 3,000 statistical tables covering critical domains such as demographics, economic indicators, and labor markets. By integrating this capability into Openclaw Skills, users can programmatically query complex datasets without manually navigating the web portal.

This skill bridges the gap between raw government data and actionable insights, supporting both Japanese and English keyword searches. Whether you are tracking the Consumer Price Index (CPI) or analyzing trade statistics, estat-mcp ensures you get precise, formatted data directly in your workspace, making it an essential addition to any data-driven workflow.

estat-mcp: Japanese Government Statistics (e-Stat) Use Cases

  • Look up Japan's population trends and projections by prefecture and year.
  • Monitor economic health using Consumer Price Index (CPI) and GDP data.
  • Analyze international trade statistics by specific commodities or partner countries.
  • Evaluate labor market conditions including unemployment rates and employment counts.
  • Automate the collection of government open data for research or financial modeling.

How estat-mcp: Japanese Government Statistics (e-Stat) Works

  1. Search for specific statistical tables using keywords in either Japanese or English.
  2. Identify the unique table ID from the search results provided by the e-Stat API.
  3. Apply filters such as area codes, time periods (years/months), or category classifications to narrow down the dataset.
  4. Fetch the structured statistical data in JSON or text format for analysis or integration into other tools.
  5. Use the built-in test command to ensure API connectivity and authentication are configured correctly.

estat-mcp: Japanese Government Statistics (e-Stat) Setup

To use this skill within the Openclaw Skills framework, follow these installation steps:

  1. Register for a free API key at the e-Stat API portal.
  2. Set your API key as an environment variable in your shell:
export ESTAT_APP_ID='your_api_key_here'
  1. Install the package using your preferred Python package manager:
uv tool install estat-mcp
# OR
pip install estat-mcp
  1. Verify your installation and API access:
estat-mcp test

estat-mcp: Japanese Government Statistics (e-Stat) Data Schema & Taxonomy

The skill organizes data retrieved from e-Stat into structured outputs. Users can filter data using the following taxonomy:

Parameter Description Examples
--cd-tab Table item code Specific metrics within a table
--cd-time Time/Year code 2024000 (Year 2024)
--cd-area Geographic area code 13000 (Tokyo)
--cd-cat01 Primary classification Sector or category-specific filters

Results are returned as structured JSON when using the --format json flag, allowing for easy parsing by AI agents or data visualization tools.

estat-mcp: Japanese Government Statistics (e-Stat) Advanced Features

  • Bimodal keyword search supporting both Japanese and English queries for international accessibility.
  • Granular filtering using ministry-specific classification codes for precise data extraction.
  • High-performance JSON output mode designed for seamless integration with data pipelines.
  • Direct access to the full catalog of 3,000+ official statistical tables across all Japanese ministries.
  • Rate-limit management to ensure stable data fetching from government servers (1 request per second).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins estat-mcp
Github Stars: 0
forks: 0

Featured*